summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Dibb <beandog@gentoo.org>2009-03-10 21:18:04 +0000
committerSteve Dibb <beandog@gentoo.org>2009-03-10 21:18:04 +0000
commit596652ba0567f06d7c861bc05563127a61e035f0 (patch)
tree248779eab34073f0e26ccaf57472f03e1aaf9fee /media-sound/sox/files
parentAdded pambase[consolekit] to RDEPEND to get at least the basics ready needed ... (diff)
downloadgentoo-2-596652ba0567f06d7c861bc05563127a61e035f0.tar.gz
gentoo-2-596652ba0567f06d7c861bc05563127a61e035f0.tar.bz2
gentoo-2-596652ba0567f06d7c861bc05563127a61e035f0.zip
Add patch to build with file-5.0, bug 259652
(Portage version: 2.2_rc23/cvs/Linux x86_64)
Diffstat (limited to 'media-sound/sox/files')
-rw-r--r--media-sound/sox/files/sox-14.2.0-file-5.0.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/media-sound/sox/files/sox-14.2.0-file-5.0.patch b/media-sound/sox/files/sox-14.2.0-file-5.0.patch
new file mode 100644
index 000000000000..bc7c251d1e69
--- /dev/null
+++ b/media-sound/sox/files/sox-14.2.0-file-5.0.patch
@@ -0,0 +1,12 @@
+diff -u --recursive --new-file sox-14.2.0/src/mp3.c sox-14.2.0_new/src/mp3.c
+--- sox-14.2.0/src/mp3.c 2008-11-02 21:54:31.000000000 +0100
++++ sox-14.2.0_new/src/mp3.c 2009-02-25 11:48:53.000000000 +0100
+@@ -504,7 +504,7 @@
+
+ SOX_FORMAT_HANDLER(mp3)
+ {
+- static char const * const names[] = {"mp3", "mp2", "audio/mpeg", NULL};
++ static char const * const names[] = {"mp3", "mp2", "audio/mpeg", "audio/mpeg; charset=binary", NULL};
+ static unsigned const write_encodings[] = {
+ SOX_ENCODING_GSM, 0, 0};
+ static sox_format_handler_t const handler = {SOX_LIB_VERSION_CODE,