diff options
author | Martin Wilke <miwi@FreeBSD.org> | 2007-01-01 00:00:25 +0000 |
---|---|---|
committer | Martin Wilke <miwi@FreeBSD.org> | 2007-01-01 00:00:25 +0000 |
commit | b0e5ee93809e9c19d0d9b0fc3e8a805edc1d262c (patch) | |
tree | 9f5e830d67dde07b16e277d07934e0e3bda5b796 /games | |
parent | f0dcb0e336f24598f18caaf463267af0647a50ee (diff) | |
download | ports-b0e5ee93809e9c19d0d9b0fc3e8a805edc1d262c.tar.gz ports-b0e5ee93809e9c19d0d9b0fc3e8a805edc1d262c.zip |
- Fix build with gcc 4.X
PR: ports/107369
Submitted by: Jeremy Karlson<karlj000@unbc.ca> (maintainer)
Notes
Notes:
svn path=/head/; revision=181177
Diffstat (limited to 'games')
-rw-r--r-- | games/magiccube4d/files/patch-EventHandler.h | 11 | ||||
-rw-r--r-- | games/magiccube4d/files/patch-Machine.h | 11 | ||||
-rw-r--r-- | games/magiccube4d/files/patch-MagicCube.h (renamed from games/magiccube4d/files/patch-aa) | 0 | ||||
-rw-r--r-- | games/magiccube4d/files/patch-configure (renamed from games/magiccube4d/files/patch-ac) | 0 |
4 files changed, 22 insertions, 0 deletions
diff --git a/games/magiccube4d/files/patch-EventHandler.h b/games/magiccube4d/files/patch-EventHandler.h new file mode 100644 index 000000000000..fe804d118066 --- /dev/null +++ b/games/magiccube4d/files/patch-EventHandler.h @@ -0,0 +1,11 @@ +--- EventHandler.h.orig Sat Dec 30 23:41:44 2006 ++++ EventHandler.h Sat Dec 30 23:42:05 2006 +@@ -165,7 +165,7 @@ + + int number_of_reference_stickers_needed; + int (*reference_stickers_needed)[4]; +- void (EventHandler::*what_to_do_after_got_reference_stickers) (void *arg = NULL); ++ void (EventHandler::*what_to_do_after_got_reference_stickers) (void *arg); + void* cur_ui_data; + + bool quick_mode; diff --git a/games/magiccube4d/files/patch-Machine.h b/games/magiccube4d/files/patch-Machine.h new file mode 100644 index 000000000000..6f2aff1ce4ec --- /dev/null +++ b/games/magiccube4d/files/patch-Machine.h @@ -0,0 +1,11 @@ +--- Machine.h.orig Sat Dec 30 23:43:10 2006 ++++ Machine.h Sat Dec 30 23:43:24 2006 +@@ -31,7 +31,7 @@ + { + public: + typedef void (EventHandler::*event_handler)(EventHandler::Event*, +- void *arg = 0); ++ void *arg); + virtual ~Machine() {}; + + static Machine* createMachine(EventHandler*, int& argc, char *argv[], diff --git a/games/magiccube4d/files/patch-aa b/games/magiccube4d/files/patch-MagicCube.h index 679833718394..679833718394 100644 --- a/games/magiccube4d/files/patch-aa +++ b/games/magiccube4d/files/patch-MagicCube.h diff --git a/games/magiccube4d/files/patch-ac b/games/magiccube4d/files/patch-configure index 64b94330901e..64b94330901e 100644 --- a/games/magiccube4d/files/patch-ac +++ b/games/magiccube4d/files/patch-configure |