From cc24115e2a2a6c03baf937817dc98d58289f4642 Mon Sep 17 00:00:00 2001 From: "Douglas E. Warner" Date: Mon, 18 Feb 2008 20:54:47 +0000 Subject: [PATCH] adding gcc43-memcpy-strtod-qgis-0.9.1.patch --- gcc43-memcpy-strtod-qgis-0.9.1.patch | 22 ++++++++++++++++++++++ qgis.spec | 3 +++ 2 files changed, 25 insertions(+) create mode 100644 gcc43-memcpy-strtod-qgis-0.9.1.patch diff --git a/gcc43-memcpy-strtod-qgis-0.9.1.patch b/gcc43-memcpy-strtod-qgis-0.9.1.patch new file mode 100644 index 0000000..c67cc24 --- /dev/null +++ b/gcc43-memcpy-strtod-qgis-0.9.1.patch @@ -0,0 +1,22 @@ +diff -ruN qgis-0.9.1/src/providers/gpx/qgsgpxprovider.cpp qgis-0.9.1-new/src/providers/gpx/qgsgpxprovider.cpp +--- qgis-0.9.1/src/providers/gpx/qgsgpxprovider.cpp 2007-11-04 20:23:41.000000000 -0500 ++++ qgis-0.9.1-new/src/providers/gpx/qgsgpxprovider.cpp 2008-02-18 15:53:38.000000000 -0500 +@@ -22,6 +22,7 @@ + #include + #include + #include ++#include + + // Changed #include to . Apparently some + // debian distros do not include the qapp.h wrapper and the compilation +diff -ruN qgis-0.9.1/src/providers/postgres/qgspostgisbox2d.h qgis-0.9.1-new/src/providers/postgres/qgspostgisbox2d.h +--- qgis-0.9.1/src/providers/postgres/qgspostgisbox2d.h 2007-01-08 21:39:15.000000000 -0500 ++++ qgis-0.9.1-new/src/providers/postgres/qgspostgisbox2d.h 2008-02-18 15:52:43.000000000 -0500 +@@ -20,6 +20,7 @@ + #ifndef QGSPOSTGISBOX2D_H + #define QGSPOSTGISBOX2D_H + ++#include + #include + + #include "qgsrect.h" diff --git a/qgis.spec b/qgis.spec index 07a5e72..f5181ac 100644 --- a/qgis.spec +++ b/qgis.spec @@ -15,6 +15,7 @@ Patch0: python-site-packages-dir-0.9.1.patch Patch1: gcc43-INT_MAX-qgis-0.9.1.patch Patch2: gcc43-duplicate_function_param-qgis-0.9.1.patch Patch3: gcc43-memcpy-qgis-0.9.1.patch +Patch4: gcc43-memcpy-strtod-qgis-0.9.1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: sip @@ -87,6 +88,7 @@ Addtional theme for qgis - nkids %patch1 -p1 %patch2 -p1 %patch3 -p1 +%patch4 -p1 %build @@ -217,6 +219,7 @@ desktop-file-install --vendor="fedora" \ - adding gcc43-INT_MAX-qgis-0.9.1.patch - adding gcc43-duplicate_function_param-qgis-0.9.1.patch - adding gcc43-memcpy-qgis-0.9.1.patch +- adding gcc43-memcpy-strtod-qgis-0.9.1.patch * Mon Feb 18 2008 Douglas E. Warner 0.9.1-3 - adding Requires sip, PyQt4 for python bindings support