summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNirbheek Chauhan <nirbheek@gentoo.org>2010-09-26 22:09:40 +0000
committerNirbheek Chauhan <nirbheek@gentoo.org>2010-09-26 22:09:40 +0000
commitf6b3c4917d7885abcb7fc8f38735374006b8771d (patch)
treeafb721b9a9d11feeb09b89ff8b278c8ba1fdffac /media-sound/sound-juicer/files
parentVersion bump (diff)
downloadhistorical-f6b3c4917d7885abcb7fc8f38735374006b8771d.tar.gz
historical-f6b3c4917d7885abcb7fc8f38735374006b8771d.tar.bz2
historical-f6b3c4917d7885abcb7fc8f38735374006b8771d.zip
Fix build failure due to namespace collision of pause() with unistd.h
Package-Manager: portage-2.1.9.10/cvs/Linux x86_64
Diffstat (limited to 'media-sound/sound-juicer/files')
-rw-r--r--media-sound/sound-juicer/files/sound-juicer-2.28.2-fix-pause-conflict.patch20
1 files changed, 20 insertions, 0 deletions
diff --git a/media-sound/sound-juicer/files/sound-juicer-2.28.2-fix-pause-conflict.patch b/media-sound/sound-juicer/files/sound-juicer-2.28.2-fix-pause-conflict.patch
new file mode 100644
index 000000000000..56438871eb30
--- /dev/null
+++ b/media-sound/sound-juicer/files/sound-juicer-2.28.2-fix-pause-conflict.patch
@@ -0,0 +1,20 @@
+--- src/sj-play.c
++++ src/sj-play.c
+@@ -96,7 +96,7 @@
+ * Pause
+ */
+ static void
+-pause (void)
++do_pause (void)
+ {
+ gst_element_set_state (pipeline, GST_STATE_PAUSED);
+ }
+@@ -440,7 +440,7 @@
+ GError *err = NULL;
+
+ if (is_playing ()) {
+- pause ();
++ do_pause ();
+ gtk_list_store_set (track_store, &current_iter,
+ COLUMN_STATE, STATE_PAUSED, -1);
+ } else if (pipeline && GST_STATE (pipeline) == GST_STATE_PAUSED &&