FreeBSD Bugzilla – Attachment 120541 Details for
Bug 163346
[patch] audio/spiralsynthmodular: unbreak build with clang/gcc46
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
gcc46.diff
gcc46.diff (text/plain), 1.76 KB, created by
Jan Beich
on 2011-12-16 21:40:09 UTC
(
hide
)
Description:
gcc46.diff
Filename:
MIME Type:
Creator:
Jan Beich
Created:
2011-12-16 21:40:09 UTC
Size:
1.76 KB
patch
obsolete
>Index: audio/spiralsynthmodular/Makefile >=================================================================== >RCS file: /a/.csup/ports/audio/spiralsynthmodular/Makefile,v >retrieving revision 1.23 >diff -u -p -r1.23 Makefile >--- audio/spiralsynthmodular/Makefile 15 Nov 2011 14:53:26 -0000 1.23 >+++ audio/spiralsynthmodular/Makefile 16 Dec 2011 21:03:46 -0000 >@@ -79,9 +79,9 @@ post-patch: > @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -E -e \ > 's|-ldl||; \ > s|-lrt||; \ >- s|^CC[[:space:]]*=.+$$|CC=${CC}|; \ >- s|^CXX[[:space:]]*=.+$$|CXX=${CXX}|; \ >- s|g\+\+|${CXX}|; \ >+ s|g\+\+|$$(CXX)|; \ >+ /^CC[[:space:]]*=.+$$/d; \ >+ /^CXX[[:space:]]*=.+$$/d; \ > s,@FLTK_(C|CXX)FLAGS@,-I${LOCALBASE}/include,; \ > s|-lpthread|${PTHREAD_LIBS}|g' > >Index: audio/spiralsynthmodular/files/patch-gcc46 >=================================================================== >RCS file: audio/spiralsynthmodular/files/patch-gcc46 >diff -N audio/spiralsynthmodular/files/patch-gcc46 >--- /dev/null 1 Jan 1970 00:00:00 -0000 >+++ audio/spiralsynthmodular/files/patch-gcc46 16 Dec 2011 21:09:12 -0000 >@@ -0,0 +1,32 @@ >+--- SpiralSound/ChannelHandler.C~ >++++ SpiralSound/ChannelHandler.C >+@@ -19,6 +19,9 @@ >+ #include "ChannelHandler.h" >+ #include <unistd.h> >+ >++#include <cstdlib> >++#include <cstring> >++ >+ using namespace std; >+ >+ //#define CHANNEL_DEBUG >+--- SpiralSound/Plugins/LADSPAPlugin/LADSPAInfo.C~ >++++ SpiralSound/Plugins/LADSPAPlugin/LADSPAInfo.C >+@@ -30,6 +30,7 @@ >+ #include <stdio.h> >+ >+ #include <cstdlib> >++#include <cstring> >+ #include <sys/types.h> >+ #include <sys/stat.h> >+ #include <dirent.h> >+--- SpiralSound/Sample.h~ >++++ SpiralSound/Sample.h >+@@ -23,6 +23,7 @@ >+ >+ #include <assert.h> >+ #include <limits.h> >++#include <cstring> >+ #include <iostream> >+ >+ //#define DEBUG
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 163346
: 120541