diff options
Diffstat (limited to 'meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-omit-debug-directories.patch')
-rw-r--r-- | meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-omit-debug-directories.patch | 24 |
1 files changed, 0 insertions, 24 deletions
diff --git a/meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-omit-debug-directories.patch b/meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-omit-debug-directories.patch deleted file mode 100644 index 9f5d850f50..0000000000 --- a/meta/packages/gstreamer/gstreamer-0.10.17/gstreamer-omit-debug-directories.patch +++ /dev/null | |||
@@ -1,24 +0,0 @@ | |||
1 | Index: gstreamer-0.10.4/gst/gstregistry.c | ||
2 | =================================================================== | ||
3 | RCS file: /cvs/gstreamer/gstreamer/gst/gstregistry.c,v | ||
4 | retrieving revision 1.75 | ||
5 | diff -u -r1.75 gstregistry.c | ||
6 | --- gstreamer-0.10.4/gst/gstregistry.c 31 Jul 2007 11:51:38 -0000 1.75 | ||
7 | +++ gstreamer-0.10.4/gst/gstregistry.c 8 Jan 2008 14:12:40 -0000 | ||
8 | @@ -813,6 +813,16 @@ | ||
9 | GST_LOG_OBJECT (registry, "examining file: %s", filename); | ||
10 | |||
11 | if (g_file_test (filename, G_FILE_TEST_IS_DIR)) { | ||
12 | + /* | ||
13 | + * skip .debug directories, these contain elf files that can crash | ||
14 | + * dlopen | ||
15 | + */ | ||
16 | + if (g_str_equal (dirent, ".debug")) { | ||
17 | + GST_LOG_OBJECT (registry, "found .debug directory, ignoring"); | ||
18 | + g_free (filename); | ||
19 | + continue; | ||
20 | + } | ||
21 | + | ||
22 | if (level > 0) { | ||
23 | GST_LOG_OBJECT (registry, "found directory, recursing"); | ||
24 | changed |= gst_registry_scan_path_level (registry, filename, level - 1); | ||