diff options
author | Patrick Li <pat@FreeBSD.org> | 2002-07-14 18:45:12 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2002-07-14 18:45:12 +0000 |
commit | 8a11a6352bfbc192dbbc2f950dc72caf0f873464 (patch) | |
tree | 72fa94873f9714d373c7a3de477a5288a6496bba /audio | |
parent | Update to 0.9. (diff) |
Fix mangled patches (whitespace)
PR: ports/40533
Submitted by: maintainer
Notes
Notes:
svn path=/head/; revision=62941
Diffstat (limited to 'audio')
-rw-r--r-- | audio/cmt/files/patch-cmt.cpp | 20 | ||||
-rw-r--r-- | audio/cmt/files/patch-makefile | 40 |
2 files changed, 31 insertions, 29 deletions
diff --git a/audio/cmt/files/patch-cmt.cpp b/audio/cmt/files/patch-cmt.cpp index 634c3b69e88e..6ff333860387 100644 --- a/audio/cmt/files/patch-cmt.cpp +++ b/audio/cmt/files/patch-cmt.cpp @@ -1,15 +1,15 @@ ---- cmt.cpp.orig Wed Jun 5 23:15:32 2002 -+++ cmt.cpp Wed Jun 5 23:16:33 2002 +--- cmt.cpp.orig Sat Jul 13 20:59:44 2002 ++++ cmt.cpp Sat Jul 13 21:00:21 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) { - + 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 f9693e0ee9fc..8bcb2fc27f52 100644 --- a/audio/cmt/files/patch-makefile +++ b/audio/cmt/files/patch-makefile @@ -1,22 +1,24 @@ ---- makefile.orig Wed Jun 5 23:11:40 2002 -+++ makefile Wed Jun 5 23:11:57 2002 -@@ -13,8 +13,8 @@ +--- makefile.orig Sat Jul 13 20:54:06 2002 ++++ makefile Sat Jul 13 20:56:15 2002 +@@ -12,9 +12,9 @@ + # GENERAL # - - INCLUDES = -I/usr/local/include/ --CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC --CXXFLAGS = $(CFLAGS) -+CFLAGS += $(INCLUDES) -Wall -Werror -+CXXFLAGS += $(CFLAGS) - PLUGIN_LIB = ../plugins/cmt.so - + +-INCLUDES = -I/usr/local/include/ +-CFLAGS = $(INCLUDES) -Wall -Werror -O3 -fPIC +-CXXFLAGS = $(CFLAGS) ++INCLUDES = -I${LOCALBASE}/include/ ++CFLAGS += $(INCLUDES) -Wall -Werror -fPIC ++CXXFLAGS += $(CFLAGS) + PLUGIN_LIB = ../plugins/cmt.so + ############################################################################### @@ -61,7 +61,7 @@ - targets: $(PLUGIN_LIB) - - $(PLUGIN_LIB): $(PLUGIN_OBJECTS) -- $(CXX) -shared \ -+ $(CXX) ${CXXFLAGS} -shared \ - -o $(PLUGIN_LIB) \ - $(PLUGIN_OBJECTS) - + targets: $(PLUGIN_LIB) + + $(PLUGIN_LIB): $(PLUGIN_OBJECTS) +- $(CXX) -shared \ ++ $(CXX) ${CXXFLAGS} -shared \ + -o $(PLUGIN_LIB) \ + $(PLUGIN_OBJECTS) + |