pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/freeciv-share Added a patch necessary for SunPro.
details: https://anonhg.NetBSD.org/pkgsrc/rev/ad24cafa1614
branches: trunk
changeset: 516163:ad24cafa1614
user: rillig <rillig%pkgsrc.org@localhost>
date: Sat Jul 15 20:05:18 2006 +0000
description:
Added a patch necessary for SunPro.
diffstat:
games/freeciv-share/distinfo | 3 ++-
games/freeciv-share/patches/patch-ac | 19 +++++++++++++++++++
2 files changed, 21 insertions(+), 1 deletions(-)
diffs (36 lines):
diff -r e73e74f260d6 -r ad24cafa1614 games/freeciv-share/distinfo
--- a/games/freeciv-share/distinfo Sat Jul 15 19:35:25 2006 +0000
+++ b/games/freeciv-share/distinfo Sat Jul 15 20:05:18 2006 +0000
@@ -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 -r e73e74f260d6 -r ad24cafa1614 games/freeciv-share/patches/patch-ac
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/freeciv-share/patches/patch-ac Sat Jul 15 20:05:18 2006 +0000
@@ -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));
Home |
Main Index |
Thread Index |
Old Index