adding gcc43-memcpy-strtod-qgis-0.9.1.patch

This commit is contained in:
Douglas E. Warner 2008-02-18 20:54:47 +00:00
parent 5f82a98050
commit cc24115e2a
2 changed files with 25 additions and 0 deletions

View File

@ -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 <iostream>
#include <limits>
#include <cmath>
+#include <cstring>
// Changed #include <qapp.h> to <qapplication.h>. 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 <cstdlib>
#include <string>
#include "qgsrect.h"

View File

@ -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 <silfreed@silfreed.net> 0.9.1-3
- adding Requires sip, PyQt4 for python bindings support