summaryrefslogtreecommitdiff
path: root/x11/modular-xorg-server/patches/patch-bd
diff options
context:
space:
mode:
Diffstat (limited to 'x11/modular-xorg-server/patches/patch-bd')
-rw-r--r--x11/modular-xorg-server/patches/patch-bd54
1 files changed, 54 insertions, 0 deletions
diff --git a/x11/modular-xorg-server/patches/patch-bd b/x11/modular-xorg-server/patches/patch-bd
new file mode 100644
index 00000000000..0373ab35d4e
--- /dev/null
+++ b/x11/modular-xorg-server/patches/patch-bd
@@ -0,0 +1,54 @@
+$NetBSD: patch-bd,v 1.1 2010/04/09 09:08:13 tnn Exp $
+
+--- hw/xfree86/dixmods/extmod/modinit.h.orig 2009-10-12 02:52:40.000000000 +0000
++++ hw/xfree86/dixmods/extmod/modinit.h
+@@ -8,7 +8,7 @@
+ #endif
+
+ #define _SHAPE_SERVER_ /* don't want Xlib structures */
+-#include <X11/extensions/shapestr.h>
++#include <X11/extensions/shapeproto.h>
+
+ #ifdef MULTIBUFFER
+ extern void MultibufferExtensionInit(INITARGS);
+@@ -19,8 +19,7 @@ extern void MultibufferExtensionInit(INI
+ #ifdef XTEST
+ extern void XTestExtensionInit(INITARGS);
+ #define _XTEST_SERVER_
+-#include <X11/extensions/XTest.h>
+-#include <X11/extensions/xteststr.h>
++#include <X11/extensions/xtestproto.h>
+ #endif
+
+ #if 1
+@@ -35,19 +34,19 @@ extern void ScreenSaverExtensionInit (IN
+ #ifdef XF86VIDMODE
+ extern void XFree86VidModeExtensionInit(INITARGS);
+ #define _XF86VIDMODE_SERVER_
+-#include <X11/extensions/xf86vmstr.h>
++#include <X11/extensions/xf86vmproto.h>
+ #endif
+
+ #ifdef XFreeXDGA
+ extern void XFree86DGAExtensionInit(INITARGS);
+ extern void XFree86DGARegister(INITARGS);
+ #define _XF86DGA_SERVER_
+-#include <X11/extensions/xf86dgastr.h>
++#include <X11/extensions/xf86dgaproto.h>
+ #endif
+
+ #ifdef DPMSExtension
+ extern void DPMSExtensionInit(INITARGS);
+-#include <X11/extensions/dpmsstr.h>
++#include <X11/extensions/dpmsproto.h>
+ #endif
+
+ #ifdef XV
+@@ -66,6 +65,7 @@ extern void ResExtensionInit(INITARGS);
+ #ifdef SHM
+ extern void ShmExtensionInit(INITARGS);
+ #include <X11/extensions/shmstr.h>
++#include <X11/extensions/shmproto.h>
+ extern void ShmRegisterFuncs(
+ ScreenPtr pScreen,
+ ShmFuncsPtr funcs);