aboutsummaryrefslogtreecommitdiff
path: root/audio/moodbar/moodbar-0.1.2-glib.patch
diff options
context:
space:
mode:
authorAndrew Psaltis <ampsaltis@gmail.com>2010-05-11 22:53:11 +0200
committerErik Hanson <erik@slackbuilds.org>2010-05-11 22:53:11 +0200
commitbfbd851088804fd73d7c06ff49ae098c03339072 (patch)
tree772a0118042a36cfad6e222eeadb348baaf99ece /audio/moodbar/moodbar-0.1.2-glib.patch
parenta00440277105011ccf9e069032b670a552c3ee00 (diff)
audio/moodbar: Added to 12.1 repository
Diffstat (limited to 'audio/moodbar/moodbar-0.1.2-glib.patch')
-rw-r--r--audio/moodbar/moodbar-0.1.2-glib.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/audio/moodbar/moodbar-0.1.2-glib.patch b/audio/moodbar/moodbar-0.1.2-glib.patch
new file mode 100644
index 0000000000000..53398287d7425
--- /dev/null
+++ b/audio/moodbar/moodbar-0.1.2-glib.patch
@@ -0,0 +1,12 @@
+--- moodbar-0.1.2-old/analyzer/main.c 2007-06-21 18:43:57.000000000 -0400
++++ moodbar-0.1.2/analyzer/main.c 2007-06-21 18:40:46.000000000 -0400
+@@ -262,6 +262,9 @@
+ GOptionContext *ctx;
+ GError *err = NULL;
+
++ /* Must be called before other glib stuff is called */
++ if (!g_thread_supported ()) g_thread_init(NULL);
++
+ ctx = g_option_context_new ("[INFILE] - Run moodbar analyzer");
+ g_option_context_add_group (ctx, gst_init_get_option_group ());
+ g_option_context_add_main_entries (ctx, entries, NULL);