From 41357338f69f905a1a4ccc83476ce59b6d067d5b Mon Sep 17 00:00:00 2001 From: markd Date: Wed, 8 Dec 2004 10:34:53 +0000 Subject: Work around PPC gcc? problem. Fixes PR pkg/28335. --- misc/kdeedu3/distinfo | 3 ++- misc/kdeedu3/patches/patch-ab | 22 ++++++++++++++++++++++ 2 files changed, 24 insertions(+), 1 deletion(-) create mode 100644 misc/kdeedu3/patches/patch-ab 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. -- cgit v1.2.3