summaryrefslogtreecommitdiff
path: root/comms/estic/patches/patch-ag
diff options
context:
space:
mode:
Diffstat (limited to 'comms/estic/patches/patch-ag')
-rw-r--r--comms/estic/patches/patch-ag43
1 files changed, 35 insertions, 8 deletions
diff --git a/comms/estic/patches/patch-ag b/comms/estic/patches/patch-ag
index 773ad9daed8..53ae0eb3e40 100644
--- a/comms/estic/patches/patch-ag
+++ b/comms/estic/patches/patch-ag
@@ -1,8 +1,8 @@
-$NetBSD: patch-ag,v 1.3 2002/09/21 07:06:42 jlam Exp $
+$NetBSD: patch-ag,v 1.4 2006/09/08 07:35:50 joerg Exp $
---- ../spunk/make/freebsd-x.mak.orig Sun Nov 24 22:33:26 1996
-+++ ../spunk/make/freebsd-x.mak Sat Feb 10 19:06:51 2001
-@@ -27,10 +27,9 @@
+--- ../spunk/make/freebsd-x.mak.orig 1996-11-24 22:33:26.000000000 +0100
++++ ../spunk/make/freebsd-x.mak
+@@ -27,10 +27,9 @@ AS = gas
AR = ar
LD = ld
ZIP = zip
@@ -10,11 +10,11 @@ $NetBSD: patch-ag,v 1.3 2002/09/21 07:06:42 jlam Exp $
# Flags for the gnu compiler
-CFLAGS = -DFREEBSD -DUSE_OLD_TTY -g -Wall -x c++ -I /usr/X11R6/include -fno-implicit-templates -DEXPLICIT_TEMPLATES
-+CFLAGS += -DFREEBSD -Wall -x c++ -I$(X11BASE)/include -fno-implicit-templates -DEXPLICIT_TEMPLATES
++CFLAGS += -DFREEBSD -Wall -I$(X11BASE)/include -fno-implicit-templates -DEXPLICIT_TEMPLATES
LIB = spunk.a
ZIPFILE = spunk.zip
-@@ -42,7 +41,7 @@
+@@ -42,7 +41,7 @@ ZIPFILE = spunk.zip
$(CC) $(CFLAGS) -c $<
.cc.o:
@@ -23,7 +23,7 @@ $NetBSD: patch-ag,v 1.3 2002/09/21 07:06:42 jlam Exp $
# ------------------------------------------------------------------------------
# All SPUNK OBJ files
-@@ -136,7 +135,7 @@
+@@ -136,7 +135,7 @@ RESEDITOBJS = resed.o \
# Dummy targets
xresed: $(LIB) $(RESEDITOBJS)
@@ -32,7 +32,7 @@ $NetBSD: patch-ag,v 1.3 2002/09/21 07:06:42 jlam Exp $
lib: $(LIB)
-@@ -149,7 +148,7 @@
+@@ -149,28 +148,28 @@ $(LIB): $(OBJS)
depend dep:
@echo "Creating dependency information"
@@ -41,3 +41,30 @@ $NetBSD: patch-ag,v 1.3 2002/09/21 07:06:42 jlam Exp $
# ------------------------------------------------------------------------------
# Target specific files
+
+ console.o: xsrc/console.cc $(HDRS)
+- $(CC) $(CFLAGS) -c $<
++ $(CXX) $(CFLAGS) -c $<
+
+ delay.o: unixsrc/delay.cc $(HDRS)
+- $(CC) $(CFLAGS) -c $<
++ $(CXX) $(CFLAGS) -c $<
+
+ filesys.o: unixsrc/filesys.cc $(HDRS)
+- $(CC) $(CFLAGS) -c $<
++ $(CXX) $(CFLAGS) -c $<
+
+ nlsinit.o: unixsrc/nlsinit.cc $(HDRS)
+- $(CC) $(CFLAGS) -c $<
++ $(CXX) $(CFLAGS) -c $<
+
+ screen.o: xsrc/screen.cc $(HDRS)
+- $(CC) $(CFLAGS) -c $<
++ $(CXX) $(CFLAGS) -c $<
+
+ sercom.o: unixsrc/sercom.cc $(HDRS)
+- $(CC) $(CFLAGS) -c $<
++ $(CXX) $(CFLAGS) -c $<
+
+ # ------------------------------------------------------------------------------
+ # Create a ZIP file