summaryrefslogtreecommitdiff
path: root/devel/libnet10
diff options
context:
space:
mode:
authorschmonz <schmonz>2009-07-26 20:14:44 +0000
committerschmonz <schmonz>2009-07-26 20:14:44 +0000
commitfae9ee7bc5c275f3eee81e39534c06c18d4c8772 (patch)
tree0091a5789355656678c496a4a211c7ac796b3549 /devel/libnet10
parent05f5384779eccea09d501e8adf4d7c7e536d8096 (diff)
downloadpkgsrc-fae9ee7bc5c275f3eee81e39534c06c18d4c8772.tar.gz
Fix build on OS X (patch from MacPorts).
Diffstat (limited to 'devel/libnet10')
-rw-r--r--devel/libnet10/distinfo3
-rw-r--r--devel/libnet10/patches/patch-ae13
2 files changed, 15 insertions, 1 deletions
diff --git a/devel/libnet10/distinfo b/devel/libnet10/distinfo
index 67e863058d7..7fdb1c37bdf 100644
--- a/devel/libnet10/distinfo
+++ b/devel/libnet10/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2007/03/02 09:26:10 adrianp Exp $
+$NetBSD: distinfo,v 1.3 2009/07/26 20:14:44 schmonz Exp $
SHA1 (libnet-1.0.2a.tar.gz) = 804eaf43bb90f93e505d46a9668c914a112bf136
RMD160 (libnet-1.0.2a.tar.gz) = 43dd2edc31e56b42792727b88d81342dc26d3308
@@ -7,3 +7,4 @@ SHA1 (patch-aa) = fa71db191c421aa1b36d1107236645fdde0bc8f9
SHA1 (patch-ab) = 56a2cb8b214529fdaacdbc6154ec2fc88edfa1c8
SHA1 (patch-ac) = 8a329e6f71fea449d6f7bf913c34627285452b66
SHA1 (patch-ad) = 44256848f62919540893913469d88f5a7177d742
+SHA1 (patch-ae) = 12777de08a91b76d1b0194b39551215bab74222f
diff --git a/devel/libnet10/patches/patch-ae b/devel/libnet10/patches/patch-ae
new file mode 100644
index 00000000000..ff6ed4f2670
--- /dev/null
+++ b/devel/libnet10/patches/patch-ae
@@ -0,0 +1,13 @@
+$NetBSD: patch-ae,v 1.1 2009/07/26 20:14:44 schmonz Exp $
+
+--- include/libnet/libnet-headers.h.orig 2000-12-13 15:38:40.000000000 -0500
++++ include/libnet/libnet-headers.h
+@@ -509,7 +509,7 @@ struct tcpoption
+ };
+
+
+-#if (__linux__)
++#if (__linux__) || defined(__APPLE__)
+ /*
+ * Linux has a radically different IP options structure from BSD.
+ */