mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-28 05:29:48 +00:00
- Rename and update actual patch to fix -o output bug.
PR: ports/89421 Submitted by: maintainer
This commit is contained in:
parent
6db26ba974
commit
74b5198a10
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=149172
@ -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/
|
||||
|
30
audio/abcde/files/patch-abcde
Normal file
30
audio/abcde/files/patch-abcde
Normal file
@ -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"
|
Loading…
Reference in New Issue
Block a user