summaryrefslogtreecommitdiff
path: root/mail-filter/libspf2/files/libspf2-1.2.10-gcc5.patch
blob: 75b3fb899b3ed974268bdf1b6c8b0ffef20ccdf3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
https://github.com/shevek/libspf2/issues/13
https://bugs.gentoo.org/show_bug.cgi?id=570486

--- a/src/include/spf_log.h
+++ b/src/include/spf_log.h
@@ -60,10 +60,10 @@

 #if defined( __STDC_VERSION__ ) && __STDC_VERSION__ >= 199901L

-#define SPF_errorf(format, ... ) SPF_errorx( __FILE__, __LINE__, format, __VA_ARGS__ )
-#define SPF_warningf(format, ... ) SPF_warningx( __FILE__, __LINE__, format, __VA_ARGS__ )
-#define SPF_infof(format, ... ) SPF_infox( __FILE__, __LINE__, format, __VA_ARGS__ )
-#define SPF_debugf(format, ... ) SPF_debugx( __FILE__, __LINE__, format, __VA_ARGS__ )
+#define SPF_errorf(...) SPF_errorx( __FILE__, __LINE__, __VA_ARGS__ )
+#define SPF_warningf(...) SPF_warningx( __FILE__, __LINE__, __VA_ARGS__ )
+#define SPF_infof(...) SPF_infox( __FILE__, __LINE__, __VA_ARGS__ )
+#define SPF_debugf(...) SPF_debugx( __FILE__, __LINE__, __VA_ARGS__ )

 #elif defined( __GNUC__ )