summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2010-05-23 20:51:27 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2010-05-23 20:51:27 +0000
commitcf38b673c9d0d64f2f6303cbd51829725cbe9994 (patch)
treedecd4ea843a45a8c9335888f3542946d0a804f3a /games
parentChase devel/glade3 shlib bump (diff)
- fix build for gnustep-base 1.21.0
Diffstat (limited to 'games')
-rw-r--r--games/gmastermind/files/patch-Controller.h10
-rw-r--r--games/gnustep-ladder/files/patch-Clock.h22
-rw-r--r--games/gnustep-ladder/files/patch-Clock.m20
3 files changed, 52 insertions, 0 deletions
diff --git a/games/gmastermind/files/patch-Controller.h b/games/gmastermind/files/patch-Controller.h
new file mode 100644
index 000000000000..1899dabbc468
--- /dev/null
+++ b/games/gmastermind/files/patch-Controller.h
@@ -0,0 +1,10 @@
+--- Controller.h.orig 2005-02-08 12:21:42.000000000 +0100
++++ Controller.h 2010-05-23 07:14:06.000000000 +0200
+@@ -37,6 +37,7 @@
+ #include <AppKit/NSFont.h>
+ #include <AppKit/NSWindow.h>
+ #include <AppKit/NSMenu.h>
++#include <AppKit/NSPanel.h>
+
+ typedef enum {
+ MENU_NEW_WITH_REP = 500,
diff --git a/games/gnustep-ladder/files/patch-Clock.h b/games/gnustep-ladder/files/patch-Clock.h
new file mode 100644
index 000000000000..15cd617c68da
--- /dev/null
+++ b/games/gnustep-ladder/files/patch-Clock.h
@@ -0,0 +1,22 @@
+--- Clock.h.orig 2005-09-16 00:49:12.000000000 +0200
++++ Clock.h 2010-05-23 07:03:45.000000000 +0200
+@@ -24,7 +24,7 @@
+
+ NSFont *font;
+
+- NSDate *_date;
++ NSCalendarDate *_date;
+
+ NSTimeZone *_timeZone;
+ NSTimeInterval _tzv;
+@@ -47,8 +47,8 @@
+
+ - (void) setTimeZone:(NSTimeZone *)tz;
+ - (NSTimeZone *) timeZone;
+-- (void) setDate:(NSDate *)date;
+-- (NSDate *) date;
++- (void) setDate:(NSCalendarDate *)date;
++- (NSCalendarDate *) date;
+
+ /* move a clock to CSClockView and put these theming method into subclass */
+
diff --git a/games/gnustep-ladder/files/patch-Clock.m b/games/gnustep-ladder/files/patch-Clock.m
new file mode 100644
index 000000000000..f3072847cf15
--- /dev/null
+++ b/games/gnustep-ladder/files/patch-Clock.m
@@ -0,0 +1,20 @@
+--- Clock.m.orig 2005-09-16 00:49:12.000000000 +0200
++++ Clock.m 2010-05-23 07:03:08.000000000 +0200
+@@ -834,7 +834,7 @@
+ return _timeZone;
+ }
+
+-- (void) setDate:(NSDate *)date
++- (void) setDate:(NSCalendarDate *)date
+ {
+ ASSIGN(_date, date);
+ handsTime = [date timeIntervalSinceReferenceDate] + _tzv;
+@@ -842,7 +842,7 @@
+ [self setNeedsDisplay: YES];
+ }
+
+-- (NSDate *) date
++- (NSCalendarDate *) date
+ {
+ return _date;
+ }