summaryrefslogtreecommitdiff
path: root/meta/packages/gstreamer/gstreamer-0.10.16/gstreamer-omit-debug-directories.patch
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2008-01-29 16:26:08 +0000
committerRoss Burton <ross@openedhand.com>2008-01-29 16:26:08 +0000
commitfa66e62881bdef84b49b9eb0979bc345ae226619 (patch)
tree1c85e5727f0575c12fa87c1d37d55b7ac6b5700f /meta/packages/gstreamer/gstreamer-0.10.16/gstreamer-omit-debug-directories.patch
parent740ad709adc56b51b12a83df64afabb18aaf9301 (diff)
downloadopenembedded-core-fa66e62881bdef84b49b9eb0979bc345ae226619.tar.gz
openembedded-core-fa66e62881bdef84b49b9eb0979bc345ae226619.tar.bz2
openembedded-core-fa66e62881bdef84b49b9eb0979bc345ae226619.zip
gstreamer: bump to latest point release
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@3616 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/gstreamer/gstreamer-0.10.16/gstreamer-omit-debug-directories.patch')
-rw-r--r--meta/packages/gstreamer/gstreamer-0.10.16/gstreamer-omit-debug-directories.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/meta/packages/gstreamer/gstreamer-0.10.16/gstreamer-omit-debug-directories.patch b/meta/packages/gstreamer/gstreamer-0.10.16/gstreamer-omit-debug-directories.patch
new file mode 100644
index 0000000000..9f5d850f50
--- /dev/null
+++ b/meta/packages/gstreamer/gstreamer-0.10.16/gstreamer-omit-debug-directories.patch
@@ -0,0 +1,24 @@
+Index: gstreamer-0.10.4/gst/gstregistry.c
+===================================================================
+RCS file: /cvs/gstreamer/gstreamer/gst/gstregistry.c,v
+retrieving revision 1.75
+diff -u -r1.75 gstregistry.c
+--- gstreamer-0.10.4/gst/gstregistry.c 31 Jul 2007 11:51:38 -0000 1.75
++++ gstreamer-0.10.4/gst/gstregistry.c 8 Jan 2008 14:12:40 -0000
+@@ -813,6 +813,16 @@
+ GST_LOG_OBJECT (registry, "examining file: %s", filename);
+
+ if (g_file_test (filename, G_FILE_TEST_IS_DIR)) {
++ /*
++ * skip .debug directories, these contain elf files that can crash
++ * dlopen
++ */
++ if (g_str_equal (dirent, ".debug")) {
++ GST_LOG_OBJECT (registry, "found .debug directory, ignoring");
++ g_free (filename);
++ continue;
++ }
++
+ if (level > 0) {
+ GST_LOG_OBJECT (registry, "found directory, recursing");
+ changed |= gst_registry_scan_path_level (registry, filename, level - 1);