aboutsummaryrefslogtreecommitdiffstats
path: root/games/gnustep-ladder
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-05-24 04:51:27 +0800
committerdinoex <dinoex@FreeBSD.org>2010-05-24 04:51:27 +0800
commit5dd76f2fccd6f98568fdec08566c786a114ddf37 (patch)
treeb517ced326dcf66b1e3c13f5b6aaf41add629d91 /games/gnustep-ladder
parent211a882e5b7eb8f967d8e1ecec4d37339f9a71d0 (diff)
downloadfreebsd-ports-gnome-5dd76f2fccd6f98568fdec08566c786a114ddf37.tar.gz
freebsd-ports-gnome-5dd76f2fccd6f98568fdec08566c786a114ddf37.tar.zst
freebsd-ports-gnome-5dd76f2fccd6f98568fdec08566c786a114ddf37.zip
- fix build for gnustep-base 1.21.0
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;
+ }