Subversion Repositories libspf2

Compare Revisions

Regard whitespace Rev 89 → Rev 91

/trunk/debian/changelog
1,3 → 1,10
libspf2 (1.2.10-6) unstable; urgency=medium
 
* gcc5-variadicmacros.patch: Fix syntax error with variadic macro with
no variable argument when compiling with GCC 5 (Closes: #777974).
 
-- Magnus Holmgren <holmgren@debian.org> Thu, 25 Jun 2015 22:24:02 +0200
 
libspf2 (1.2.10-5) unstable; urgency=low
 
* abolish-spf-rrtype.patch: Stop trying to look up the dedicated SPF DNS
/trunk/debian/patches/gcc5-variadicmacros.patch
0,0 → 1,17
--- a/src/include/spf_log.h
+++ b/src/include/spf_log.h
@@ -63,10 +63,10 @@ void SPF_debugv( const char *file, int l
#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(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__ )
#elif defined( __GNUC__ )
/trunk/debian/patches/series
1,2 → 1,3
spf_dns-include-std-headers.patch
abolish-spf-rrtype.patch
gcc5-variadicmacros.patch