- Fix build with gcc 4.X
PR: ports/107369 Submitted by: Jeremy Karlson<karlj000@unbc.ca> (maintainer)
This commit is contained in:
@@ -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;
|
||||
@@ -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[],
|
||||
Reference in New Issue
Block a user