tag 351372 + pending upstream thanks The attached patch from upstream has been committed to the debian-gis cvs repository.
-- bye, pabs http://wiki.debian.org/PaulWise
diff -u gdal-1.3.1/debian/changelog gdal-1.3.1/debian/changelog --- gdal-1.3.1/debian/changelog +++ gdal-1.3.1/debian/changelog @@ -1,3 +1,9 @@ +gdal (1.3.1-4) unstable; urgency=low + + * Fix FTBFS on mipsel with patch from upstream. Closes: #351372 + + -- Paul Wise <[EMAIL PROTECTED]> Wed, 8 Feb 2006 00:12:41 +0800 + gdal (1.3.1-3) unstable; urgency=high [ Francesco Paolo Lovergine ] diff -u gdal-1.3.1/debian/patches/00list gdal-1.3.1/debian/patches/00list --- gdal-1.3.1/debian/patches/00list +++ gdal-1.3.1/debian/patches/00list @@ -1,0 +2 @@ +351372_mipsel_ftbfs --- gdal-1.3.1.orig/debian/patches/351372_mipsel_ftbfs.dpatch +++ gdal-1.3.1/debian/patches/351372_mipsel_ftbfs.dpatch @@ -0,0 +1,70 @@ +#! /bin/sh /usr/share/dpatch/dpatch-run +## 351372_mipsel_ftbfs.dpatch by Paul Wise <[EMAIL PROTECTED]> +## +## All lines beginning with `## DP:' are a description of the patch. +## DP: Fix #351372: mipsel FTBFS + [EMAIL PROTECTED]@ +diff -urNad gdal-1.3.1~/frmts/pcraster/libcsf/csftypes.h gdal-1.3.1/frmts/pcraster/libcsf/csftypes.h +--- gdal-1.3.1~/frmts/pcraster/libcsf/csftypes.h 2005-09-29 04:54:53.000000000 +0800 ++++ gdal-1.3.1/frmts/pcraster/libcsf/csftypes.h 2006-02-08 00:10:55.000000000 +0800 +@@ -91,19 +91,22 @@ + #endif + + /* endian mode +- * DEFINE WITH -D +- * first probe a few: ++ * DEFINE WITH -D or find here + */ + #ifndef CPU_BIG_ENDIAN + # ifndef CPU_LITTLE_ENDIAN + +-/* GDAL CPL STYLE */ +-#ifdef CPL_LSB +-# define CPU_LITTLE_ENDIAN +-#endif +-#ifdef CPL_MSB +-# define CPU_BIG_ENDIAN +-#endif ++#ifdef USE_IN_GDAL ++ /* GDAL CPL STYLE */ ++# ifdef CPL_LSB ++# define CPU_LITTLE_ENDIAN ++# endif ++# ifdef CPL_MSB ++# define CPU_BIG_ENDIAN ++# endif ++ ++#else ++ /* probe a few: */ + + #ifdef _AIX + /* IBM AIX defines this on RS/6000 */ +@@ -115,10 +118,13 @@ + # define CPU_BIG_ENDIAN + #endif + +-#ifdef mips +-/* works on the SGI machines */ +-# define CPU_BIG_ENDIAN +-#endif ++/* ++ * #ifdef mips ++ * worked once on the SGI machines ++ * but mips has both endian architectures ++ * # define CPU_BIG_ENDIAN ++ * #endif ++ */ + + #ifdef __alpha + /* DEC alpha defines this +@@ -145,6 +151,9 @@ + # define CPU_BIG_ENDIAN + #endif + ++/* endif probing */ ++# endif ++ + /* endif no ENDIAN defined */ + # endif + #endif
signature.asc
Description: This is a digitally signed message part
_______________________________________________ Pkg-grass-devel mailing list Pkg-grass-devel@lists.alioth.debian.org http://lists.alioth.debian.org/mailman/listinfo/pkg-grass-devel