1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-03 06:04:53 +00:00

- Unbreak build with lang/gcc46

PR:		163346
Submitted by:	Jan Beich <jbeich@tormail.net>
This commit is contained in:
Martin Wilke 2011-12-26 23:34:51 +00:00
parent 7ee4cdd7a5
commit a7fea62898
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=288086
2 changed files with 35 additions and 3 deletions
audio/spiralsynthmodular

View File

@ -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'

View File

@ -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