svn commit: r359541 - in head/audio/streamtranscoder: . files
Martin Wilke
miwi at FreeBSD.org
Fri Jun 27 14:26:25 UTC 2014
Author: miwi
Date: Fri Jun 27 14:26:24 2014
New Revision: 359541
URL: http://svnweb.freebsd.org/changeset/ports/359541
QAT: https://qat.redports.org/buildarchive/r359541/
Log:
- Stage support
- Fix build with clang
PR: 190800
Added:
head/audio/streamtranscoder/files/
head/audio/streamtranscoder/files/patch-src-commandline.cpp (contents, props changed)
Modified:
head/audio/streamtranscoder/Makefile
Modified: head/audio/streamtranscoder/Makefile
==============================================================================
--- head/audio/streamtranscoder/Makefile Fri Jun 27 14:25:04 2014 (r359540)
+++ head/audio/streamtranscoder/Makefile Fri Jun 27 14:26:24 2014 (r359541)
@@ -3,7 +3,7 @@
PORTNAME= streamtranscoder
PORTVERSION= 1.2.8
-PORTREVISION= 11
+PORTREVISION= 12
CATEGORIES= audio
MASTER_SITES= http://www.oddsock.org/tools/streamTranscoder/
@@ -16,7 +16,6 @@ LIB_DEPENDS= libogg.so:${PORTSDIR}/audio
libcurl.so:${PORTSDIR}/ftp/curl \
libmp3lame.so:${PORTSDIR}/audio/lame
-NO_STAGE= yes
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
@@ -37,9 +36,7 @@ post-patch:
${WRKSRC}/src/libtranscoder/transcurl.cpp
post-install:
-.if ${PORT_OPTIONS:MDOCS}
- ${MKDIR} ${DOCSDIR}
- ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${DOCSDIR}
-.endif
+ ${MKDIR} ${STAGEDIR}${DOCSDIR}
+ ${INSTALL_DATA} ${PORTDOCS:S,^,${WRKSRC}/,} ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>
Added: head/audio/streamtranscoder/files/patch-src-commandline.cpp
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/audio/streamtranscoder/files/patch-src-commandline.cpp Fri Jun 27 14:26:24 2014 (r359541)
@@ -0,0 +1,11 @@
+--- src/commandline.cpp.orig 2014-06-08 18:46:55.585823061 +0100
++++ src/commandline.cpp 2014-06-08 18:47:13.735820885 +0100
+@@ -221,7 +221,7 @@
+ return 1;
+ }
+
+-main(int argc, char **argv) {
++int main(int argc, char **argv) {
+ int processID = 0;
+ transcode_init(argc, argv);
+ return transcode_main();
More information about the svn-ports-all
mailing list