Modified: trunk/dports/net/radvd/Portfile (93957 => 93958)
--- trunk/dports/net/radvd/Portfile 2012-06-05 09:27:53 UTC (rev 93957)
+++ trunk/dports/net/radvd/Portfile 2012-06-05 09:35:17 UTC (rev 93958)
@@ -22,6 +22,10 @@
checksums rmd160 01e0b8ddcd21d724fe6ed658c22e8c1bce830f18 \
sha256 bf040b452f03542a56904ffcfc96aa9257581ad380818ac22065f0cfde7fc2e9
+if {${os.platform} == "darwin" && ${os.major} >= 11} {
+ patchfiles-append rfc3542.patch
+}
+
configure.args --with-logfile=${prefix}/var/log/radvd.log \
--with-pidfile=${prefix}/var/run/radvd.pid
Added: trunk/dports/net/radvd/files/rfc3542.patch (0 => 93958)
--- trunk/dports/net/radvd/files/rfc3542.patch (rev 0)
+++ trunk/dports/net/radvd/files/rfc3542.patch 2012-06-05 09:35:17 UTC (rev 93958)
@@ -0,0 +1,10 @@
+--- includes.h.orig 2011-10-06 21:52:20.000000000 +1100
++++ includes.h 2012-06-05 19:29:30.000000000 +1000
+@@ -27,6 +27,7 @@
+ #include <unistd.h>
+ #include <errno.h>
+ #include <signal.h>
++#define __APPLE_USE_RFC_3542
+ #include <netdb.h>
+ #include <pwd.h>
+ #include <grp.h>