summaryrefslogtreecommitdiff
path: root/misc/kdeutils2/patches/patch-ae
diff options
context:
space:
mode:
authorskrll <skrll>2001-03-14 16:05:41 +0000
committerskrll <skrll>2001-03-14 16:05:41 +0000
commit619f4c4ab7dc95d1aa9dda0f741f54822058dea8 (patch)
treeb9fe088fab997d0e6078de485e2af847adee08c8 /misc/kdeutils2/patches/patch-ae
parentb2987fb2a0a42000ed0a2e26367657f70f67530a (diff)
downloadpkgsrc-619f4c4ab7dc95d1aa9dda0f741f54822058dea8.tar.gz
Import of KDE 2.1 kdeutils package.
Diffstat (limited to 'misc/kdeutils2/patches/patch-ae')
-rw-r--r--misc/kdeutils2/patches/patch-ae31
1 files changed, 31 insertions, 0 deletions
diff --git a/misc/kdeutils2/patches/patch-ae b/misc/kdeutils2/patches/patch-ae
new file mode 100644
index 00000000000..bae4e8ba66a
--- /dev/null
+++ b/misc/kdeutils2/patches/patch-ae
@@ -0,0 +1,31 @@
+$NetBSD: patch-ae,v 1.1.1.1 2001/03/14 16:05:48 skrll Exp $
+
+--- khexedit/printerdialog.cc.orig Sun Oct 1 13:14:02 2000
++++ khexedit/printerdialog.cc
+@@ -18,7 +18,7 @@
+ *
+ */
+
+-#include <values.h>
++#include <limits.h>
+
+ #include <qbuttongroup.h>
+ #include <qcombobox.h>
+@@ -590,7 +590,7 @@
+ mOption.pageSpin->setFixedHeight( mOption.pageSpin->sizeHint().height() );
+ mOption.pageSpin->setMinimumWidth(
+ mOption.pageSpin->fontMetrics().width("M")*10 );
+- mOption.pageSpin->setRange( 1, MAXINT );
++ mOption.pageSpin->setRange( 1, INT_MAX );
+
+ text = i18n("&Number of copies");
+ QLabel *pageLabel = new QLabel( mOption.pageSpin, text, page );
+@@ -707,7 +707,7 @@
+ mLayout.marginSpin[i]->sizeHint().height() );
+ mLayout.marginSpin[i]->setMinimumWidth(
+ mLayout.marginSpin[i]->fontMetrics().width("M")*10 );
+- mLayout.marginSpin[i]->setRange( 0, MAXINT );
++ mLayout.marginSpin[i]->setRange( 0, INT_MAX );
+
+ QLabel *label = new QLabel( mLayout.marginSpin[i], name[i], group );
+ label->setFixedHeight( mLayout.marginSpin[i]->sizeHint().height() );