summaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-11-23 12:02:47 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-11-23 12:02:47 +0000
commit74b5198a10c557aeb983ffa860831bcf42dc1fed (patch)
tree1d8262b3dca83b1b3e65b8b983ea1f7982934da2 /audio
parent- Force use of a higher GCC version (diff)
- Rename and update actual patch to fix -o output bug.
PR: ports/89421 Submitted by: maintainer
Notes
Notes: svn path=/head/; revision=149172
Diffstat (limited to 'audio')
-rw-r--r--audio/abcde/Makefile1
-rw-r--r--audio/abcde/files/patch-abcde30
-rw-r--r--audio/abcde/files/patch-abcde.conf (renamed from audio/abcde/files/patch-aa)0
3 files changed, 31 insertions, 0 deletions
diff --git a/audio/abcde/Makefile b/audio/abcde/Makefile
index 949eaa40de7a..23e512adffed 100644
--- a/audio/abcde/Makefile
+++ b/audio/abcde/Makefile
@@ -7,6 +7,7 @@
PORTNAME= abcde
PORTVERSION= 2.3.3
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= http://www.hispalinux.es/~data/files/ \
http://www.soulwax.net/freebsd/
diff --git a/audio/abcde/files/patch-abcde b/audio/abcde/files/patch-abcde
new file mode 100644
index 000000000000..d551e86794cd
--- /dev/null
+++ b/audio/abcde/files/patch-abcde
@@ -0,0 +1,30 @@
+--- abcde.old Tue Nov 22 13:12:14 2005
++++ abcde Tue Nov 22 13:12:51 2005
+@@ -2453,17 +2453,18 @@
+
+ # Allow -o OUTPUT(1):OPTIONS(1),...,OUTPUT(N):OPTIONS(N) mode of operation
+ if echo "$OUTPUTTYPE" | grep ":" > /dev/null 2>&1 ; then
+- for OUTPUT in $(echo $OUTPUTTYPE | tr , \ ); do
+- case "$OUTPUT" in
+- vorbis:*|ogg:*) OGGENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- mp3:*) MP3ENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- flac:*) FLACENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- spx:*) SPEEXENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
+- mpc:*) MPPENCODEROPTSCLI="$( echo $OUTPUT | cut -d: -f2- )" ;;
++ for OUTPUT in $(echo $OUTPUTTYPE | tr \ \| | tr , \ ); do
++ TOUTPUT=$(echo $OUTPUT | tr \| \ )
++ case "$TOUTPUT" in
++ vorbis:*|ogg:*) OGGENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ mp3:*) MP3ENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ flac:*) FLACENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ spx:*) SPEEXENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
++ mpc:*) MPPENCODEROPTSCLI="$( echo $TOUTPUT | cut -d: -f2- )" ;;
+ esac
+ done
+- for OUTPUT in $(echo $OUTPUTTYPE | tr , \ ); do
+- TEMPOUTPUT=$( echo "$OUTPUT" | cut -d: -f1 )
++ for OUTPUT in $(echo $OUTPUTTYPE | tr \ \| | tr , \ ); do
++ TEMPOUTPUT=$( echo "$OUTPUT" | tr \| \ | cut -d: -f1 )
+ TEMPOUTPUTTYPE="${TEMPOUTPUTTYPE:+$TEMPOUTPUTTYPE,}$TEMPOUTPUT"
+ done
+ OUTPUTTYPE="$TEMPOUTPUTTYPE"
diff --git a/audio/abcde/files/patch-aa b/audio/abcde/files/patch-abcde.conf
index 99f4eadb8ec1..99f4eadb8ec1 100644
--- a/audio/abcde/files/patch-aa
+++ b/audio/abcde/files/patch-abcde.conf