diff options
author | markd <markd> | 2004-06-16 10:35:08 +0000 |
---|---|---|
committer | markd <markd> | 2004-06-16 10:35:08 +0000 |
commit | 9df3ac54f0c09aef0f6bdc64340d3e23c6789533 (patch) | |
tree | 2432bbdec8510b6e4f320683574c3142fc93cdd7 /misc/kdeedu3 | |
parent | 2b8348e08fea06871aa095fe31433cd32141e336 (diff) | |
download | pkgsrc-9df3ac54f0c09aef0f6bdc64340d3e23c6789533.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; |