diff options
author | markd <markd> | 2004-12-08 10:34:53 +0000 |
---|---|---|
committer | markd <markd> | 2004-12-08 10:34:53 +0000 |
commit | 861ccd9119076e5172570d4cf85ff410a32a9fb7 (patch) | |
tree | b1d36c4f2606323a354e7d278176b5785dacf120 /misc | |
parent | b178dea865055f7bc2a8e7da70ca0bd45888fb59 (diff) | |
download | pkgsrc-861ccd9119076e5172570d4cf85ff410a32a9fb7.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. |