diff options
Diffstat (limited to 'plugins/examples/qt5-freeze/qtxmlpatterns-1.patch')
-rw-r--r-- | plugins/examples/qt5-freeze/qtxmlpatterns-1.patch | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/plugins/examples/qt5-freeze/qtxmlpatterns-1.patch b/plugins/examples/qt5-freeze/qtxmlpatterns-1.patch new file mode 100644 index 0000000..f90018c --- /dev/null +++ b/plugins/examples/qt5-freeze/qtxmlpatterns-1.patch @@ -0,0 +1,23 @@ +This file is part of MXE. See LICENSE.md for licensing information. + +From 5a2c60539f7cf6626bbeef3cca44aa172a64cc23 Mon Sep 17 00:00:00 2001 +From: Mark Brand <mabrand@mabrand.nl> +Date: Sat, 18 May 2013 17:03:55 +0200 +Subject: [PATCH] mingw build fix: _fileno + + +diff --git a/tools/xmlpatterns/xmlpatterns.pro b/tools/xmlpatterns/xmlpatterns.pro +index 0f1ee4f..2fdebb1 100644 +--- a/tools/xmlpatterns/xmlpatterns.pro ++++ b/tools/xmlpatterns/xmlpatterns.pro +@@ -11,6 +11,7 @@ HEADERS = main.h \ + qapplicationargument.cpp \ + qapplicationargumentparser.cpp + ++win32-g++*:QMAKE_CXXFLAGS += -U__STRICT_ANSI__ + load(qt_tool) + + # with c++11 / __STRICT_ANSI__ mingw.org stdio.h doesn't declare e.g. _fileno +-- +1.8.4.5 + |