summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-05-12 11:33:43 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-05-12 11:33:43 +0000
commit243291cd6b3eecd1c66fc1e3c93e3d771cfabd74 (patch)
tree82d71266e08494e606248be243929ea9dfcd02da /media-sound/ogg2mp3/files
parentFix SRC_URI wrt #250223, thanks to Thomas Beierlein. (diff)
downloadgentoo-2-243291cd6b3eecd1c66fc1e3c93e3d771cfabd74.tar.gz
gentoo-2-243291cd6b3eecd1c66fc1e3c93e3d771cfabd74.tar.bz2
gentoo-2-243291cd6b3eecd1c66fc1e3c93e3d771cfabd74.zip
Patch to prevent endian swapping by Boris Petersen wrt #238855.
(Portage version: 2.1.6.13/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/ogg2mp3/files')
-rw-r--r--media-sound/ogg2mp3/files/ogg2mp3-0.5-prevent_endian_swapping.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/ogg2mp3/files/ogg2mp3-0.5-prevent_endian_swapping.patch b/media-sound/ogg2mp3/files/ogg2mp3-0.5-prevent_endian_swapping.patch
new file mode 100644
index 000000000000..024b1b1734eb
--- /dev/null
+++ b/media-sound/ogg2mp3/files/ogg2mp3-0.5-prevent_endian_swapping.patch
@@ -0,0 +1,12 @@
+diff -ur ogg2mp3-0.5.orig/ogg2mp3 ogg2mp3-0.5/ogg2mp3
+--- ogg2mp3-0.5.orig/ogg2mp3 2005-05-16 21:07:33.000000000 +0300
++++ ogg2mp3-0.5/ogg2mp3 2009-05-12 14:30:00.000000000 +0300
+@@ -311,7 +311,7 @@
+ # this took me some time to figure
+ # note that byte order is swapped by lame via -x option
+ # TODO: somebody please tell me how to supress the "Assuming bla bla" output without devnull
+- $result = system("$OGG123 $decquiet -d raw -f - $oggfile_escaped | $MP3ENC $encquiet -r -x -q $quality -b $bitrate -s $frequency -m $channels $infostring - $mp3outputfile_escaped");
++ $result = system("$OGG123 $decquiet -d raw -f - $oggfile_escaped | $MP3ENC $encquiet -r -q $quality -b $bitrate -s $frequency -m $channels $infostring - $mp3outputfile_escaped");
+
+ # TODO: find some widely used mp3 checker
+ # disabled the checking due to lack of checker