pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libnet10 Fix build on OS X (patch from MacPorts).



details:   https://anonhg.NetBSD.org/pkgsrc/rev/345f24cee16a
branches:  trunk
changeset: 396529:345f24cee16a
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Sun Jul 26 20:14:44 2009 +0000

description:
Fix build on OS X (patch from MacPorts).

diffstat:

 devel/libnet10/distinfo         |   3 ++-
 devel/libnet10/patches/patch-ae |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r 947a672b45c8 -r 345f24cee16a devel/libnet10/distinfo
--- a/devel/libnet10/distinfo   Sun Jul 26 20:13:31 2009 +0000
+++ b/devel/libnet10/distinfo   Sun Jul 26 20:14:44 2009 +0000
@@ -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-ab) = 56a2cb8b214529fdaacdbc6154ec2fc88edfa1c8
 SHA1 (patch-ac) = 8a329e6f71fea449d6f7bf913c34627285452b66
 SHA1 (patch-ad) = 44256848f62919540893913469d88f5a7177d742
+SHA1 (patch-ae) = 12777de08a91b76d1b0194b39551215bab74222f
diff -r 947a672b45c8 -r 345f24cee16a devel/libnet10/patches/patch-ae
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libnet10/patches/patch-ae   Sun Jul 26 20:14:44 2009 +0000
@@ -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.
+  */



Home | Main Index | Thread Index | Old Index