[DebianGIS-dev] r1369 - packages/gdal/trunk/debian/patches
frankie at alioth.debian.org
frankie at alioth.debian.org
Thu Jan 31 11:57:43 UTC 2008
Author: frankie
Date: 2008-01-31 11:57:43 +0000 (Thu, 31 Jan 2008)
New Revision: 1369
Added:
packages/gdal/trunk/debian/patches/gcc43.dpatch
Modified:
packages/gdal/trunk/debian/patches/00list
Log:
Adding gcc 4.3 patch
Modified: packages/gdal/trunk/debian/patches/00list
===================================================================
--- packages/gdal/trunk/debian/patches/00list 2008-01-31 11:48:18 UTC (rev 1368)
+++ packages/gdal/trunk/debian/patches/00list 2008-01-31 11:57:43 UTC (rev 1369)
@@ -4,3 +4,4 @@
doc
rubymakefile
man
+gcc43
Added: packages/gdal/trunk/debian/patches/gcc43.dpatch
===================================================================
--- packages/gdal/trunk/debian/patches/gcc43.dpatch (rev 0)
+++ packages/gdal/trunk/debian/patches/gcc43.dpatch 2008-01-31 11:57:43 UTC (rev 1369)
@@ -0,0 +1,51 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## gcc43.dpatch by Francesco Paolo Lovergine <frankie at debian.org>
+##
+## All lines beginning with `## DP:' are a description of the patch.
+## DP: No description.
+
+ at DPATCH@
+diff -urNad gdal-1.5.0~/frmts/ilwis/ilwisdataset.cpp gdal-1.5.0/frmts/ilwis/ilwisdataset.cpp
+--- gdal-1.5.0~/frmts/ilwis/ilwisdataset.cpp 2007-08-02 23:14:09.000000000 +0200
++++ gdal-1.5.0/frmts/ilwis/ilwisdataset.cpp 2008-01-31 12:55:42.000000000 +0100
+@@ -406,7 +406,6 @@
+ static CPLErr GetStoreType(string pszFileName, ilwisStoreType &stStoreType)
+ {
+ string st = ReadElement("MapStore", "Type", pszFileName.c_str());
+- transform(st.begin(), st.end(), st.begin(), tolower);
+
+ if( EQUAL(st.c_str(),"byte"))
+ {
+@@ -482,8 +481,6 @@
+ else
+ georef = ReadElement("MapList", "GeoRef", osFileName);
+
+- transform(georef.begin(), georef.end(), georef.begin(), tolower);
+-
+ //Capture the geotransform, only if the georef is not 'none',
+ //otherwise, the default transform should be returned.
+ if( (georef.length() != 0) && !EQUAL(georef.c_str(),"none"))
+@@ -788,7 +785,6 @@
+
+ // Fetch coordinate system
+ string csy = ReadElement("GeoRef", "CoordSystem", pszGeoRef);
+- transform(csy.begin(), csy.end(), csy.begin(), tolower);
+
+ string pszProj;
+ if( (csy.length() != 0) && !EQUAL(csy.c_str(),"unknown.csy"))
+@@ -1318,7 +1314,6 @@
+ {
+ string domName = ReadElement("BaseMap", "Domain", pszFileName.c_str());
+ string pszBaseName = string(CPLGetBasename( domName.c_str() ));
+- transform(pszBaseName.begin(), pszBaseName.end(), pszBaseName.begin(), tolower);
+ string pszPath = string(CPLGetPath( pszFileName.c_str() ));
+
+ if (GetStoreType(pszFileName, psInfo.stStoreType) != CE_None)
+@@ -1370,7 +1365,6 @@
+ pszDomainName = string(CPLFormFilename(pszPath.c_str(),pszBaseName.c_str(),"dom" ));
+
+ string domType = ReadElement("Domain", "Type", pszDomainName.c_str());
+- transform(domType.begin(), domType.end(), domType.begin(), tolower);
+ if EQUAL(domType.c_str(),"domainvalue")
+ {
+ if (psInfo.stStoreType == stFloat)
Property changes on: packages/gdal/trunk/debian/patches/gcc43.dpatch
___________________________________________________________________
Name: svn:executable
+ *
More information about the Pkg-grass-devel
mailing list