aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorbdrewery <bdrewery@FreeBSD.org>2014-02-09 05:10:00 +0800
committerbdrewery <bdrewery@FreeBSD.org>2014-02-09 05:10:00 +0800
commit7cf8780313c1ca595e84d4dc00876a884980cfe4 (patch)
treeba92b89d6a6981b3018967e2f3dcbfd67a70580c
parentfbadb9909bfe8487ee834afe12f95610ab67c1e9 (diff)
downloadfreebsd-ports-gnome-7cf8780313c1ca595e84d4dc00876a884980cfe4.tar.gz
freebsd-ports-gnome-7cf8780313c1ca595e84d4dc00876a884980cfe4.tar.zst
freebsd-ports-gnome-7cf8780313c1ca595e84d4dc00876a884980cfe4.zip
Fix build on 8.3 due to tcp.h not properly
including sys/types.h in it yet.
-rw-r--r--devel/valgrind-devel/files/patch-include__vki__vki-freebsd.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/devel/valgrind-devel/files/patch-include__vki__vki-freebsd.h b/devel/valgrind-devel/files/patch-include__vki__vki-freebsd.h
new file mode 100644
index 000000000000..47d6ba229de7
--- /dev/null
+++ b/devel/valgrind-devel/files/patch-include__vki__vki-freebsd.h
@@ -0,0 +1,10 @@
+--- ./include/vki/vki-freebsd.h.orig 2014-02-08 15:00:31.591069799 -0600
++++ ./include/vki/vki-freebsd.h 2014-02-08 15:00:39.993068845 -0600
+@@ -681,6 +681,7 @@
+
+ #define VKI_SOCK_STREAM 1
+
++#include <sys/types.h>
+ #include <netinet/tcp.h>
+
+ #define VKI_TCP_NODELAY TCP_NODELAY