diff options
author | krion <krion@FreeBSD.org> | 2004-08-24 02:52:22 +0800 |
---|---|---|
committer | krion <krion@FreeBSD.org> | 2004-08-24 02:52:22 +0800 |
commit | 8aaa40e975620a87dc35c88227e2ea8501aa3a6e (patch) | |
tree | 38eee001606380023acf0014306dada2fc639b96 /games/gnomechess | |
parent | f334073f504afbe326d3b90a4000e381926176bd (diff) | |
download | freebsd-ports-gnome-8aaa40e975620a87dc35c88227e2ea8501aa3a6e.tar.gz freebsd-ports-gnome-8aaa40e975620a87dc35c88227e2ea8501aa3a6e.tar.zst freebsd-ports-gnome-8aaa40e975620a87dc35c88227e2ea8501aa3a6e.zip |
Fix build with gcc-3.4
PR: ports/70865
Submitted by: Ports Fury
Diffstat (limited to 'games/gnomechess')
-rw-r--r-- | games/gnomechess/Makefile | 3 | ||||
-rw-r--r-- | games/gnomechess/files/patch-src::board.c | 10 | ||||
-rw-r--r-- | games/gnomechess/files/patch-src::pgn.c | 18 | ||||
-rw-r--r-- | games/gnomechess/files/patch-src::server-term.c | 10 | ||||
-rw-r--r-- | games/gnomechess/pkg-plist | 2 |
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 |