diff options
author | rillig <rillig@pkgsrc.org> | 2006-07-15 20:05:18 +0000 |
---|---|---|
committer | rillig <rillig@pkgsrc.org> | 2006-07-15 20:05:18 +0000 |
commit | 17982a51c21823e262598c781e0be958df5ac0fc (patch) | |
tree | e99ec6a8d3e7cfb9fa5dc0415f49f0f81dd3d9cb /games/freeciv-share | |
parent | df4e9c1f0d1b959f00c6b15b6715c828fc7205e5 (diff) | |
download | pkgsrc-17982a51c21823e262598c781e0be958df5ac0fc.tar.gz |
Added a patch necessary for SunPro.
Diffstat (limited to 'games/freeciv-share')
-rw-r--r-- | games/freeciv-share/distinfo | 3 | ||||
-rw-r--r-- | games/freeciv-share/patches/patch-ac | 19 |
2 files changed, 21 insertions, 1 deletions
diff --git a/games/freeciv-share/distinfo b/games/freeciv-share/distinfo index 0a95298b6c7..6623e8b5200 100644 --- a/games/freeciv-share/distinfo +++ b/games/freeciv-share/distinfo @@ -1,7 +1,8 @@ -$NetBSD: distinfo,v 1.13 2006/04/15 09:30:45 adam Exp $ +$NetBSD: distinfo,v 1.14 2006/07/15 20:05:18 rillig Exp $ SHA1 (freeciv-2.0.8.tar.bz2) = b9098dc46ed169e053f9c7405cc3abf9cebe9792 RMD160 (freeciv-2.0.8.tar.bz2) = 7ab93442cf63db22e9e660d2c1955990a1376d26 Size (freeciv-2.0.8.tar.bz2) = 8535513 bytes SHA1 (patch-aa) = bd0557f5deafacf2d6c47d79e81700aebb6b42ac SHA1 (patch-ab) = 77095569f21bd66c1d4ef34d30b485d320097df1 +SHA1 (patch-ac) = e986b8c7a6d4007170a10f75c8f96e886179eada diff --git a/games/freeciv-share/patches/patch-ac b/games/freeciv-share/patches/patch-ac new file mode 100644 index 00000000000..24554217d51 --- /dev/null +++ b/games/freeciv-share/patches/patch-ac @@ -0,0 +1,19 @@ +$NetBSD: patch-ac,v 1.1 2006/07/15 20:05:18 rillig Exp $ + +SunPro treats incompatible types in the ?: operator as error. + +--- client/helpdata.c.orig 2005-10-13 09:45:45.000000000 +0200 ++++ client/helpdata.c 2006-07-15 21:58:31.317408915 +0200 +@@ -553,10 +553,10 @@ char *helptext_building(char *buf, size_ + + #define req_append(s) \ + (req_buf[0] != '\0' \ +- ? my_snprintf(req_buf + strlen(req_buf), \ ++ ? (void)my_snprintf(req_buf + strlen(req_buf), \ + sizeof(req_buf) - strlen(req_buf), \ + ", %s", (s)) \ +- : sz_strlcpy(req_buf, (s))) ++ : (void)sz_strlcpy(req_buf, (s))) + + if (b->tech_req != A_NONE) { + req_append(get_tech_name(game.player_ptr, b->tech_req)); |