summaryrefslogtreecommitdiff
path: root/meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch
diff options
context:
space:
mode:
authorRichard Purdie <rpurdie@linux.intel.com>2010-10-07 21:38:47 +0100
committerRichard Purdie <rpurdie@linux.intel.com>2010-10-07 21:38:47 +0100
commit519b7c0dd398aaa3e0f3b32fdacbc44759480aac (patch)
tree93b9dce1687b9e4bc47c4a42ba6de881c737ae8b /meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch
parent02445fca7b6d222c94a6bb3efd35d094025ae5fb (diff)
downloadopenembedded-core-519b7c0dd398aaa3e0f3b32fdacbc44759480aac.tar.gz
openembedded-core-519b7c0dd398aaa3e0f3b32fdacbc44759480aac.tar.bz2
openembedded-core-519b7c0dd398aaa3e0f3b32fdacbc44759480aac.tar.xz
openembedded-core-519b7c0dd398aaa3e0f3b32fdacbc44759480aac.zip
pulseaudio: Add back after it was lost in meta-moblin removal (and dependencies)
Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch')
-rw-r--r--meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch b/meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch
new file mode 100644
index 000000000..89a4fbf9f
--- /dev/null
+++ b/meta/recipes-tbd/pulseaudio/libcanberra/nofallbackfix.patch
@@ -0,0 +1,16 @@
+Index: libcanberra-0.10/src/sound-theme-spec.c
+===================================================================
+--- libcanberra-0.10.orig/src/sound-theme-spec.c 2009-05-22 17:08:23.000000000 +0100
++++ libcanberra-0.10/src/sound-theme-spec.c 2009-05-22 17:12:50.000000000 +0100
+@@ -398,9 +398,9 @@
+ if ((ret = load_theme_dir(t, name)) < 0)
+ goto fail;
+
++ /* The fallback theme may intentionally not exist so ignore failure */
+ if (!t->loaded_fallback_theme)
+- if ((ret = load_theme_dir(t, FALLBACK_THEME)) < 0)
+- goto fail;
++ load_theme_dir(t, FALLBACK_THEME);
+
+ if (*_t)
+ ca_theme_data_free(*_t);