- adding gcc43-INT_MAX-qgis-0.9.1.patch
This commit is contained in:
parent
2c0d90e5e3
commit
9a7c41ff30
11
gcc43-INT_MAX-qgis-0.9.1.patch
Normal file
11
gcc43-INT_MAX-qgis-0.9.1.patch
Normal file
|
@ -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 <QTranslator>
|
||||||
|
|
||||||
|
#include <iostream>
|
||||||
|
+#include <climits>
|
||||||
|
#include <cstdio>
|
||||||
|
#include <stdio.h>
|
||||||
|
#include <stdlib.h>
|
|
@ -12,6 +12,7 @@ URL: http://qgis.org/
|
||||||
Source0: http://download.qgis.org/qgis/src/%{name}-%{version}.tar.gz
|
Source0: http://download.qgis.org/qgis/src/%{name}-%{version}.tar.gz
|
||||||
Source1: %{name}.desktop
|
Source1: %{name}.desktop
|
||||||
Patch0: python-site-packages-dir-0.9.1.patch
|
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)
|
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
|
||||||
|
|
||||||
Requires: sip
|
Requires: sip
|
||||||
|
@ -81,6 +82,7 @@ Addtional theme for qgis - nkids
|
||||||
%prep
|
%prep
|
||||||
%setup -q
|
%setup -q
|
||||||
%patch0 -p1
|
%patch0 -p1
|
||||||
|
%patch1 -p1
|
||||||
|
|
||||||
|
|
||||||
%build
|
%build
|
||||||
|
@ -207,6 +209,9 @@ desktop-file-install --vendor="fedora" \
|
||||||
|
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Mon Feb 18 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.1-4
|
||||||
|
- adding gcc43-INT_MAX-qgis-0.9.1.patch
|
||||||
|
|
||||||
* Mon Feb 18 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.1-3
|
* Mon Feb 18 2008 Douglas E. Warner <silfreed@silfreed.net> 0.9.1-3
|
||||||
- adding Requires sip, PyQt4 for python bindings support
|
- adding Requires sip, PyQt4 for python bindings support
|
||||||
|
|
||||||
|
|
Reference in New Issue
Block a user