This repository has been archived on 2019-08-07. You can view files and clone it, but cannot push or open issues or pull requests.
copr-dani-qgis/gcc43-INT_MAX-qgis-0.9.1.patch
2008-02-18 19:23:02 +00:00

34 lines
1.2 KiB
Diff

diff -ruN qgis-0.9.1/src/app/main.cpp qgis-0.9.1-new/src/app/main.cpp
--- qgis-0.9.1/src/app/main.cpp 2007-11-10 16:57:38.000000000 -0500
+++ qgis-0.9.1-new/src/app/main.cpp 2008-02-18 12:57:17.000000000 -0500
@@ -35,6 +35,7 @@
#include <QTranslator>
#include <iostream>
+#include <climits>
#include <cstdio>
#include <stdio.h>
#include <stdlib.h>
diff -ruN qgis-0.9.1/src/core/qgsvectordataprovider.cpp qgis-0.9.1-new/src/core/qgsvectordataprovider.cpp
--- qgis-0.9.1/src/core/qgsvectordataprovider.cpp 2007-07-06 09:39:41.000000000 -0400
+++ qgis-0.9.1-new/src/core/qgsvectordataprovider.cpp 2008-02-18 14:21:09.000000000 -0500
@@ -16,6 +16,7 @@
#include <QTextCodec>
+#include <climits>
#include <cfloat> // for DBL_MAX
#include "qgsvectordataprovider.h"
diff -ruN qgis-0.9.1/src/core/qgsvectorlayer.cpp qgis-0.9.1-new/src/core/qgsvectorlayer.cpp
--- qgis-0.9.1/src/core/qgsvectorlayer.cpp 2007-11-27 16:35:10.000000000 -0500
+++ qgis-0.9.1-new/src/core/qgsvectorlayer.cpp 2008-02-18 14:04:09.000000000 -0500
@@ -22,6 +22,7 @@
/* $Id: qgsvectorlayer.cpp 7672 2007-11-27 21:35:10Z jef $ */
#include <cassert>
+#include <climits>
#include <cfloat>
#include <cstring>
#include <cmath>