changeset 18:a1eb4876e04b

more bugfixes for: w32api
author Volker Grabsch <vog@notjusthosting.com>
date Wed, 20 Jun 2007 12:19:31 +0200
parents 47e63f097788
children 8af3bebbd94c
files build_mingw_cross_env.sh
diffstat 1 files changed, 6 insertions(+), 5 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Wed Jun 20 09:40:12 2007 +0200
+++ b/build_mingw_cross_env.sh	Wed Jun 20 12:19:31 2007 +0200
@@ -188,11 +188,12 @@
     install -d "$PREFIX/$TARGET"
     cd "$PREFIX/$TARGET"
     tar xfvz "$DOWNLOAD/w32api-$VERSION_w32api.tar.gz"
-    sed '
-        s,\(SUBLANG_BENGALI_INDIA\t\)0x01,\10x00,
-        s,\(SUBLANG_PUNJABI_INDIA\t\)0x01,\10x00,
-        s,\(SUBLANG_ROMANIAN_ROMANIA\t\)0x01,\10x00,
-        ' -i "$PREFIX/$TARGET/include/winnt.h"
+    # fix incompatibilities with gettext
+    sed 's,\(SUBLANG_BENGALI_INDIA\t\)0x01,\10x00,'    -i "$PREFIX/$TARGET/include/winnt.h"
+    sed 's,\(SUBLANG_PUNJABI_INDIA\t\)0x01,\10x00,'    -i "$PREFIX/$TARGET/include/winnt.h"
+    sed 's,\(SUBLANG_ROMANIAN_ROMANIA\t\)0x01,\10x00,' -i "$PREFIX/$TARGET/include/winnt.h"
+    # fix incompatibilities with jpeg
+    sed 's,typedef unsigned char boolean;,,'           -i "$PREFIX/$TARGET/include/rpcndr.h"
     ;;
 
 esac