summaryrefslogtreecommitdiff
path: root/packages/xorg-xserver
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
parente8547a7639806c7031c93323681736f86f3b6adb (diff)
xserver-xorg: apply drmfix.patch to get rid of /usr/include/drm
Diffstat (limited to 'packages/xorg-xserver')
-rw-r--r--packages/xorg-xserver/xserver-xorg-1.3.0.0/.mtn2git_empty0
-rw-r--r--packages/xorg-xserver/xserver-xorg-1.3.0.0/drmfix.patch11
-rw-r--r--packages/xorg-xserver/xserver-xorg_1.3.0.0.bb3
3 files changed, 14 insertions, 0 deletions
diff --git a/packages/xorg-xserver/xserver-xorg-1.3.0.0/.mtn2git_empty b/packages/xorg-xserver/xserver-xorg-1.3.0.0/.mtn2git_empty
new file mode 100644
index 0000000000..e69de29bb2
--- /dev/null
+++ b/packages/xorg-xserver/xserver-xorg-1.3.0.0/.mtn2git_empty
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 = \
diff --git a/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb b/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb
index 78fdc01b46..b04ef19038 100644
--- a/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb
+++ b/packages/xorg-xserver/xserver-xorg_1.3.0.0.bb
@@ -2,6 +2,9 @@ MESA_VER = "6.5.2"
require xorg-xserver-common.inc
PE = "1"
+PR = "r1"
+
+SRC_URI += "file://drmfix.patch;patch=1"
EXTRA_OECONF += " ac_cv_file__usr_share_X11_sgml_defs_ent=no "