ports/116813: [PATCH] net-im/cli-msn: fix build with gcc4.2
Martin Wilke
miwi at FreeBSD.org
Tue Oct 2 09:10:02 UTC 2007
>Number: 116813
>Category: ports
>Synopsis: [PATCH] net-im/cli-msn: fix build with gcc4.2
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Tue Oct 02 09:10:01 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator: Martin Wilke
>Release: FreeBSD 7.0-CURRENT i386
>Organization:
>Environment:
System: FreeBSD miwi.homeunix.com 7.0-CURRENT FreeBSD 7.0-CURRENT #305: Fri Sep 28 12:07:59 CEST 2007
>Description:
Tb:
i386
http://head.miwibox.org/tb/index.php?action=describe_port&id=2151
amd64
http://amd64.miwibox.org/tb/index.php?action=describe_port&id=1591
Thanks to beech@
Added file(s):
- files/patch-tcp_soc.c
Port maintainer (acm at FreeBSD.org) is cc'd.
Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:
--- cli-msn-2.3_1.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/pcvs/ports/net-im/cli-msn/Makefile,v
retrieving revision 1.5
diff -u -u -r1.5 Makefile
--- Makefile 1 Oct 2007 08:56:42 -0000 1.5
+++ Makefile 1 Oct 2007 21:57:25 -0000
@@ -40,10 +40,4 @@
${INSTALL_DATA} ${WRKSRC}/msn.conf ${WRKSRC}/curl-ca-bundle.crt ${DATADIR}
@${CAT} ${PKGMESSAGE}
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} >= 700042
-BROKEN= Does not compile with GCC 4.2
-.endif
-
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
Index: files/patch-tcp_soc.c
===================================================================
RCS file: files/patch-tcp_soc.c
diff -N files/patch-tcp_soc.c
--- /dev/null 1 Jan 1970 00:00:00 -0000
+++ files/patch-tcp_soc.c 1 Oct 2007 21:57:25 -0000
@@ -0,0 +1,12 @@
+diff -uN src.orig/tcp_sock.c src/tcp_sock.c
+--- src.orig/tcp_sock.c 2006-04-19 12:13:21.000000000 -0800
++++ src/tcp_sock.c 2007-10-01 13:31:39.000000000 -0800
+@@ -153,7 +153,6 @@
+ void tcp_sockdcon(int sock_num)
+ {
+ close((int) tcp_sock[sock_num]);
+- (int) tcp_sock[sock_num] = 0;
+ }
+
+ /* Read Data Function (Data IN)*/
+Common subdirectories: src.orig/windows and src/windows
--- cli-msn-2.3_1.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list