summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2008-07-10 13:20:46 +0000
committerjoerg <joerg@pkgsrc.org>2008-07-10 13:20:46 +0000
commit42905bb497dab1afd4d4d2a58a4353848c6fdd19 (patch)
treed68e5e174dd76caaa1750fb605c28fa8ccf97960 /games
parente044bda4600da4082194d49d1449cb0787f1e66f (diff)
downloadpkgsrc-42905bb497dab1afd4d4d2a58a4353848c6fdd19.tar.gz
Fix build with newer GCC.
Diffstat (limited to 'games')
-rw-r--r--games/wxhugo/distinfo3
-rw-r--r--games/wxhugo/patches/patch-ab13
2 files changed, 15 insertions, 1 deletions
diff --git a/games/wxhugo/distinfo b/games/wxhugo/distinfo
index 25bcc6e5b04..792e9a6bc3f 100644
--- a/games/wxhugo/distinfo
+++ b/games/wxhugo/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.7 2006/05/21 16:43:27 rillig Exp $
+$NetBSD: distinfo,v 1.8 2008/07/10 13:20:46 joerg Exp $
SHA1 (hugo-3.1.02/hugov31_unix_source.tar.gz) = 7c3785da668e1deb9fe222b6014c402b00fc4256
RMD160 (hugo-3.1.02/hugov31_unix_source.tar.gz) = 205c3a26456eabe6e72116be6a2120a00e118385
@@ -7,3 +7,4 @@ SHA1 (hugo-3.1.02/hugov31_wxwin_source.tar.gz) = 477ee2d4294b4203b317a3db77015cb
RMD160 (hugo-3.1.02/hugov31_wxwin_source.tar.gz) = 46703c623d82afe9194167572f81a1c20baa4a7f
Size (hugo-3.1.02/hugov31_wxwin_source.tar.gz) = 284234 bytes
SHA1 (patch-aa) = 4fda12a259c6914c41cd2631577427623b1e3d6a
+SHA1 (patch-ab) = 514ff9f2e4e7cf6e3fd8fe98885c97bb68df3316
diff --git a/games/wxhugo/patches/patch-ab b/games/wxhugo/patches/patch-ab
new file mode 100644
index 00000000000..d4dc817c1bc
--- /dev/null
+++ b/games/wxhugo/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.3 2008/07/10 13:20:46 joerg Exp $
+
+--- hewx.h.orig 2008-07-10 13:15:49.000000000 +0000
++++ hewx.h
+@@ -216,7 +216,7 @@ extern SInt32 system_version;
+
+ // from hewx.cpp
+
+-extern wxColour *current_text_color, *current_back_color;
++extern "C" wxColour *current_text_color, *current_back_color;
+
+ extern "C"
+ {