aboutsummaryrefslogtreecommitdiff
path: root/emulators/advancemenu
diff options
context:
space:
mode:
authorAlejandro Pulver <alepulver@FreeBSD.org>2007-03-27 17:52:49 +0000
committerAlejandro Pulver <alepulver@FreeBSD.org>2007-03-27 17:52:49 +0000
commit9e3efbd84605b3c46b0f9be0fcfb4aaf0fd4d7bc (patch)
tree9f609e9817256c5752e9d66c33d4669c303563d0 /emulators/advancemenu
parent80769105e4c912f4333d2cbd7fde035ec74addc0 (diff)
downloadports-9e3efbd84605b3c46b0f9be0fcfb4aaf0fd4d7bc.tar.gz
ports-9e3efbd84605b3c46b0f9be0fcfb4aaf0fd4d7bc.zip
- Fix building with GCC 4.x.
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=188570
Diffstat (limited to 'emulators/advancemenu')
-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);
+