View | Details | Raw Unified | Return to bug 39313 | Differences between
and this patch

Collapse All | Expand All

(-)cmt/files/patch-cmt.cpp 5 Jun 2002 21:17:36 -0000 (+15 lines)
Line 0 Link Here
1
--- cmt.cpp.orig       Wed Jun  5 23:15:32 2002
2
+++ cmt.cpp    Wed Jun  5 23:16:33 2002
3
@@ -115,9 +115,9 @@
4
 void CMT_Descriptor::
5
 addPort(LADSPA_PortDescriptor          iPortDescriptor,
6
       const char *                   pcPortName,
7
-      LADSPA_PortRangeHintDescriptor iHintDescriptor = 0,
8
-      LADSPA_Data                    fLowerBound = 0,
9
-      LADSPA_Data                    fUpperBound = 0) {
10
+      LADSPA_PortRangeHintDescriptor iHintDescriptor,
11
+      LADSPA_Data                    fLowerBound,
12
+      LADSPA_Data                    fUpperBound) {
13
14
   unsigned long lOldPortCount = PortCount;
15
   unsigned long lNewPortCount = PortCount + 1;
(-)cmt/files/patch-makefile 5 Jun 2002 21:12:38 -0000 (-20 / +20 lines)
Lines 1-22 Link Here
1
--- makefile.orig      Tue Sep 18 00:15:28 2001
1
--- makefile.orig      Wed Jun  5 23:11:40 2002
2
+++ makefile   Sun May 12 00:46:39 2002
2
+++ makefile   Wed Jun  5 23:11:57 2002
3
@@ -12,9 +12,7 @@
3
@@ -13,8 +13,8 @@
4
 # GENERAL
5
 #
4
 #
6
5
7
-INCLUDES      =       -I/usr/local/include/
6
 INCLUDES      =       -I/usr/local/include/
8
-CFLAGS                =       $(INCLUDES) -Wall -Werror -O3 -fPIC
7
-CFLAGS                =       $(INCLUDES) -Wall -Werror -O3 -fPIC
9
-CXXFLAGS      =       $(CFLAGS)
8
-CXXFLAGS      =       $(CFLAGS)
10
+CXXFLAGS              +=      -I/usr/local/include/
9
+CFLAGS                +=      $(INCLUDES) -Wall -Werror
11
 PLUGIN_LIB    =       ../plugins/cmt.so
10
+CXXFLAGS      +=      $(CFLAGS)
12
11
 PLUGIN_LIB    =       ../plugins/cmt.so
12
13
 ###############################################################################
13
 ###############################################################################
14
@@ -61,7 +59,7 @@
14
@@ -61,7 +61,7 @@
15
 targets:      $(PLUGIN_LIB)
15
 targets:      $(PLUGIN_LIB)
16
16
17
 $(PLUGIN_LIB):        $(PLUGIN_OBJECTS)
17
 $(PLUGIN_LIB):        $(PLUGIN_OBJECTS)
18
-      $(CXX)  -shared                                                 \
18
-      $(CXX)  -shared                                                 \
19
+      $(CXX) ${CXXFLAGS} -shared                                      \
19
+      $(CXX)  ${CXXFLAGS} -shared                                            \
20
               -o $(PLUGIN_LIB)                                        \
20
               -o $(PLUGIN_LIB)                                        \
21
               $(PLUGIN_OBJECTS)
21
               $(PLUGIN_OBJECTS)
22
22

Return to bug 39313