aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoralepulver <alepulver@FreeBSD.org>2007-03-28 01:52:49 +0800
committeralepulver <alepulver@FreeBSD.org>2007-03-28 01:52:49 +0800
commitaee2f2718de8ff96c9513c8af04936b5f2ed1bd5 (patch)
tree6c01f1cf24c2795193b8f3ea97ea66b6a725fb23
parentd63e8e02667750151da1f9c79a31f02c6640dd18 (diff)
downloadfreebsd-ports-gnome-aee2f2718de8ff96c9513c8af04936b5f2ed1bd5.tar.gz
freebsd-ports-gnome-aee2f2718de8ff96c9513c8af04936b5f2ed1bd5.tar.zst
freebsd-ports-gnome-aee2f2718de8ff96c9513c8af04936b5f2ed1bd5.zip
- Fix building with GCC 4.x.
Reported by: pointyhat
-rw-r--r--emulators/advancemenu/files/patch-advance__menu__emulator.h20
1 files changed, 20 insertions, 0 deletions
diff --git a/emulators/advancemenu/files/patch-advance__menu__emulator.h b/emulators/advancemenu/files/patch-advance__menu__emulator.h
new file mode 100644
index 000000000000..61a761f3e0bf
--- /dev/null
+++ b/emulators/advancemenu/files/patch-advance__menu__emulator.h
@@ -0,0 +1,20 @@
+--- ./advance/menu/emulator.h.orig Tue Dec 27 12:03:40 2005
++++ ./advance/menu/emulator.h Tue Mar 27 14:49:00 2007
+@@ -41,7 +41,7 @@
+ tristate_t exclude_missing_effective;
+ tristate_t exclude_missing_orig;
+
+- std::string emulator::attrib_compile(const std::string& value0, const std::string& value1);
++ std::string attrib_compile(const std::string& value0, const std::string& value1);
+
+ std::string name;
+
+@@ -363,7 +363,7 @@
+ };
+
+ class generic : public emulator {
+- bool generic::load_info(game_set& gar);
++ bool load_info(game_set& gar);
+ public:
+ generic(const std::string& Aname, const std::string& Aexe_path, const std::string& Acmd_arg);
+