diff --git a/gcc43-INT_MAX-qgis-0.9.1.patch b/gcc43-INT_MAX-qgis-0.9.1.patch new file mode 100644 index 0000000..9aa5cc5 --- /dev/null +++ b/gcc43-INT_MAX-qgis-0.9.1.patch @@ -0,0 +1,11 @@ +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 + + #include ++#include + #include + #include + #include diff --git a/qgis.spec b/qgis.spec index 4eab301..811010f 100644 --- a/qgis.spec +++ b/qgis.spec @@ -12,6 +12,7 @@ URL: http://qgis.org/ Source0: http://download.qgis.org/qgis/src/%{name}-%{version}.tar.gz Source1: %{name}.desktop Patch0: python-site-packages-dir-0.9.1.patch +Patch1: gcc43-INT_MAX-qgis-0.9.1.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) Requires: sip @@ -81,6 +82,7 @@ Addtional theme for qgis - nkids %prep %setup -q %patch0 -p1 +%patch1 -p1 %build @@ -207,6 +209,9 @@ desktop-file-install --vendor="fedora" \ %changelog +* Mon Feb 18 2008 Douglas E. Warner 0.9.1-4 +- adding gcc43-INT_MAX-qgis-0.9.1.patch + * Mon Feb 18 2008 Douglas E. Warner 0.9.1-3 - adding Requires sip, PyQt4 for python bindings support