pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/wxhugo Fix build with newer GCC.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d49aa44e82a1
branches:  trunk
changeset: 544097:d49aa44e82a1
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Jul 10 13:20:46 2008 +0000

description:
Fix build with newer GCC.

diffstat:

 games/wxhugo/distinfo         |   3 ++-
 games/wxhugo/patches/patch-ab |  13 +++++++++++++
 2 files changed, 15 insertions(+), 1 deletions(-)

diffs (31 lines):

diff -r d42c336455c9 -r d49aa44e82a1 games/wxhugo/distinfo
--- a/games/wxhugo/distinfo     Thu Jul 10 13:09:58 2008 +0000
+++ b/games/wxhugo/distinfo     Thu Jul 10 13:20:46 2008 +0000
@@ -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 @@
 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 -r d42c336455c9 -r d49aa44e82a1 games/wxhugo/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/games/wxhugo/patches/patch-ab     Thu Jul 10 13:20:46 2008 +0000
@@ -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"
+ {



Home | Main Index | Thread Index | Old Index