aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoracm <acm@FreeBSD.org>2007-10-05 00:21:36 +0800
committeracm <acm@FreeBSD.org>2007-10-05 00:21:36 +0800
commitde65f31c9b7f7f0a6a2105d52c5a47076d698e82 (patch)
tree0a22e54dec244c10c272f7d174acd68317db03fa
parenta9cd038f3916530fcc33ca42c944c076a544b8e0 (diff)
downloadfreebsd-ports-gnome-de65f31c9b7f7f0a6a2105d52c5a47076d698e82.tar.gz
freebsd-ports-gnome-de65f31c9b7f7f0a6a2105d52c5a47076d698e82.tar.zst
freebsd-ports-gnome-de65f31c9b7f7f0a6a2105d52c5a47076d698e82.zip
- Fix build with GCC4.x
- Bump POTREVISION PR: 116813 Submitted by: miwi
-rw-r--r--net-im/cli-msn/Makefile8
-rw-r--r--net-im/cli-msn/files/patch-src_tcp_soc.c11
-rw-r--r--net-im/cli-msn/files/pkg-message.in2
3 files changed, 14 insertions, 7 deletions
diff --git a/net-im/cli-msn/Makefile b/net-im/cli-msn/Makefile
index ee88172e206a..02ce0276a167 100644
--- a/net-im/cli-msn/Makefile
+++ b/net-im/cli-msn/Makefile
@@ -40,10 +40,4 @@ post-install:
${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>
diff --git a/net-im/cli-msn/files/patch-src_tcp_soc.c b/net-im/cli-msn/files/patch-src_tcp_soc.c
new file mode 100644
index 000000000000..9b8b3f0b091e
--- /dev/null
+++ b/net-im/cli-msn/files/patch-src_tcp_soc.c
@@ -0,0 +1,11 @@
+--- src/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
diff --git a/net-im/cli-msn/files/pkg-message.in b/net-im/cli-msn/files/pkg-message.in
index 116fc75cca11..02b641b9503d 100644
--- a/net-im/cli-msn/files/pkg-message.in
+++ b/net-im/cli-msn/files/pkg-message.in
@@ -1,5 +1,7 @@
###############################################################################
+The CLI-MSN msn client was installled
+
1) Create ~/.msn directory
# mkdir ~/.msn