summaryrefslogtreecommitdiff
path: root/x11/xmx/patches/patch-eg
diff options
context:
space:
mode:
Diffstat (limited to 'x11/xmx/patches/patch-eg')
-rw-r--r--x11/xmx/patches/patch-eg15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11/xmx/patches/patch-eg b/x11/xmx/patches/patch-eg
new file mode 100644
index 00000000000..d5c5c8a550e
--- /dev/null
+++ b/x11/xmx/patches/patch-eg
@@ -0,0 +1,15 @@
+$NetBSD: patch-eg,v 1.1 2010/07/11 23:51:16 dholland Exp $
+
+Fix build with recent xextproto, where the shape extension prototypes
+appear to have been moved to their own header file.
+
+--- server/shape.c~ 1997-09-27 21:10:13.000000000 +0000
++++ server/shape.c
+@@ -33,6 +33,7 @@
+ #include <X11/Xutil.h>
+ #include <X11/Xproto.h>
+ #include <X11/extensions/shape.h>
++#include <X11/extensions/shapeproto.h>
+ #include "xmx.h"
+ #include "ptc.h"
+ #include "incl/shape.pvt.h"