aboutsummaryrefslogtreecommitdiff
path: root/games/hex/files
diff options
context:
space:
mode:
authorChris Piazza <cpiazza@FreeBSD.org>1999-08-14 03:52:28 +0000
committerChris Piazza <cpiazza@FreeBSD.org>1999-08-14 03:52:28 +0000
commit52a5b148a45c19c12742d210227c96f8871cb19e (patch)
treecc392e38ccc23d9432bf6b49fc05824dd450c4f3 /games/hex/files
parent9e83383a64f9dab0b4d167106564afb504d2e2e7 (diff)
Notes
Diffstat (limited to 'games/hex/files')
-rw-r--r--games/hex/files/patch-aa11
-rw-r--r--games/hex/files/patch-ab10
-rw-r--r--games/hex/files/patch-ac21
3 files changed, 42 insertions, 0 deletions
diff --git a/games/hex/files/patch-aa b/games/hex/files/patch-aa
new file mode 100644
index 000000000000..6d54475b4816
--- /dev/null
+++ b/games/hex/files/patch-aa
@@ -0,0 +1,11 @@
+--- hex.c Wed Aug 4 19:36:00 1999
++++ hex.c.new Mon Aug 9 23:02:44 1999
+@@ -17,7 +17,7 @@
+ #include <string.h>
+ #include <ctype.h>
+
+-#define LEVELPATH "./levels/"
++#define LEVELPATH "/usr/X11R6/share/hex/levels/"
+
+ #define XSIZE 8
+ #define YSIZE 12
diff --git a/games/hex/files/patch-ab b/games/hex/files/patch-ab
new file mode 100644
index 000000000000..747fae578649
--- /dev/null
+++ b/games/hex/files/patch-ab
@@ -0,0 +1,10 @@
+--- hex.h Fri Aug 6 17:27:05 1999
++++ hex.h.new Mon Aug 9 23:10:17 1999
+@@ -1,5 +1,5 @@
+-#define GRAPHICPATH "./graphics/"
+-#define LEVELPATH "./levels/"
++#define GRAPHICPATH "/usr/X11R6/share/hex/graphics/"
++#define LEVELPATH "/usr/X11R6/share/hex/levels/"
+
+ #define XSIZE 8
+ #define YSIZE 12 // add 1 for the ceiling line
diff --git a/games/hex/files/patch-ac b/games/hex/files/patch-ac
new file mode 100644
index 000000000000..ef00d2dd9927
--- /dev/null
+++ b/games/hex/files/patch-ac
@@ -0,0 +1,21 @@
+--- Makefile.orig Fri Aug 13 20:42:49 1999
++++ Makefile Fri Aug 13 20:43:18 1999
+@@ -1,4 +1,4 @@
+-CC = gcc -Wall -O6 -g
++#CC = gcc -Wall -O6 -g
+
+ SRCS = main.c levels.c grid.c player.c touching.c gtkstuff.c plot.c graphics.c
+ OBJS = $(SRCS:.c=.o)
+@@ -7,10 +7,10 @@
+ all: hex
+
+ .c.o:
+- $(CC) `gtk-config --cflags` -c $*.c -o $*.o
++ $(CC) $(CFLAGS) `gtk12-config --cflags` -c $*.c -o $*.o
+
+ hex: $(OBJS)
+- $(CC) $(LIBS) `gtk-config --libs` $(OBJS) -o $@
++ $(CC) $(LIBS) `gtk12-config --libs` $(OBJS) -o $@
+
+ clean:
+ rm -f *~ *.o hex