diff options
author | rh <rh@pkgsrc.org> | 2002-10-12 06:17:15 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2002-10-12 06:17:15 +0000 |
commit | 49b91f014461dbbd3fdf25c60943bcac2d8d7b22 (patch) | |
tree | 22714ebebfe0ae02069525aa7f1544e54b18f41f /games/glchess/patches | |
parent | dd1151dc8ffd35fd630f8fb19fe2eae18921ad20 (diff) | |
download | pkgsrc-49b91f014461dbbd3fdf25c60943bcac2d8d7b22.tar.gz |
Initial import of glchess-0.4.6, a 3D OpenGL/gtk chess interface.
Diffstat (limited to 'games/glchess/patches')
-rw-r--r-- | games/glchess/patches/patch-aa | 12 | ||||
-rw-r--r-- | games/glchess/patches/patch-ab | 16 |
2 files changed, 28 insertions, 0 deletions
diff --git a/games/glchess/patches/patch-aa b/games/glchess/patches/patch-aa new file mode 100644 index 00000000000..4775e4b1c2b --- /dev/null +++ b/games/glchess/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1.1.1 2002/10/12 06:17:15 rh Exp $ + +--- src/interface.c.orig Mon Mar 25 15:02:08 2002 ++++ src/interface.c +@@ -24,6 +24,7 @@ + #include <stdio.h> + #include <stdlib.h> + #include <gtkgl/gtkglarea.h> ++#include <sys/time.h> + #include <sys/select.h> + + #include "global.h" diff --git a/games/glchess/patches/patch-ab b/games/glchess/patches/patch-ab new file mode 100644 index 00000000000..afceab37f16 --- /dev/null +++ b/games/glchess/patches/patch-ab @@ -0,0 +1,16 @@ +$NetBSD: patch-ab,v 1.1.1.1 2002/10/12 06:17:15 rh Exp $ + +--- src/config.c.orig Sat Oct 12 15:19:12 2002 ++++ src/config.c +@@ -101,6 +101,11 @@ int open_rc(Game * game, const char *fil + { + fprintf(stderr, "/etc/glchessrc not found, trying ./glchessrc\n"); + rc = fopen("./glchessrc", "r"); ++ if (rc == NULL) ++ { ++ fprintf(stderr, "./glchessrc not found, trying @PKGETC@/glchessrc.default\n"); ++ rc = fopen("@PKGETC@/glchessrc.default", "r"); ++ } + } + } + |