aboutsummaryrefslogtreecommitdiffstats
path: root/audio/cmt/files
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-06-17 02:17:24 +0800
committerijliao <ijliao@FreeBSD.org>2002-06-17 02:17:24 +0800
commitdec33e0c592f4a7a19169b39ab0afd808e67c298 (patch)
tree9d10e5f06c8b146c9b2c7e191ae88c11e97ea995 /audio/cmt/files
parent37627d09a56ebadcff708bfd47a7487280ed2185 (diff)
downloadfreebsd-ports-gnome-dec33e0c592f4a7a19169b39ab0afd808e67c298.tar.gz
freebsd-ports-gnome-dec33e0c592f4a7a19169b39ab0afd808e67c298.tar.zst
freebsd-ports-gnome-dec33e0c592f4a7a19169b39ab0afd808e67c298.zip
fix patch
use REINPLACE_CMD bump PORTREVISION PR: 39313 Submitted by: maintainer
Diffstat (limited to 'audio/cmt/files')
-rw-r--r--audio/cmt/files/patch-cmt.cpp15
-rw-r--r--audio/cmt/files/patch-makefile16
2 files changed, 23 insertions, 8 deletions
diff --git a/audio/cmt/files/patch-cmt.cpp b/audio/cmt/files/patch-cmt.cpp
new file mode 100644
index 000000000000..634c3b69e88e
--- /dev/null
+++ b/audio/cmt/files/patch-cmt.cpp
@@ -0,0 +1,15 @@
+--- cmt.cpp.orig Wed Jun 5 23:15:32 2002
++++ cmt.cpp Wed Jun 5 23:16:33 2002
+@@ -115,9 +115,9 @@
+ void CMT_Descriptor::
+ addPort(LADSPA_PortDescriptor iPortDescriptor,
+ const char * pcPortName,
+- LADSPA_PortRangeHintDescriptor iHintDescriptor = 0,
+- LADSPA_Data fLowerBound = 0,
+- LADSPA_Data fUpperBound = 0) {
++ LADSPA_PortRangeHintDescriptor iHintDescriptor,
++ LADSPA_Data fLowerBound,
++ LADSPA_Data fUpperBound) {
+
+ unsigned long lOldPortCount = PortCount;
+ unsigned long lNewPortCount = PortCount + 1;
diff --git a/audio/cmt/files/patch-makefile b/audio/cmt/files/patch-makefile
index 6a7f997c68a9..f9693e0ee9fc 100644
--- a/audio/cmt/files/patch-makefile
+++ b/audio/cmt/files/patch-makefile
@@ -1,22 +1,22 @@
---- makefile.orig Tue Sep 18 00:15:28 2001
-+++ makefile Sun May 12 00:46:39 2002
-@@ -12,9 +12,7 @@
- # GENERAL
+--- makefile.orig Wed Jun 5 23:11:40 2002
++++ makefile Wed Jun 5 23:11:57 2002
+@@ -13,8 +13,8 @@
#
--INCLUDES = -I/usr/local/include/
+ INCLUDES = -I/usr/local/include/
-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC
-CXXFLAGS = $(CFLAGS)
-+CXXFLAGS += -I/usr/local/include/
++CFLAGS += $(INCLUDES) -Wall -Werror
++CXXFLAGS += $(CFLAGS)
PLUGIN_LIB = ../plugins/cmt.so
###############################################################################
-@@ -61,7 +59,7 @@
+@@ -61,7 +61,7 @@
targets: $(PLUGIN_LIB)
$(PLUGIN_LIB): $(PLUGIN_OBJECTS)
- $(CXX) -shared \
-+ $(CXX) ${CXXFLAGS} -shared \
++ $(CXX) ${CXXFLAGS} -shared \
-o $(PLUGIN_LIB) \
$(PLUGIN_OBJECTS)