aboutsummaryrefslogtreecommitdiffstats
path: root/games/crafty/files
diff options
context:
space:
mode:
authormph <mph@FreeBSD.org>1999-01-03 08:04:23 +0800
committermph <mph@FreeBSD.org>1999-01-03 08:04:23 +0800
commit6f6fb8f32d74c28c730cc4bbe750859ae6667d3b (patch)
treed4c4b3fa9be08e62d3e2b8d06738df236d88ef6b /games/crafty/files
parentb7c35a92c918b7ce3087430aa98ba82d0638d86f (diff)
downloadfreebsd-ports-gnome-6f6fb8f32d74c28c730cc4bbe750859ae6667d3b.tar.gz
freebsd-ports-gnome-6f6fb8f32d74c28c730cc4bbe750859ae6667d3b.tar.zst
freebsd-ports-gnome-6f6fb8f32d74c28c730cc4bbe750859ae6667d3b.zip
Update to 16.2.
Diffstat (limited to 'games/crafty/files')
-rw-r--r--games/crafty/files/patch-aa26
1 files changed, 17 insertions, 9 deletions
diff --git a/games/crafty/files/patch-aa b/games/crafty/files/patch-aa
index 7ce843db6ed9..ef45f26d75ed 100644
--- a/games/crafty/files/patch-aa
+++ b/games/crafty/files/patch-aa
@@ -1,20 +1,19 @@
---- Makefile.ORIG Fri Aug 28 20:30:02 1998
-+++ Makefile Mon Oct 5 22:15:55 1998
+--- Makefile.orig Thu Nov 5 20:53:45 1998
++++ Makefile Wed Dec 16 21:15:04 1998
@@ -69,13 +69,13 @@
# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B
# asm = X86.o
-# FreeBSD (gcc 2.6.3)
-#target = FreeBSD
--#CC = gcc
++# FreeBSD (gcc 2.7.2.1)
++target = FreeBSD
+ #CC = gcc
-#CFLAGS = -fomit-frame-pointer -m486 -O3 -Wall
-#LDFLAGS =
-#opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
-# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
-+# FreeBSD (gcc 2.7.2.1)
-+target = FreeBSD
-+CC = gcc
-+CFLAGS = -pipe -O -Wall
++#CFLAGS = -pipe -O -Wall
+LDFLAGS =
+opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
+ -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST
@@ -27,13 +26,13 @@
# Note: You have to uncomment exactly ONE of the `asm' lines below.
-target = LINUX
-CC = gcc
--CFLAGS = -pipe -D_REENTRANT -m486 -O -Wall
+-CFLAGS = -pipe -D_REENTRANT -mpentium -O -Wall
-LDFLAGS = -lpthread
-opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
- -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4
+#target = LINUX
+#CC = gcc
-+#CFLAGS = -pipe -D_REENTRANT -m486 -O -Wall
++#CFLAGS = -pipe -D_REENTRANT -mpentium -O -Wall
+#LDFLAGS = -lpthread
+#opt = -DCOMPACT_ATTACKS -DUSE_SPLIT_SHIFTS -DUSE_ATTACK_FUNCTIONS \
+# -DUSE_ASSEMBLY_A -DUSE_ASSEMBLY_B -DFAST -DSMP -DCPUS=4
@@ -50,3 +49,12 @@
# NEXT
#target = NEXT
+@@ -147,7 +150,7 @@
+
+ # Do not change anything below this line!
+
+-opts = $(opt) -D$(target)
++CFLAGS += $(opt) -D$(target)
+
+ objects = searchr.o search.o thread.o searchmp.o repeat.o next.o nexte.o \
+ nextr.o history.o quiesce.o evaluate.o movgen.o make.o unmake.o \