From d11c840ff7bc6c21418096062df510a25a25a85e Mon Sep 17 00:00:00 2001 From: "Douglas E. Warner" Date: Mon, 18 Feb 2008 20:13:11 +0000 Subject: [PATCH] adding gcc43-memcpy-qgis-0.9.1.patch --- gcc43-memcpy-qgis-0.9.1.patch | 11 +++++++++++ qgis.spec | 3 +++ 2 files changed, 14 insertions(+) create mode 100644 gcc43-memcpy-qgis-0.9.1.patch diff --git a/gcc43-memcpy-qgis-0.9.1.patch b/gcc43-memcpy-qgis-0.9.1.patch new file mode 100644 index 0000000..5c42c9b --- /dev/null +++ b/gcc43-memcpy-qgis-0.9.1.patch @@ -0,0 +1,11 @@ +diff -ruN qgis-0.9.1/src/core/spatialindex/include/Tools.h qgis-0.9.1-new/src/core/spatialindex/include/Tools.h +--- qgis-0.9.1/src/core/spatialindex/include/Tools.h 2007-09-27 15:41:16.000000000 -0400 ++++ qgis-0.9.1-new/src/core/spatialindex/include/Tools.h 2008-02-18 15:11:48.000000000 -0500 +@@ -43,6 +43,7 @@ + #include + #include + #include ++#include + + #if TIME_WITH_SYS_TIME + #include diff --git a/qgis.spec b/qgis.spec index 400effd..07a5e72 100644 --- a/qgis.spec +++ b/qgis.spec @@ -14,6 +14,7 @@ Source1: %{name}.desktop 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 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: sip @@ -85,6 +86,7 @@ Addtional theme for qgis - nkids %patch0 -p1 %patch1 -p1 %patch2 -p1 +%patch3 -p1 %build @@ -214,6 +216,7 @@ desktop-file-install --vendor="fedora" \ * Mon Feb 18 2008 Douglas E. Warner 0.9.1-4 - 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 * Mon Feb 18 2008 Douglas E. Warner 0.9.1-3 - adding Requires sip, PyQt4 for python bindings support