From caa508348d125f4a67ded225335c4dd5536a2215 Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Sun, 16 Jun 2002 18:17:24 +0000 Subject: fix patch use REINPLACE_CMD bump PORTREVISION PR: 39313 Submitted by: maintainer --- audio/cmt/files/patch-cmt.cpp | 15 +++++++++++++++ audio/cmt/files/patch-makefile | 16 ++++++++-------- 2 files changed, 23 insertions(+), 8 deletions(-) create mode 100644 audio/cmt/files/patch-cmt.cpp (limited to 'audio/cmt/files') 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) -- cgit v1.2.3