aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorarved <arved@FreeBSD.org>2003-10-13 20:53:58 +0800
committerarved <arved@FreeBSD.org>2003-10-13 20:53:58 +0800
commite785f39fae0c01d1098d1f87edd04299d8a2c376 (patch)
treec75a18d8120afefcfe4ac08421ae1aa983b08047
parent7709e8690c7f09047d86d9caadd1aa1001ddd07d (diff)
downloadfreebsd-ports-gnome-e785f39fae0c01d1098d1f87edd04299d8a2c376.tar.gz
freebsd-ports-gnome-e785f39fae0c01d1098d1f87edd04299d8a2c376.tar.zst
freebsd-ports-gnome-e785f39fae0c01d1098d1f87edd04299d8a2c376.zip
Fix build on 5.x
Reported by: bento
-rw-r--r--net/libsocket++/files/patch-local.h11
1 files changed, 11 insertions, 0 deletions
diff --git a/net/libsocket++/files/patch-local.h b/net/libsocket++/files/patch-local.h
new file mode 100644
index 000000000000..6961b3a69c1c
--- /dev/null
+++ b/net/libsocket++/files/patch-local.h
@@ -0,0 +1,11 @@
+--- socket++/local.h.orig Mon Oct 13 14:36:26 2003
++++ socket++/local.h Mon Oct 13 14:37:03 2003
+@@ -89,7 +89,7 @@
+ // arpa/in.h does not provide a protype for the following
+ extern "C" char* inet_ntoa (in_addr ina);
+
+-#if !defined (__linux__)
++#if !(defined (__linux__) || defined(__FreeBSD__))
+ extern "C" int gethostname (char* hostname, int len);
+ #if !(defined(__FreeBSD__) || defined(__NetBSD__) || defined(__OpenBSD__) || defined(__bsdi__) || defined(__APPLE__))
+ extern char* SYS_SIGLIST [];