aboutsummaryrefslogtreecommitdiffstats
path: root/net/x11vnc
diff options
context:
space:
mode:
authormiwi <miwi@FreeBSD.org>2010-05-02 18:44:06 +0800
committermiwi <miwi@FreeBSD.org>2010-05-02 18:44:06 +0800
commit9f0ad82e973b1f9add70e83bbd0ca9ee53cdec08 (patch)
tree1db1e4245fd5ce88663c1859a16a2587f1c543a5 /net/x11vnc
parentd59d80ca389ade5e48ae7208be032ae8cba178f9 (diff)
downloadfreebsd-ports-gnome-9f0ad82e973b1f9add70e83bbd0ca9ee53cdec08.tar.gz
freebsd-ports-gnome-9f0ad82e973b1f9add70e83bbd0ca9ee53cdec08.tar.zst
freebsd-ports-gnome-9f0ad82e973b1f9add70e83bbd0ca9ee53cdec08.zip
- Fix build after xorg upgrade
Submitted by: fluffy
Diffstat (limited to 'net/x11vnc')
-rw-r--r--net/x11vnc/files/patch-x11vnc__x11vnc.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/net/x11vnc/files/patch-x11vnc__x11vnc.h b/net/x11vnc/files/patch-x11vnc__x11vnc.h
new file mode 100644
index 000000000000..7dd05a21f4a9
--- /dev/null
+++ b/net/x11vnc/files/patch-x11vnc__x11vnc.h
@@ -0,0 +1,13 @@
+--- x11vnc/x11vnc.h.orig 2009-03-16 08:04:58.000000000 +1000
++++ x11vnc/x11vnc.h 2010-04-30 23:48:55.249699749 +1100
+@@ -266,6 +266,10 @@
+ #include <sys/ipc.h>
+ #include <sys/shm.h>
+ #include <X11/extensions/XShm.h>
++#ifndef X_ShmAttach
++#include <X11/Xmd.h>
++#include <X11/extensions/shmproto.h>
++#endif
+ #endif
+ #if LIBVNCSERVER_HAVE_SHMAT
+ #include <sys/ipc.h>