aboutsummaryrefslogtreecommitdiffstats
path: root/meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-11-02 10:08:00 +0000
committerRichard Purdie <rpurdie@linux.intel.com>2010-11-02 10:08:00 +0000
commit01518ada4b0ca1571f4b4d21c884b02e9371da62 (patch)
tree25235b628ee04807ada4ef3ada76d4b534a8bb1a /meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch
parentc90c0ceca50fee19e683c19468110fba51da6cfe (diff)
downloadopenembedded-core-contrib-01518ada4b0ca1571f4b4d21c884b02e9371da62.tar.gz
meta-emenlow: Rename packages to recipes in line with main repository
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch')
-rw-r--r--meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch26
1 files changed, 26 insertions, 0 deletions
diff --git a/meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch b/meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch
new file mode 100644
index 0000000000..b604cab7c2
--- /dev/null
+++ b/meta-emenlow/recipes/xorg-xserver/files/libdrm-poulsbo.patch
@@ -0,0 +1,26 @@
+# Make the server depend on libdrm-poulsbo instead of libdrm so that the
+# emenlow libdrm can coexist with the normal libdrm.
+# jdike@linux.intel.com
+
+Index: xorg-server-1.7.99.2/configure.ac
+===================================================================
+--- xorg-server-1.7.99.2.orig/configure.ac
++++ xorg-server-1.7.99.2/configure.ac
+@@ -763,7 +763,7 @@ dnl List of libraries that require a spe
+ LIBAPPLEWM="applewm >= 1.4"
+ LIBDMX="dmx >= 1.0.99.1"
+ LIBDRI="dri >= 7.1.0"
+-LIBDRM="libdrm >= 2.3.0"
++LIBDRM="libdrm_poulsbo >= 2.3.0"
+ LIBGL="gl >= 7.1.0"
+ LIBXEXT="xext >= 1.0.99.4"
+ LIBXI="xi >= 1.2.99.1"
+@@ -2002,7 +2002,7 @@ if test "$KDRIVE" = yes; then
+ XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS xv"
+ fi
+ if test "x$DRI" = xyes && test "x$GLX" = xyes; then
+- XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS $LIBGL libdrm"
++ XEPHYR_REQUIRED_LIBS="$XEPHYR_REQUIRED_LIBS $LIBGL libdrm_poulsbo"
+ fi
+
+ PKG_CHECK_MODULES(XEPHYR, $XEPHYR_REQUIRED_LIBS, [xephyr="yes"], [xephyr="no"])