summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rwxr-xr-xgnome/sound-juicer/.md5sum1
-rwxr-xr-xgnome/sound-juicer/Pkgfile4
-rw-r--r--gnome/sound-juicer/sound-juicer-gcc-4.5-01.patch11
3 files changed, 15 insertions, 1 deletions
diff --git a/gnome/sound-juicer/.md5sum b/gnome/sound-juicer/.md5sum
index 95dd524a9..21bc8d819 100755
--- a/gnome/sound-juicer/.md5sum
+++ b/gnome/sound-juicer/.md5sum
@@ -1 +1,2 @@
b40da7b2888d0c658fcfdff104ac8bbb sound-juicer-2.28.2.tar.bz2
+1de5dcb603e384c0b0a43ef62d0a0659 sound-juicer-gcc-4.5-01.patch
diff --git a/gnome/sound-juicer/Pkgfile b/gnome/sound-juicer/Pkgfile
index 9ad6fbb27..959982b41 100755
--- a/gnome/sound-juicer/Pkgfile
+++ b/gnome/sound-juicer/Pkgfile
@@ -7,10 +7,12 @@
name=sound-juicer
version=2.28.2
release=1
-source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2)
+source=(http://ftp.gnome.org/pub/gnome/sources/$name/${version%.*}/$name-$version.tar.bz2\
+ sound-juicer-gcc-4.5-01.patch)
build() {
cd $name-$version
+ patch -Np1 -i ../sound-juicer-gcc-4.5-01.patch
./configure --prefix=$GNOME_PREFIX \
--sysconfdir=/etc \
--disable-scrollkeeper \
diff --git a/gnome/sound-juicer/sound-juicer-gcc-4.5-01.patch b/gnome/sound-juicer/sound-juicer-gcc-4.5-01.patch
new file mode 100644
index 000000000..2fbe3e72e
--- /dev/null
+++ b/gnome/sound-juicer/sound-juicer-gcc-4.5-01.patch
@@ -0,0 +1,11 @@
+--- sound-juicer-2.28.2/src/sj-play.c.original 2010-06-29 21:52:58.000000000 +0000
++++ sound-juicer-2.28.2/src/sj-play.c 2010-06-29 21:49:09.000000000 +0000
+@@ -96,7 +96,7 @@
+ * Pause
+ */
+ static void
+-pause (void)
++sj_pause (void)
+ {
+ gst_element_set_state (pipeline, GST_STATE_PAUSED);
+ }