summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Thoumie <flz@FreeBSD.org>2005-04-11 20:19:40 +0000
committerFlorent Thoumie <flz@FreeBSD.org>2005-04-11 20:19:40 +0000
commit41d327e1344fd8eca84a0823ac009aa7e31fe61f (patch)
tree7e3181df97196b0982fd4df5799e9771700c6caa
parentPEAR::XML_Beautifier will add indentation and linebreaks to you XML files, (diff)
- Un-IGNORE by adding local patch.
PR: ports/78936 Submitted by: Reinhard Lenninger <reinhard.lenninger@web.de>
Notes
Notes: svn path=/head/; revision=133074
-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,