File libspectre-0.2.4-vscprintf.patch of Package mingw32-libspectre

diff -u -r libspectre-0.2.4/libspectre/spectre-utils.c libspectre-0.2.4/libspectre/spectre-utils.c
--- libspectre-0.2.4/libspectre/spectre-utils.c	2010-02-03 12:47:57.000000000 +0100
+++ libspectre-0.2.4/libspectre/spectre-utils.c	2010-03-02 16:32:38.000000000 +0100
@@ -38,6 +38,11 @@
 #include <windows.h>
 #endif
 
+#if HAVE__VSCPRINTF && defined(__MINGW32__) && !defined(__MINGW64_VERSION_MAJOR)
+/* MinGW.org provided headers miss this prototype */
+_CRTIMP int __cdecl __MINGW_NOTHROW _vscprintf(const char*, __VALIST);
+#endif 
+
 static unsigned long
 _spectre_get_pid (void)
 {
openSUSE Build Service is sponsored by