svn commit: r360846 - head/net/libnet/files
John Marino
marino at FreeBSD.org
Sat Jul 5 23:35:36 UTC 2014
Author: marino
Date: Sat Jul 5 23:35:36 2014
New Revision: 360846
URL: http://svnweb.freebsd.org/changeset/ports/360846
QAT: https://qat.redports.org/buildarchive/r360846/
Log:
net/libnet: Fix build on DragonFly (dports)
Modified:
head/net/libnet/files/patch-libnet.h.in
Modified: head/net/libnet/files/patch-libnet.h.in
==============================================================================
--- head/net/libnet/files/patch-libnet.h.in Sat Jul 5 23:35:03 2014 (r360845)
+++ head/net/libnet/files/patch-libnet.h.in Sat Jul 5 23:35:36 2014 (r360846)
@@ -1,10 +1,10 @@
--- include/libnet.h.in.orig 2012-03-06 01:45:46.000000000 +0100
-+++ include/libnet.h.in 2012-04-18 20:37:06.000000000 +0200
++++ include/libnet.h.in
@@ -81,6 +81,9 @@
#if !defined(__WIN32__)
# include <sys/socket.h>
# include <net/if.h>
-+# if (__FreeBSD__)
++# if defined (__FreeBSD__) || defined (__DragonFly__)
+# include <netinet/in.h>
+# endif
#else /* __WIN32__ */
More information about the svn-ports-all
mailing list