From 856af3fa63cb970fd0ebecc307702e50cb5c2f35 Mon Sep 17 00:00:00 2001 From: Richard Purdie Date: Fri, 22 May 2009 17:32:17 +0100 Subject: libcanberra: Add patch to fix failures when the fallback theme is missing Signed-off-by: Richard Purdie --- .../packages/pulseaudio/libcanberra/nofallbackfix.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 meta-moblin/packages/pulseaudio/libcanberra/nofallbackfix.patch (limited to 'meta-moblin/packages') diff --git a/meta-moblin/packages/pulseaudio/libcanberra/nofallbackfix.patch b/meta-moblin/packages/pulseaudio/libcanberra/nofallbackfix.patch new file mode 100644 index 000000000..89a4fbf9f --- /dev/null +++ b/meta-moblin/packages/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); -- cgit v1.2.3