diff options
author | markd <markd@pkgsrc.org> | 2004-06-16 10:35:08 +0000 |
---|---|---|
committer | markd <markd@pkgsrc.org> | 2004-06-16 10:35:08 +0000 |
commit | 0e3e65e5b29472a0f45b6c46adb06fb56b2121fb (patch) | |
tree | 2432bbdec8510b6e4f320683574c3142fc93cdd7 /misc/kdeedu3 | |
parent | 09c6589bc3f3360b782be59144d68253c8e15049 (diff) | |
download | pkgsrc-0e3e65e5b29472a0f45b6c46adb06fb56b2121fb.tar.gz |
unbreak compilation for gcc 2.95
Diffstat (limited to 'misc/kdeedu3')
-rw-r--r-- | misc/kdeedu3/distinfo | 3 | ||||
-rw-r--r-- | misc/kdeedu3/patches/patch-ab | 13 |
2 files changed, 15 insertions, 1 deletions
diff --git a/misc/kdeedu3/distinfo b/misc/kdeedu3/distinfo index 66655421012..de62e71540c 100644 --- a/misc/kdeedu3/distinfo +++ b/misc/kdeedu3/distinfo @@ -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 --git a/misc/kdeedu3/patches/patch-ab b/misc/kdeedu3/patches/patch-ab new file mode 100644 index 00000000000..afc4ae8b2eb --- /dev/null +++ b/misc/kdeedu3/patches/patch-ab @@ -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; |