summaryrefslogtreecommitdiff
path: root/games/xtruco/files
diff options
context:
space:
mode:
Diffstat (limited to 'games/xtruco/files')
-rw-r--r--games/xtruco/files/patch-aa32
1 files changed, 32 insertions, 0 deletions
diff --git a/games/xtruco/files/patch-aa b/games/xtruco/files/patch-aa
new file mode 100644
index 000000000000..9fc59b65d658
--- /dev/null
+++ b/games/xtruco/files/patch-aa
@@ -0,0 +1,32 @@
+--- Makefile Mon Oct 21 19:18:27 1996
++++ /home/andy/tmp/wrk/Makefile Sat Mar 14 20:08:33 1998
+@@ -6,17 +6,17 @@
+ # #
+ ################################
+
+-INCLUDES = -I/usr/X11/include
++INCLUDES = -I/usr/X11R6/include
+
+ # Remove '-DIPC_OK' if you have problems with 'shared-memory' (IPC routines)
+ OPC = -DIPC_OK
+
+-LIBRARIES = -lX11 -L/usr/X11/lib
++LIBRARIES = -lX11 -L/usr/X11R6/lib
+
+ CFILES = xtruco.c bitmap.c cursor.c display.c event.c gc.c pixmap.c\
+ topwind.c window.c color.c button.c font.c read.c
+
+-CC = gcc -O2 -g -Dlinux -DX11R6 $(INCLUDES) $(OPC)
++CC = gcc -DX11R6 $(INCLUDES) $(OPC)
+
+ PROG=xtruco
+
+@@ -25,7 +25,7 @@
+ OBJS=$(CFILES:.c=.o)
+
+ all: $(OBJS)
+- $(CC) -o $(PROG) $(LIBRARIES) $(OBJS)
++ $(CC) ${CFLAGS} -o $(PROG) $(LIBRARIES) $(OBJS)
+ # strip ${PROG}
+
+ clean: