diff options
author | dinoex <dinoex@FreeBSD.org> | 2010-05-24 04:51:27 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2010-05-24 04:51:27 +0800 |
commit | 5dd76f2fccd6f98568fdec08566c786a114ddf37 (patch) | |
tree | b517ced326dcf66b1e3c13f5b6aaf41add629d91 /games/gnustep-ladder | |
parent | 211a882e5b7eb8f967d8e1ecec4d37339f9a71d0 (diff) | |
download | freebsd-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.h | 22 | ||||
-rw-r--r-- | games/gnustep-ladder/files/patch-Clock.m | 20 |
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; + } |