aboutsummaryrefslogtreecommitdiff
path: root/games/gnomechess
diff options
context:
space:
mode:
authorKirill Ponomarev <krion@FreeBSD.org>2004-08-23 18:52:22 +0000
committerKirill Ponomarev <krion@FreeBSD.org>2004-08-23 18:52:22 +0000
commit54ac58847d302d1b379be621f0bd6febd38464b7 (patch)
tree723ae4d22dfd2b07e813175172ec25775571ed8b /games/gnomechess
parent9ef052cb015f52bd3343d2b89f8bd8a6422c6fb3 (diff)
downloadports-54ac58847d302d1b379be621f0bd6febd38464b7.tar.gz
ports-54ac58847d302d1b379be621f0bd6febd38464b7.zip
Notes
Diffstat (limited to 'games/gnomechess')
-rw-r--r--games/gnomechess/Makefile3
-rw-r--r--games/gnomechess/files/patch-src::board.c10
-rw-r--r--games/gnomechess/files/patch-src::pgn.c18
-rw-r--r--games/gnomechess/files/patch-src::server-term.c10
-rw-r--r--games/gnomechess/pkg-plist2
5 files changed, 42 insertions, 1 deletions
diff --git a/games/gnomechess/Makefile b/games/gnomechess/Makefile
index d5d2afb57056..566ab6f16832 100644
--- a/games/gnomechess/Makefile
+++ b/games/gnomechess/Makefile
@@ -20,10 +20,11 @@ BUILD_DEPENDS= crafty:${PORTSDIR}/games/crafty
RUN_DEPENDS= crafty:${PORTSDIR}/games/crafty
USE_X_PREFIX= yes
-USE_GMAKE= yes
USE_GNOME= gnomecanvas gnomehack gnomeprefix libglade
+USE_GMAKE= yes
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
+MAKE_ARGS= XML_I18N_UPDATE="${TRUE}" XML_I18N_EXTRACT="${TRUE}"
.include <bsd.port.mk>
diff --git a/games/gnomechess/files/patch-src::board.c b/games/gnomechess/files/patch-src::board.c
new file mode 100644
index 000000000000..3afe254c1b77
--- /dev/null
+++ b/games/gnomechess/files/patch-src::board.c
@@ -0,0 +1,10 @@
+--- src/board.c.orig Mon Jul 23 07:45:20 2001
++++ src/board.c Sun Aug 22 03:42:58 2004
+@@ -661,6 +661,7 @@
+
+ break;
+ default:
++ ;
+ }
+
+ return 0;
diff --git a/games/gnomechess/files/patch-src::pgn.c b/games/gnomechess/files/patch-src::pgn.c
new file mode 100644
index 000000000000..c6cb616b1f84
--- /dev/null
+++ b/games/gnomechess/files/patch-src::pgn.c
@@ -0,0 +1,18 @@
+--- src/pgn.c.orig Thu Jun 28 06:14:20 2001
++++ src/pgn.c Sun Aug 22 03:44:44 2004
+@@ -311,6 +311,7 @@
+ tag->result = g_strdup(value2.v_string);
+ break;
+ default:
++ ;
+ }
+ }
+
+@@ -512,6 +513,7 @@
+ }
+
+ finish:
++ ;
+ }
+
+ static int
diff --git a/games/gnomechess/files/patch-src::server-term.c b/games/gnomechess/files/patch-src::server-term.c
new file mode 100644
index 000000000000..914865718600
--- /dev/null
+++ b/games/gnomechess/files/patch-src::server-term.c
@@ -0,0 +1,10 @@
+--- src/server-term.c.orig Sun Jun 17 04:47:01 2001
++++ src/server-term.c Sun Aug 22 03:46:07 2004
+@@ -348,6 +348,7 @@
+ jump2:
+ i++;
+ jump:
++ ;
+ }
+ newtext[j] = 0;
+ zvt_term_feed (ZVT_TERM (widget), newtext, j);
diff --git a/games/gnomechess/pkg-plist b/games/gnomechess/pkg-plist
index a2b6620b3a3f..f824301f1be4 100644
--- a/games/gnomechess/pkg-plist
+++ b/games/gnomechess/pkg-plist
@@ -28,6 +28,7 @@ share/gnome/help/gnome-chess-manual/C/usage.html
share/gnome/mime-info/gnome-chess.keys
share/gnome/mime-info/gnome-chess.mime
share/gnome/omf/gnome-chess/gnome-chess-manual-C.omf
+@exec scrollkeeper-install -q %D/share/gnome/omf/gnome-chess/gnome-chess-manual-C.omf 2>/dev/null || true
share/gnome/pixmaps/gnome-chess.png
share/gnome/pixmaps/gnome-chess/B.png
share/gnome/pixmaps/gnome-chess/K.png
@@ -76,3 +77,4 @@ share/locale/zh_TW.Big5/LC_MESSAGES/gnome-chess.mo
@dirrm share/gnome/help/gnome-chess-manual
@dirrm share/gnome/gnome-chess/glade
@dirrm share/gnome/gnome-chess
+@exec scrollkeeper-uninstall -q %D/share/gnome/omf/gnome-chess/gnome-chess-manual-C.omf 2>/dev/null || true