# HG changeset patch # User Volker Grabsch # Date 1183488365 -7200 # Node ID 51f4d4491b44be4d7a79598c3dad4d9c865b16eb # Parent 5e31c0c15313613ac7d216a464eea9106ba489ec new version: MinGW runtime diff -r 5e31c0c15313 -r 51f4d4491b44 build_mingw_cross_env.sh --- 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 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 \