From cf38b673c9d0d64f2f6303cbd51829725cbe9994 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 23 May 2010 20:51:27 +0000 Subject: - fix build for gnustep-base 1.21.0 --- games/gmastermind/files/patch-Controller.h | 10 ++++++++++ games/gnustep-ladder/files/patch-Clock.h | 22 ++++++++++++++++++++++ games/gnustep-ladder/files/patch-Clock.m | 20 ++++++++++++++++++++ 3 files changed, 52 insertions(+) create mode 100644 games/gmastermind/files/patch-Controller.h create mode 100644 games/gnustep-ladder/files/patch-Clock.h create mode 100644 games/gnustep-ladder/files/patch-Clock.m (limited to 'games') 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 + #include + #include ++#include + + 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; + } -- cgit v1.2.3