aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorflz <flz@FreeBSD.org>2005-04-12 04:19:40 +0800
committerflz <flz@FreeBSD.org>2005-04-12 04:19:40 +0800
commitc371095fb87293e042d57ae2b1c9c3dc9ba33e25 (patch)
tree5f8c29a14445b8aef95a44562bece84e86c3ccc5 /audio
parent567b47dd348dd67e99ff226ab0e630dbf258e75d (diff)
downloadfreebsd-ports-gnome-c371095fb87293e042d57ae2b1c9c3dc9ba33e25.tar.gz
freebsd-ports-gnome-c371095fb87293e042d57ae2b1c9c3dc9ba33e25.tar.zst
freebsd-ports-gnome-c371095fb87293e042d57ae2b1c9c3dc9ba33e25.zip
- Un-IGNORE by adding local patch.
PR: ports/78936 Submitted by: Reinhard Lenninger <reinhard.lenninger@web.de>
Diffstat (limited to 'audio')
-rw-r--r--audio/streamripper/Makefile3
-rw-r--r--audio/streamripper/files/patch-lib_parse.c20
2 files changed, 21 insertions, 2 deletions
diff --git a/audio/streamripper/Makefile b/audio/streamripper/Makefile
index be0601eb3620..98ab8d7bc008 100644
--- a/audio/streamripper/Makefile
+++ b/audio/streamripper/Makefile
@@ -7,6 +7,7 @@
PORTNAME= streamripper
PORTVERSION= 1.61.3
+PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= streamripper
@@ -17,8 +18,6 @@ COMMENT= Splits SHOUTcast stream into tracks
LIB_DEPENDS= iconv.3:${PORTSDIR}/converters/libiconv \
mad.2:${PORTSDIR}/audio/libmad
-IGNORE= fails to split up streams into tracks
-
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
diff --git a/audio/streamripper/files/patch-lib_parse.c b/audio/streamripper/files/patch-lib_parse.c
new file mode 100644
index 000000000000..00c29023af6a
--- /dev/null
+++ b/audio/streamripper/files/patch-lib_parse.c
@@ -0,0 +1,20 @@
+--- lib/parse.c.orig
++++ lib/parse.c
+@@ -68,14 +68,14 @@
+ PARSERULE_ICASE,
+ 0, 0, 0, 0,
+ 0,
+- "[[:space:]]*-?[[:space:]]*mp3pro$",
++ " *-? *mp3pro$",
+ ""
+ },
+ { PARSERULE_CMD_MATCH,
+ PARSERULE_ICASE,
+ 1, 2, 0, 0,
+- 0,
+- "^[[:space:]]*([^-]*?)[[:space:]]*-[[:space:]]*(.*?)[[:space:]]*$",
++ 0,
++ "^ *([^-]*)? *- *(.*) *$",
+ ""
+ },
+ { 0x00,