summaryrefslogtreecommitdiff
path: root/audio/dap/files/patch-ad
diff options
context:
space:
mode:
Diffstat (limited to 'audio/dap/files/patch-ad')
-rw-r--r--audio/dap/files/patch-ad23
1 files changed, 22 insertions, 1 deletions
diff --git a/audio/dap/files/patch-ad b/audio/dap/files/patch-ad
index 34efa2bbfcde..f3c4c51d0826 100644
--- a/audio/dap/files/patch-ad
+++ b/audio/dap/files/patch-ad
@@ -1,4 +1,25 @@
-Index: spkit/spkit/Makefile.linux
+--- spkit/spkit/Makefile.linux.orig Sun Jan 10 04:41:18 1999
++++ spkit/spkit/Makefile.linux Sat Oct 2 09:23:46 1999
+@@ -1,5 +1,5 @@
+-CC = gcc
+-CXX = g++
++CC ?= gcc
++CXX ?= g++
+ FORMS = ../../../xforms/FORMS
+ SOUND = ../../sound
+ TOOLTIP = ../../tooltips
+@@ -8,9 +8,9 @@
+ HOMEDIR = $(HOME)
+ X11DIR = /usr/X11R6
+ INCDIR = -I. -I.. -I../.. -I$(SOUND) -I$(FORMS) -I$(MAINDIR) -I$(TOOLTIP) -I$(X11DIR)/include
+-CCFLAGS = $(INCDIR) $(DEBUG) $(OPTIM) -DLINUX -DBIGENDIAN -DUSINGGCC -Wall
++CCFLAGS = $(INCDIR) $(OPTIM) -DLINUX -DUSINGGCC -Wall
+ DEBUG = -g3
+-OPTIM = -O2
++OPTIM = ${CXXFLAGS}
+
+ .c.o:
+ $(CC) $(CCFLAGS) -c $*.c -o $*.o
@@ -65,6 +65,7 @@
libdsp.a: $(OBJS)
rm -f $(LIBNAME)