changeset 57:51f4d4491b44

new version: MinGW runtime
author Volker Grabsch <vog@notjusthosting.com>
date Tue, 03 Jul 2007 20:46:05 +0200
parents 5e31c0c15313
children 719f55c4c376
files build_mingw_cross_env.sh
diffstat 1 files changed, 4 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Tue Jul 03 11:35:48 2007 +0200
+++ b/build_mingw_cross_env.sh	Tue Jul 03 20:46:05 2007 +0200
@@ -81,7 +81,7 @@
 
 PATH="$PREFIX/bin:$PATH"
 
-VERSION_mingw_runtime=3.9
+VERSION_mingw_runtime=3.12
 VERSION_w32api=3.9
 VERSION_binutils=2.17.50-20060824-1
 VERSION_gcc=3.4.5-20060117-1
@@ -1442,6 +1442,9 @@
     tar xfvj "$DOWNLOAD/geos-$VERSION_geos.tar.bz2"
     cd "geos-$VERSION_geos"
     $SED 's,-lgeos,-lgeos -lstdc++,' -i tools/geos-config.in
+    # timezone and gettimeofday are in <time.h> since MinGW runtime 3.10
+    $SED 's,struct timezone {,struct timezone_disabled {,' -i source/headers/geos/timeval.h
+    $SED 's,int gettimeofday,int gettimeofday_disabled,'   -i source/headers/geos/timeval.h
     ./configure \
         --host="$TARGET" \
         --disable-shared \