Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (39f89ab2426df76936861eeeca82ed75f6823874)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Vlad Glagolev <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (39f89ab2426df76936861eeeca82ed75f6823874)
  • Date: Mon, 8 Jun 2009 16:31:27 -0500

GIT changes to master grimoire by Vlad Glagolev <stealth AT sourcemage.org>:

audio-soft/sox/DETAILS | 1 +
audio-soft/sox/HISTORY | 4 ++++
audio-soft/sox/PRE_BUILD | 4 ++++
audio-soft/sox/file-5.0.patch | 11 +++++++++++
4 files changed, 20 insertions(+)

New commits:
commit 39f89ab2426df76936861eeeca82ed75f6823874
Author: Vlad Glagolev <stealth AT sourcemage.org>
Commit: Vlad Glagolev <stealth AT sourcemage.org>

sox: => fixed mp3 mime-type recognition in modern file program

diff --git a/audio-soft/sox/DETAILS b/audio-soft/sox/DETAILS
index 2825a42..46acd8a 100755
--- a/audio-soft/sox/DETAILS
+++ b/audio-soft/sox/DETAILS
@@ -1,5 +1,6 @@
SPELL=sox
VERSION=14.2.0
+ PATCHLEVEL=1

SOURCE_HASH=sha512:4dc92b8697df9d6ff260303eda78fda99805ca15e8ed4e55a1d82834fa5b67ad2178d5df1a9fb41d16fdb48f9758bb11eac290d6b786386ee6a79fdd3c99b4e2
SOURCE=$SPELL-$VERSION.tar.gz
SOURCE_DIRECTORY="$BUILD_DIRECTORY/$SPELL-$VERSION"
diff --git a/audio-soft/sox/HISTORY b/audio-soft/sox/HISTORY
index d79f222..75df2cd 100644
--- a/audio-soft/sox/HISTORY
+++ b/audio-soft/sox/HISTORY
@@ -1,3 +1,7 @@
+2009-06-09 Vlad Glagolev <stealth AT sourcemage.org>
+ * DETAILS: PATCHLEVEL=1
+ * PRE_BUILD, file-5.0.patch: added, to fix mp3 mime-type recognition
+
2008-11-11 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 14.2.0; fixed descs; quoting the paths
* DEPENDS: improved readability; added lots of missing deps
diff --git a/audio-soft/sox/PRE_BUILD b/audio-soft/sox/PRE_BUILD
new file mode 100755
index 0000000..1def27b
--- /dev/null
+++ b/audio-soft/sox/PRE_BUILD
@@ -0,0 +1,4 @@
+default_pre_build &&
+cd "$SOURCE_DIRECTORY" &&
+
+patch -p0 < "$SPELL_DIRECTORY/file-5.0.patch"
diff --git a/audio-soft/sox/file-5.0.patch b/audio-soft/sox/file-5.0.patch
new file mode 100644
index 0000000..7104b5e
--- /dev/null
+++ b/audio-soft/sox/file-5.0.patch
@@ -0,0 +1,11 @@
+--- src/mp3.c.orig 2008-11-02 21:54:31.000000000 +0100
++++ 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,



  • [SM-Commit] GIT changes to master grimoire by Vlad Glagolev (39f89ab2426df76936861eeeca82ed75f6823874), Vlad Glagolev, 06/08/2009

Archive powered by MHonArc 2.6.24.

Top of Page