aboutsummaryrefslogtreecommitdiff
path: root/x11-servers/xorg-server/files/patch-xf86drmCompat.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-servers/xorg-server/files/patch-xf86drmCompat.c')
-rw-r--r--x11-servers/xorg-server/files/patch-xf86drmCompat.c28
1 files changed, 28 insertions, 0 deletions
diff --git a/x11-servers/xorg-server/files/patch-xf86drmCompat.c b/x11-servers/xorg-server/files/patch-xf86drmCompat.c
new file mode 100644
index 000000000000..98d4c84a0a03
--- /dev/null
+++ b/x11-servers/xorg-server/files/patch-xf86drmCompat.c
@@ -0,0 +1,28 @@
+--- programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c.orig Sun Aug 22 17:35:50 2004
++++ programs/Xserver/hw/xfree86/os-support/linux/drm/xf86drmCompat.c Sun Aug 22 17:36:11 2004
+@@ -77,8 +77,8 @@
+ #include "mga_drm.h"
+ #include "r128_drm.h"
+ #include "radeon_drm.h"
+-#ifndef __FreeBSD__
+ #include "sis_drm.h"
++#ifndef __FreeBSD__
+ #include "i810_drm.h"
+ #include "i830_drm.h"
+ #endif
+@@ -1012,7 +1012,6 @@
+ }
+ }
+
+-#ifndef __FreeBSD__
+ /* SiS */
+
+ Bool drmSiSAgpInit(int driSubFD, int offset, int size)
+@@ -1026,6 +1025,7 @@
+ return 1; /* TRUE */
+ }
+
++#ifndef __FreeBSD__
+ /* I830 */
+
+ Bool drmI830CleanupDma(int driSubFD)