diff options
author | pat <pat@FreeBSD.org> | 2002-07-15 02:45:12 +0800 |
---|---|---|
committer | pat <pat@FreeBSD.org> | 2002-07-15 02:45:12 +0800 |
commit | d0e524741440959ec2ac9b369ac325b85aff2fff (patch) | |
tree | ab3a7299b5b7448da94fc9098263bb492f2028cc /audio | |
parent | 9f6ab8422dda610737bfb0476b03cf7cd5c5af76 (diff) | |
download | freebsd-ports-gnome-d0e524741440959ec2ac9b369ac325b85aff2fff.tar.gz freebsd-ports-gnome-d0e524741440959ec2ac9b369ac325b85aff2fff.tar.zst freebsd-ports-gnome-d0e524741440959ec2ac9b369ac325b85aff2fff.zip |
Fix mangled patches (whitespace)
PR: ports/40533
Submitted by: maintainer
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) + |