summaryrefslogtreecommitdiff
path: root/games/xu4/patches/patch-src_imagemgr.h
diff options
context:
space:
mode:
Diffstat (limited to 'games/xu4/patches/patch-src_imagemgr.h')
-rw-r--r--games/xu4/patches/patch-src_imagemgr.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/games/xu4/patches/patch-src_imagemgr.h b/games/xu4/patches/patch-src_imagemgr.h
new file mode 100644
index 00000000000..244e1b06762
--- /dev/null
+++ b/games/xu4/patches/patch-src_imagemgr.h
@@ -0,0 +1,15 @@
+$NetBSD: patch-src_imagemgr.h,v 1.1.1.1 2012/01/08 15:52:12 wiz Exp $
+
+Fix build with gcc-4.5.
+
+--- src/imagemgr.h.orig 2004-12-05 03:01:27.000000000 +0000
++++ src/imagemgr.h
+@@ -102,7 +102,7 @@ public:
+ static void destroy();
+
+ ImageInfo *get(const std::string &name);
+- SubImage *ImageMgr::getSubImage(const std::string &name);
++ SubImage *getSubImage(const std::string &name);
+ void freeIntroBackgrounds();
+ const std::vector<std::string> &getSetNames();
+