pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/misc/kdeedu3 Work around PPC gcc? problem.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/62e2a81b5325
branches:  trunk
changeset: 485366:62e2a81b5325
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Dec 08 10:34:53 2004 +0000

description:
Work around PPC gcc? problem.
Fixes PR pkg/28335.

diffstat:

 misc/kdeedu3/distinfo         |   3 ++-
 misc/kdeedu3/patches/patch-ab |  22 ++++++++++++++++++++++
 2 files changed, 24 insertions(+), 1 deletions(-)

diffs (37 lines):

diff -r 9a6b7614d1d5 -r 62e2a81b5325 misc/kdeedu3/distinfo
--- a/misc/kdeedu3/distinfo     Wed Dec 08 08:58:31 2004 +0000
+++ b/misc/kdeedu3/distinfo     Wed Dec 08 10:34:53 2004 +0000
@@ -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 -r 9a6b7614d1d5 -r 62e2a81b5325 misc/kdeedu3/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kdeedu3/patches/patch-ab     Wed Dec 08 10:34:53 2004 +0000
@@ -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.



Home | Main Index | Thread Index | Old Index