PKGBUILDs/gettext/mingw-w64/08-vs-compatible.patch
Martchus b12ed5b227 Import and update mingw-w64-gettext from AUR
- Update to 0.19.8.1
- Fix patches
- Further patching to prevent linker errors
- Provide pkgconfig file for iconv

File for pkgconfig might help preventing errors when building
static Qt 5 modules.
2016-08-12 21:41:13 +02:00

12 lines
682 B
Diff

--- gettext-runtime/intl/libgnuintl.in.h.old 2015-06-15 10:40:11.594942600 +0200
+++ gettext-runtime/intl/libgnuintl.in.h 2015-06-15 10:40:50.579345400 +0200
@@ -336,7 +336,7 @@ extern int vfprintf (FILE *, const char
#if !(defined printf && defined _GL_STDIO_H) /* don't override gnulib */
#undef printf
-#if defined __NetBSD__ || defined __BEOS__ || defined __CYGWIN__ || defined __MINGW32__
+#if defined __NetBSD__ || defined __BEOS__ || defined __CYGWIN__ || defined __MINGW32__ || defined _MSC_VER
/* Don't break __attribute__((format(printf,M,N))).
This redefinition is only possible because the libc in NetBSD, Cygwin,
mingw does not have a function __printf__.