Blame SOURCES/gettext-printf_collision.patch

e472ec
diff -rupN --no-dereference gettext-0.21/gettext-runtime/intl/libgnuintl.in.h gettext-0.21-new/gettext-runtime/intl/libgnuintl.in.h
e472ec
--- gettext-0.21/gettext-runtime/intl/libgnuintl.in.h	2020-07-26 22:13:34.000000000 +0200
e472ec
+++ gettext-0.21-new/gettext-runtime/intl/libgnuintl.in.h	2020-08-03 11:57:20.495613456 +0200
e472ec
@@ -431,6 +431,7 @@ extern int vasprintf (char **, const cha
e472ec
 #endif
e472ec
 
e472ec
 #if @HAVE_WPRINTF@
e472ec
+#ifndef __cplusplus
e472ec
 
e472ec
 #undef fwprintf
e472ec
 #define fwprintf libintl_fwprintf
e472ec
@@ -455,6 +456,8 @@ extern int vswprintf (wchar_t *, size_t,
e472ec
 
e472ec
 #endif
e472ec
 
e472ec
+#endif
e472ec
+
e472ec
 #endif
e472ec
 
e472ec