summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'games-board/xgammon/files')
-rw-r--r--games-board/xgammon/files/digest-xgammon-0.981
-rw-r--r--games-board/xgammon/files/xgammon-0.98-broken.patch15
-rw-r--r--games-board/xgammon/files/xgammon-0.98-config.patch23
3 files changed, 39 insertions, 0 deletions
diff --git a/games-board/xgammon/files/digest-xgammon-0.98 b/games-board/xgammon/files/digest-xgammon-0.98
new file mode 100644
index 000000000000..a7970fd8e245
--- /dev/null
+++ b/games-board/xgammon/files/digest-xgammon-0.98
@@ -0,0 +1 @@
+MD5 56ad9b75767c3b5822065d425b538012 xgammon-0.98a.tar.gz 76415
diff --git a/games-board/xgammon/files/xgammon-0.98-broken.patch b/games-board/xgammon/files/xgammon-0.98-broken.patch
new file mode 100644
index 000000000000..e02ac10b4992
--- /dev/null
+++ b/games-board/xgammon/files/xgammon-0.98-broken.patch
@@ -0,0 +1,15 @@
+--- xgammon/lib/db.c.orig Sat Jan 6 12:14:12 2001
++++ xgammon/lib/db.c Sat Jan 6 12:13:56 2001
+@@ -259,10 +259,11 @@
+ close(fid);
+ }
+
+-void main()
++int main()
+ {
+ set_binom();
+ set_naufm();
+ set_offset();
+ set_V_Werte();
++ return(0);
+ }
diff --git a/games-board/xgammon/files/xgammon-0.98-config.patch b/games-board/xgammon/files/xgammon-0.98-config.patch
new file mode 100644
index 000000000000..d2e11bacfd81
--- /dev/null
+++ b/games-board/xgammon/files/xgammon-0.98-config.patch
@@ -0,0 +1,23 @@
+--- xgammon-0.98/xgammon.ad.rhconfig Tue Aug 29 01:35:39 1995
++++ xgammon-0.98/xgammon.ad Wed Aug 12 18:22:25 1998
+@@ -67,4 +67,4 @@
+ xgammon.buttonmove: false
+ xgammon.stonesteps: 5
+ xgammon.delaytime: 5
+-xgammon.database: lib/xgammon.db
++xgammon.database: /usr/X11R6/lib/X11/xgammon/xgammon.db
+--- xgammon-0.98/Imakefile.rhconfig Wed Aug 23 15:26:39 1995
++++ xgammon-0.98/Imakefile Wed Aug 12 18:42:55 1998
+@@ -12,9 +12,9 @@
+
+ ComplexProgramTarget(xgammon)
+ InstallAppDefaults(XGammon)
+-MakeDirectories(install, $(LIBDIR)/xgammon)
+-InstallNonExec(lib/xgammon.db, $(LIBDIR)/xgammon)
+-MANSUFFIX = 6
++MakeDirectories(install,$(LIBDIR)/xgammon)
++InstallNonExec(lib/xgammon.db,$(LIBDIR)/xgammon)
++MANSUFFIX = 1
+
+ xgammon.o: xgammon.c
+ $(CC) $(CFLAGS) -DDATABASE=\"$(LIBDIR)/xgammon/xgammon.db\" -c xgammon.c