diff options
author | markd <markd@pkgsrc.org> | 2004-12-08 10:34:53 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-12-08 10:34:53 +0000 |
commit | c70f2d31647b2c9b67904bc3026b8d51f5656c66 (patch) | |
tree | b1d36c4f2606323a354e7d278176b5785dacf120 /misc | |
parent | d1026745046ba0d23f4abddeafeb0c8a7798cc99 (diff) | |
download | pkgsrc-c70f2d31647b2c9b67904bc3026b8d51f5656c66.tar.gz |
Work around PPC gcc? problem.
Fixes PR pkg/28335.
Diffstat (limited to 'misc')
-rw-r--r-- | misc/kdeedu3/distinfo | 3 | ||||
-rw-r--r-- | misc/kdeedu3/patches/patch-ab | 22 |
2 files changed, 24 insertions, 1 deletions
diff --git a/misc/kdeedu3/distinfo b/misc/kdeedu3/distinfo index 07ac18a8553..fc2b195ed7d 100644 --- a/misc/kdeedu3/distinfo +++ b/misc/kdeedu3/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.19 2004/10/13 12:34:51 markd Exp $ +$NetBSD: distinfo,v 1.20 2004/12/08 10:34:53 markd Exp $ SHA1 (kdeedu-3.3.1.tar.bz2) = 03217cbfd095341d71ff1b53062361671dc5dded Size (kdeedu-3.3.1.tar.bz2) = 22006150 bytes SHA1 (patch-aa) = d66c0a9fb5cf367b65c845e4a46b8353dd033cfc +SHA1 (patch-ab) = 6f7122f34d2894489b933d90644022f71192b023 diff --git a/misc/kdeedu3/patches/patch-ab b/misc/kdeedu3/patches/patch-ab new file mode 100644 index 00000000000..efabed95977 --- /dev/null +++ b/misc/kdeedu3/patches/patch-ab @@ -0,0 +1,22 @@ +$NetBSD: patch-ab,v 1.6 2004/12/08 10:34:53 markd Exp $ + +--- kstars/kstars/timezonerule.cpp.orig 2004-12-07 23:55:20.000000000 +1300 ++++ kstars/kstars/timezonerule.cpp +@@ -228,7 +228,7 @@ void TimeZoneRule::nextDSTChange_LTime( + KStarsDateTime result; + + // return a very remote date if the rule is the empty rule. +- if ( isEmptyRule() ) result = KStarsDateTime( INVALID_DAY ); ++ if ( isEmptyRule() ) result = KStarsDateTime( (long) INVALID_DAY ); + + else if ( deltaTZ() ) { + // Next change is reverting back to standard time. +@@ -262,7 +262,7 @@ void TimeZoneRule::previousDSTChange_LTi + KStarsDateTime result; + + // return a very remote date if the rule is the empty rule +- if ( isEmptyRule() ) next_change_ltime = KStarsDateTime( INVALID_DAY ); ++ if ( isEmptyRule() ) next_change_ltime = KStarsDateTime( (long) INVALID_DAY ); + + if ( deltaTZ() ) { + // Last change was starting DST. |