diff options
author | lx <lx@FreeBSD.org> | 2010-02-18 06:19:48 +0800 |
---|---|---|
committer | lx <lx@FreeBSD.org> | 2010-02-18 06:19:48 +0800 |
commit | d333c1001a5d901b464c6fd2d2c57f95f9177c89 (patch) | |
tree | 30f8079c22ec23de4c716cf05145a67e2ef6abfd /audio | |
parent | 2a4448168a9ad8eead15c074a92e2a85eab3cb97 (diff) | |
download | freebsd-ports-gnome-d333c1001a5d901b464c6fd2d2c57f95f9177c89.tar.gz freebsd-ports-gnome-d333c1001a5d901b464c6fd2d2c57f95f9177c89.tar.zst freebsd-ports-gnome-d333c1001a5d901b464c6fd2d2c57f95f9177c89.zip |
Fix crash described at http://chakra-project.org/bbs/viewtopic.php?pid=14917
Submitted by: Ronald Klop
Feature safe: yes
Diffstat (limited to 'audio')
-rw-r--r-- | audio/gstreamer-plugins-moodbar/Makefile | 2 | ||||
-rw-r--r-- | audio/gstreamer-plugins-moodbar/files/patch-main.c | 20 |
2 files changed, 21 insertions, 1 deletions
diff --git a/audio/gstreamer-plugins-moodbar/Makefile b/audio/gstreamer-plugins-moodbar/Makefile index 30ebc496beb2..1065a8d0e24e 100644 --- a/audio/gstreamer-plugins-moodbar/Makefile +++ b/audio/gstreamer-plugins-moodbar/Makefile @@ -7,7 +7,7 @@ PORTNAME= gstreamer-plugins-moodbar PORTVERSION= 0.1.2 -PORTREVISION= 3 +PORTREVISION= 4 CATEGORIES= audio MASTER_SITES= http://pwsp.net/~qbob/ \ http://redundancy.redundancy.org/mirror/ diff --git a/audio/gstreamer-plugins-moodbar/files/patch-main.c b/audio/gstreamer-plugins-moodbar/files/patch-main.c new file mode 100644 index 000000000000..945b9a961348 --- /dev/null +++ b/audio/gstreamer-plugins-moodbar/files/patch-main.c @@ -0,0 +1,20 @@ +diff -crB analyzer/main.c analyzer_patched/main.c +*** analyzer/main.c 2006-10-12 07:43:30.000000000 +0200 +--- analyzer_patched/main.c 2010-02-15 20:24:57.000000000 +0100 +*************** +*** 261,267 **** + }; + GOptionContext *ctx; + GError *err = 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); +--- 261,267 ---- + }; + GOptionContext *ctx; + GError *err = NULL; +! 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); |