Date: Sun, 17 Jul 2005 11:00:35 GMT From: Emanuel Haupt <ehaupt@critical.ch> To: freebsd-ports-bugs@FreeBSD.org Subject: Re: ports/83556: new port: audio/penguinsap - A command line player for playing .sap audio files Message-ID: <200507171100.j6HB0Zo7001739@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/83556; it has been noted by GNATS. From: Emanuel Haupt <ehaupt@critical.ch> To: bug-followup@FreeBSD.org, ehaupt@critical.ch Cc: Subject: Re: ports/83556: new port: audio/penguinsap - A command line player for playing .sap audio files Date: Sun, 17 Jul 2005 12:52:07 +0200 I found a better solution for the ^M problem in the porters handbook. Please apply the following patch: --- Makefile.patch begins here --- --- Makefile.orig Sun Jul 17 12:45:07 2005 +++ Makefile Sun Jul 17 12:46:35 2005 @@ -26,10 +26,8 @@ PLIST_FILES= bin/sap post-patch: -# gcc 2.95.4 does not like CR/LFs - @${FIND} ${WRKSRC} -type f -exec \ - ${REINPLACE_CMD} -E -e 's| -||' {} \; + @${FIND} -E ${WRKDIR} -type f -iregex ".*\.(c|cpp|h|txt)" -print0 | \ + ${XARGS} -0 ${REINPLACE_CMD} -e 's/[[:cntrl:]]*$$//' @${REINPLACE_CMD} -e 's|linux/soundcard\.h|sys/soundcard\.h|' \ ${WRKSRC}/main.cpp --- Makefile.patch ends here ----
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200507171100.j6HB0Zo7001739>