summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch
diff options
context:
space:
mode:
authorMarcin Juszkiewicz <hrw@openembedded.org>2007-08-19 11:07:12 +0000
committerMarcin Juszkiewicz <hrw@openembedded.org>2007-08-19 11:07:12 +0000
commite365c73d32fc87f49022828ea27b48e66c9dc249 (patch)
tree199123143cf4896bb9b50bf97339d3d466541fb2 /packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch
parente8547a7639806c7031c93323681736f86f3b6adb (diff)
xserver-xorg: apply drmfix.patch to get rid of /usr/include/drm
Diffstat (limited to 'packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch')
-rw-r--r--packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch b/packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch
new file mode 100644
index 0000000000..96924484af
--- /dev/null
+++ b/packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch
@@ -0,0 +1,11 @@
+--- xorg-server-1.3.0.0.orig/hw/xfree86/os-support/linux/Makefile.am
++++ xorg-server-1.3.0.0/hw/xfree86/os-support/linux/Makefile.am
+@@ -38,7 +38,7 @@
+
+ AM_CFLAGS = -DUSESTDRES -DHAVE_SYSV_IPC $(XORG_CFLAGS) $(PLATFORM_DEFINES)
+
+-INCLUDES = $(XORG_INCS) $(PLATFORM_INCLUDES) -I/usr/include/drm # FIXME this last part is crack
++INCLUDES = $(XORG_INCS) $(PLATFORM_INCLUDES) $(LIBDRM_CFLAGS)
+
+ # FIXME: These need to be added to the build
+ LNX_EXTRA_SOURCES = \