summaryrefslogtreecommitdiff
path: root/meta-emenlow/recipes/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.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/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch
parentc90c0ceca50fee19e683c19468110fba51da6cfe (diff)
downloadopenembedded-core-01518ada4b0ca1571f4b4d21c884b02e9371da62.tar.gz
openembedded-core-01518ada4b0ca1571f4b4d21c884b02e9371da62.tar.bz2
openembedded-core-01518ada4b0ca1571f4b4d21c884b02e9371da62.tar.xz
openembedded-core-01518ada4b0ca1571f4b4d21c884b02e9371da62.zip
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/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch')
-rw-r--r--meta-emenlow/recipes/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch21
1 files changed, 21 insertions, 0 deletions
diff --git a/meta-emenlow/recipes/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch b/meta-emenlow/recipes/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch
new file mode 100644
index 000000000..de873d601
--- /dev/null
+++ b/meta-emenlow/recipes/libva/libva-0.31.0/105_dont_search_LIBGL_DRIVERS_PATH.patch
@@ -0,0 +1,21 @@
+commit 035374378644216fb3a7d3974a8c46b1bd425918
+Author: Gwenole Beauchesne <gbeauchesne@splitted-desktop.com>
+Date: Tue Sep 22 13:03:23 2009 +0000
+
+ Don't search LIBGL_DRIVERS_PATH, stick to LIBVA_DRIVERS_PATH only or the default path.
+
+diff --git a/src/va.c b/src/va.c
+index 12662cd..723235e 100644
+--- a/src/va.c
++++ b/src/va.c
+@@ -134,10 +134,6 @@ static VAStatus va_openDriver(VADisplay dpy, char *driver_name)
+ {
+ /* don't allow setuid apps to use LIBVA_DRIVERS_PATH */
+ search_path = getenv("LIBVA_DRIVERS_PATH");
+- if (!search_path)
+- {
+- search_path = getenv("LIBGL_DRIVERS_PATH");
+- }
+ }
+ if (!search_path)
+ {