Fix mangled patches (whitespace)

PR:		ports/40533
Submitted by:	maintainer
This commit is contained in:
Patrick Li 2002-07-14 18:45:12 +00:00
parent 1eb604a6cb
commit 8a11a6352b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=62941
2 changed files with 31 additions and 29 deletions

View file

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

View file

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