pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/misc/kdeedu3 unbreak compilation for gcc 2.95



details:   https://anonhg.NetBSD.org/pkgsrc/rev/aea41912267a
branches:  trunk
changeset: 476628:aea41912267a
user:      markd <markd%pkgsrc.org@localhost>
date:      Wed Jun 16 10:35:08 2004 +0000

description:
unbreak compilation for gcc 2.95

diffstat:

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

diffs (28 lines):

diff -r 944846de1575 -r aea41912267a misc/kdeedu3/distinfo
--- a/misc/kdeedu3/distinfo     Wed Jun 16 04:33:51 2004 +0000
+++ b/misc/kdeedu3/distinfo     Wed Jun 16 10:35:08 2004 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.16 2004/06/10 12:24:35 markd Exp $
+$NetBSD: distinfo,v 1.17 2004/06/16 10:35:08 markd Exp $
 
 SHA1 (kdeedu-3.2.3.tar.bz2) = de6edb1e0fdf65f935780ae1e9cf77489feee34d
 Size (kdeedu-3.2.3.tar.bz2) = 22367583 bytes
 SHA1 (patch-aa) = c214ca252a58424bf28042583a66256f44e697a7
+SHA1 (patch-ab) = 2654f20cfc3e760867add7e20cdc25637d0388b0
diff -r 944846de1575 -r aea41912267a misc/kdeedu3/patches/patch-ab
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/misc/kdeedu3/patches/patch-ab     Wed Jun 16 10:35:08 2004 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.4 2004/06/16 10:35:08 markd Exp $
+
+--- kbruch/src/mainqtwidget.cpp.orig   2004-05-31 04:38:23.000000000 +1200
++++ kbruch/src/mainqtwidget.cpp
+@@ -92,7 +92,7 @@ void MainQtWidget::readOptions()
+       m_maxMainDenominator = m_config->readNumEntry("max_main_denominator", 10);
+ 
+    /* make sure that we can load config files with corrupted values */
+-   if (m_mulDiv == true and pow(2, m_nrRatios) > m_maxMainDenominator)
++   if (m_mulDiv == true && pow(2, m_nrRatios) > m_maxMainDenominator)
+    {
+       m_nrRatios = 2;
+       m_maxMainDenominator = 10;



Home | Main Index | Thread Index | Old Index