changeset 78:519bf927bd9e

bugfixes for libowfat (by Rocco Rutte)
author Volker Grabsch <vog@notjusthosting.com>
date Fri, 20 Jul 2007 21:41:44 +0200
parents ec57969fef5d
children 59da326f770e
files build_mingw_cross_env.sh
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/build_mingw_cross_env.sh	Thu Jul 19 00:56:28 2007 +0200
+++ b/build_mingw_cross_env.sh	Fri Jul 20 21:41:44 2007 +0200
@@ -1947,6 +1947,7 @@
     cd "$SOURCE"
     tar xfvj "$DOWNLOAD/libowfat-$VERSION_libowfat.tar.bz2"
     cd "libowfat-$VERSION_libowfat"
+    $SED 's,gcc -I\. -MM,$(CROSS)gcc -I. -MM,' -i GNUmakefile
     $MAKE Makefile -f GNUmakefile \
         CROSS="$TARGET-" \
         prefix="$PREFIX/$TARGET" \
@@ -1957,6 +1958,7 @@
         prefix="$PREFIX/$TARGET" \
         INCLUDEDIR="$PREFIX/$TARGET/include/libowfat" \
         DIET=
+    $SED 's,#include_next <io.h>,#include <io.h>,' -i "$PREFIX/$TARGET/include/libowfat/io.h"
     cd "$SOURCE"
     rm -rfv "libowfat-$VERSION_libowfat"
     ;;