X-Git-Url: http://git.pld-linux.org/?p=packages%2Fgdal.git;a=blobdiff_plain;f=gdal-sh.patch;h=cacf3e093bef1d2ebdd3e666cb0acd2e68385225;hp=873f02caf2de6a99a5e4455ba9abebd4e92671e4;hb=34c8e030c2b2ede9ca301b3812fab60cb94bbd05;hpb=eee71fa9b89f281808643e3e97048b2fdb6b340c diff --git a/gdal-sh.patch b/gdal-sh.patch index 873f02c..cacf3e0 100644 --- a/gdal-sh.patch +++ b/gdal-sh.patch @@ -1,17 +1,5 @@ ---- gdal-1.2.5/configure.in.orig 2005-01-16 03:01:31.252567000 +0100 -+++ gdal-1.2.5/configure.in 2005-01-16 03:09:32.131462448 +0100 -@@ -1111,9 +1111,9 @@ - AC_MSG_ERROR([--with-mysql argument is a not an executable file. It should be the path to the mysql_config script, often somewhere like /usr/local/bin/mysql_config.]) - fi - -- MYSQL_VERSION="`$MYSQL_CONFIG --version`" -+ MYSQL_VERSION="`$MYSQL_CONFIG --version | cut -d . -f 1`" - -- if test ${MYSQL_VERSION:0:1} -ge 4 ; then -+ if test ${MYSQL_VERSION} -ge 4 ; then - HAVE_MYSQL=yes - MYSQL_LIB="`$MYSQL_CONFIG --libs`" - MYSQL_INC="`$MYSQL_CONFIG --include`" +--- gdal-1.2.6/configure.in.orig 2005-01-16 03:01:31.252567000 +0100 ++++ gdal-1.2.6/configure.in 2005-01-16 03:09:32.131462448 +0100 @@ -1388,7 +1388,8 @@ if test "$GEOS_CONFIG" != "no" ; then