summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch
blob: 96924484af275c847fe23b4f7de0ddb0cf20b3d6 (plain)
1
2
3
4
5
6
7
8
9
10
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 = \