aboutsummaryrefslogtreecommitdiff
path: root/x11/libxcb/files
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2006-11-05 15:49:16 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2006-11-05 15:49:16 +0000
commit6d2e101be7cee576e7e1aaa3176eb4d6a7c97d38 (patch)
tree6e1bdc3803125caaff3d3f6111402d63ed9abed3 /x11/libxcb/files
parentd24c30270a3685e579a9da14a4cbd5bbf5f6a8c1 (diff)
- Fix building on 4.x.
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=176507
Diffstat (limited to 'x11/libxcb/files')
-rw-r--r--x11/libxcb/files/extra-patch-src__xcb.h11
-rw-r--r--x11/libxcb/files/extra-patch-src__xcb_auth.c10
2 files changed, 21 insertions, 0 deletions
diff --git a/x11/libxcb/files/extra-patch-src__xcb.h b/x11/libxcb/files/extra-patch-src__xcb.h
new file mode 100644
index 000000000000..bfaacdee86e6
--- /dev/null
+++ b/x11/libxcb/files/extra-patch-src__xcb.h
@@ -0,0 +1,11 @@
+--- ./src/xcb.h.orig Sat Oct 7 22:31:54 2006
++++ ./src/xcb.h Sun Nov 5 12:22:13 2006
+@@ -29,7 +29,7 @@
+ #define __XCB_H__
+ #include <sys/types.h>
+
+-#if defined(__solaris__)
++#if defined(__solaris__) || __FreeBSD__ < 5
+ #include <inttypes.h>
+ #else
+ #include <stdint.h>
diff --git a/x11/libxcb/files/extra-patch-src__xcb_auth.c b/x11/libxcb/files/extra-patch-src__xcb_auth.c
new file mode 100644
index 000000000000..053b4ec8a8c1
--- /dev/null
+++ b/x11/libxcb/files/extra-patch-src__xcb_auth.c
@@ -0,0 +1,10 @@
+--- ./src/xcb_auth.c.orig Sat Oct 7 18:43:12 2006
++++ ./src/xcb_auth.c Sun Nov 5 03:44:33 2006
+@@ -27,6 +27,7 @@
+
+ #include <assert.h>
+ #include <X11/Xauth.h>
++#include <sys/types.h>
+ #include <sys/socket.h>
+ #include <netinet/in.h>
+ #include <sys/un.h>