aboutsummaryrefslogtreecommitdiff
path: root/games/gnustep-ladder
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/gnustep-ladder
parent434871ff18beb46a362cd1c62c66944e27e2552c (diff)
downloadports-cf38b673c9d0d64f2f6303cbd51829725cbe9994.tar.gz
ports-cf38b673c9d0d64f2f6303cbd51829725cbe9994.zip
- fix build for gnustep-base 1.21.0
Notes
Notes: svn path=/head/; revision=254910
Diffstat (limited to 'games/gnustep-ladder')
-rw-r--r--games/gnustep-ladder/files/patch-Clock.h22
-rw-r--r--games/gnustep-ladder/files/patch-Clock.m20
2 files changed, 42 insertions, 0 deletions
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;
+ }