FreeBSD Bugzilla – Attachment 79919 Details for
Bug 114736
Update port: audio/streamripper to 1.62.1
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 7.19 KB, created by
tkato432
on 2007-07-19 19:10:02 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
tkato432
Created:
2007-07-19 19:10:02 UTC
Size:
7.19 KB
patch
obsolete
>diff -urN /usr/ports/audio/streamripper/Makefile audio/streamripper/Makefile >--- /usr/ports/audio/streamripper/Makefile Sat Jun 30 14:01:14 2007 >+++ audio/streamripper/Makefile Thu Jul 19 23:54:16 2007 >@@ -6,35 +6,53 @@ > # > > PORTNAME= streamripper >-PORTVERSION= 1.61.27 >+PORTVERSION= 1.62.1 > CATEGORIES= audio >-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} >-MASTER_SITE_SUBDIR= streamripper >+MASTER_SITES= SF > > MAINTAINER= ports@FreeBSD.org > COMMENT= Splits SHOUTcast stream into tracks > >-LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad >+LIB_DEPENDS= mad.2:${PORTSDIR}/audio/libmad \ >+ tre.6:${PORTSDIR}/textproc/libtre > >+OPTIONS= FAAD "Include FAAD mpeg4 codec support" on \ >+ VORBIS "Include Ogg Vorbis codec support" on >+ >+USE_GNOME= gnometarget > USE_ICONV= yes >+GNU_CONFIGURE= yes >+CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ >+ LDFLAGS="-L${LOCALBASE}/lib" >+CONFIGURE_ARGS= --without-included-libmad \ >+ --without-included-tre \ >+ --with-included-argv >+CFLAGS+= -DANSI_PROTOTYPES -DHAVE_LANGINFO_CODESET > >-OPTIONS= VORBIS "Include Ogg Vorbis codec support" on >+MAN1= streamripper.1 >+PLIST_FILES= bin/cstreamripper bin/streamripper > > .include <bsd.port.pre.mk> > >-.ifdef(WITH_VORBIS) >-LIB_DEPENDS+= ogg.5:${PORTSDIR}/audio/libogg \ >- vorbis.3:${PORTSDIR}/audio/libvorbis >+.if defined(WITHOUT_FAAD) >+CONFIGURE_ARGS+= ac_cv_lib_faad_NeAACDecDecode2=no >+.else >+LIB_DEPENDS+= faad.0:${PORTSDIR}/audio/faad > .endif > >-GNU_CONFIGURE= yes >-CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ >- LDFLAGS="-L${LOCALBASE}/lib" >- >-PLIST_FILES= bin/streamripper >-MAN1= streamripper.1 >+.if defined(WITHOUT_VORBIS) >+CONFIGURE_ARGS+= --without-ogg >+.else >+LIB_DEPENDS+= vorbis.3:${PORTSDIR}/audio/libvorbis >+.endif > >-pre-install: >- @${CHMOD} +x ${WRKSRC}/install-sh >+post-patch: >+ @${REINPLACE_CMD} -e '/if test/s|==|=|g ; \ >+ s|-lpthread|${PTHREAD_LIBS}|g' ${WRKSRC}/configure >+ >+do-install: >+ ${INSTALL_PROGRAM} ${WRKSRC}/cstreamripper ${PREFIX}/bin >+ ${INSTALL_PROGRAM} ${WRKSRC}/streamripper ${PREFIX}/bin >+ ${INSTALL_MAN} ${WRKSRC}/streamripper.1 ${MANPREFIX}/man/man1 > > .include <bsd.port.post.mk> >diff -urN /usr/ports/audio/streamripper/distinfo audio/streamripper/distinfo >--- /usr/ports/audio/streamripper/distinfo Thu Jan 25 06:18:06 2007 >+++ audio/streamripper/distinfo Thu Jul 19 22:48:01 2007 >@@ -1,3 +1,3 @@ >-MD5 (streamripper-1.61.27.tar.gz) = d92a37bf23ee3f1bd5a9498d72c0562a >-SHA256 (streamripper-1.61.27.tar.gz) = d53fc5d3fb49bbb2332a4d26c5a63a0679009d6bf6b4b0e4e5078a9cdc183111 >-SIZE (streamripper-1.61.27.tar.gz) = 1227559 >+MD5 (streamripper-1.62.1.tar.gz) = c8c84b8acf84f3d431bf7b6303acc63b >+SHA256 (streamripper-1.62.1.tar.gz) = 03890195689f72d93426d674c84d3baf2ddee39cb3e09d09811ca5b08c2b21a3 >+SIZE (streamripper-1.62.1.tar.gz) = 1244851 >diff -urN /usr/ports/audio/streamripper/files/patch-Makefile.in audio/streamripper/files/patch-Makefile.in >--- /usr/ports/audio/streamripper/files/patch-Makefile.in Sat Jan 7 15:16:51 2006 >+++ audio/streamripper/files/patch-Makefile.in Thu Jul 19 23:44:29 2007 >@@ -1,50 +1,20 @@ >---- Makefile.in.orig Sun Nov 6 22:33:28 2005 >-+++ Makefile.in Sun Nov 6 22:33:28 2005 >-@@ -25,10 +25,10 @@ >- top_builddir = . >- am__cd = CDPATH="$${ZSH_VERSION+.}$(PATH_SEPARATOR)" && cd >- INSTALL = @INSTALL@ >--install_sh_DATA = $(install_sh) -c -m 644 >--install_sh_PROGRAM = $(install_sh) -c >--install_sh_SCRIPT = $(install_sh) -c >--INSTALL_HEADER = $(INSTALL_DATA) >-+install_sh_DATA = $(BSD_INSTALL_DATA) >-+install_sh_PROGRAM = $(BSD_INSTALL_PROGRAM) >-+install_sh_SCRIPT = $(BSD_INSTALL_SCRIPT) >-+INSTALL_HEADER = $(BSD_INSTALL_DATA) >- transform = $(program_transform_name) >- NORMAL_INSTALL = : >- PRE_INSTALL = : >-@@ -57,7 +57,7 @@ >- $(ACLOCAL_M4) >- am__CONFIG_DISTCLEAN_FILES = config.status config.cache config.log \ >- configure.lineno configure.status.lineno >--mkinstalldirs = $(install_sh) -d >-+mkinstalldirs = $(INSTALL) -d >- CONFIG_HEADER = $(top_builddir)/lib/config.h >- CONFIG_CLEAN_FILES = >+--- Makefile.in.orig Sun May 27 04:26:06 2007 >++++ Makefile.in Thu Jul 19 23:40:43 2007 >+@@ -64,7 +64,7 @@ > am__installdirs = "$(DESTDIR)$(bindir)" "$(DESTDIR)$(man1dir)" >-@@ -140,7 +140,7 @@ >- INSTALL_DATA = @INSTALL_DATA@ >- INSTALL_PROGRAM = @INSTALL_PROGRAM@ >- INSTALL_SCRIPT = @INSTALL_SCRIPT@ >--INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@ >-+INSTALL_STRIP_PROGRAM = @INSTALL_PROGRAM@ >- LDFLAGS = @LDFLAGS@ >- LIBCHARSET = @LIBCHARSET@ >- LIBIBERTY_LIBS = @LIBIBERTY_LIBS@ >-@@ -201,12 +201,12 @@ >- host_vendor = @host_vendor@ >- includedir = @includedir@ >- infodir = @infodir@ >--install_sh = @install_sh@ >-+install_sh = @INSTALL@ >- libdir = @libdir@ >- libexecdir = @libexecdir@ >- localstatedir = @localstatedir@ >- mandir = @mandir@ >--mkdir_p = @mkdir_p@ >-+mkdir_p = @INSTALL@ -d >- oldincludedir = @oldincludedir@ >- prefix = @prefix@ >- program_transform_name = @program_transform_name@ >+ binPROGRAMS_INSTALL = $(INSTALL_PROGRAM) >+ PROGRAMS = $(bin_PROGRAMS) >+-am_cstreamripper_OBJECTS = cstreamripper.$(OBJEXT) >++am_cstreamripper_OBJECTS = cstreamripper.$(OBJEXT) $(am__objects_1) >+ cstreamripper_OBJECTS = $(am_cstreamripper_OBJECTS) >+ cstreamripper_DEPENDENCIES = lib/libstreamripper.a >+ am_ictest_OBJECTS = ictest.$(OBJEXT) >+@@ -227,7 +227,7 @@ >+ >+ streamripper_SOURCES = console/streamripper.c $(am__append_2) >+ cstreamripper_SOURCES = \ >+- console/cstreamripper.c >++ console/cstreamripper.c $(am__append_2) >+ >+ libmad_manifest = \ >+ libmad-0.15.1b/README \ >diff -urN /usr/ports/audio/streamripper/files/patch-lib_parse.c audio/streamripper/files/patch-lib_parse.c >--- /usr/ports/audio/streamripper/files/patch-lib_parse.c Mon Feb 13 21:12:30 2006 >+++ audio/streamripper/files/patch-lib_parse.c Thu Jan 1 09:00:00 1970 >@@ -1,20 +0,0 @@ >---- lib/parse.c.orig Sun Sep 11 12:45:28 2005 >-+++ lib/parse.c Sun Sep 11 12:45:28 2005 >-@@ -70,14 +70,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:]]*(.*)[[:space:]]*$", >-+ 0, >-+ "^ *([^-]*[^- ]) *- *(.*) *$", >- "" >- }, >- { 0x00, >diff -urN /usr/ports/audio/streamripper/files/patch-lib_util.c audio/streamripper/files/patch-lib_util.c >--- /usr/ports/audio/streamripper/files/patch-lib_util.c Thu Jan 5 09:10:47 2006 >+++ audio/streamripper/files/patch-lib_util.c Thu Jan 1 09:00:00 1970 >@@ -1,33 +0,0 @@ >-Argh, FreeBSD 4.X has a wctype.h header that does nothing. >- >---- lib/util.c.orig Sun Sep 11 12:46:20 2005 >-+++ lib/util.c Sun Sep 11 12:46:20 2005 >-@@ -28,9 +28,7 @@ >- #if defined HAVE_WCHAR_H >- #include <wchar.h> >- #endif >--#if defined HAVE_WCTYPE_H >--#include <wctype.h> >--#endif >-+#include <ctype.h> >- #endif >- #include <locale.h> >- #include <time.h> >-@@ -450,7 +448,7 @@ >- >- /* Replace illegals to legal */ >- for (wstrp = w_in; *wstrp; wstrp++) { >-- if ((wcschr(w_invalid, *wstrp) == NULL) && (!iswcntrl(*wstrp))) >-+ if ((wcschr(w_invalid, *wstrp) == NULL) && (!iscntrl(*wstrp))) >- continue; >- *wstrp = replacement; >- } >-@@ -525,7 +523,7 @@ >- >- /* Replace illegals to legal */ >- for (wstrp = w_in; *wstrp; wstrp++) { >-- if ((wcschr(w_invalid, *wstrp) == NULL) && (!iswcntrl(*wstrp))) >-+ if ((wcschr(w_invalid, *wstrp) == NULL) && (!iscntrl(*wstrp))) >- continue; >- *wstrp = replacement; >- }
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 114736
: 79919