aboutsummaryrefslogtreecommitdiff
path: root/libraries/libspf2/gcc5fix.patch
diff options
context:
space:
mode:
authorOleg A. Deordiev <admin@ifconfig.com.ua>2019-04-19 22:48:20 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2019-04-19 22:49:52 +0700
commit4358019f3426af84ccf8d1b06fb872da0f859432 (patch)
tree2482ab9b8aceb693cad3c80953d536e8d897f94e /libraries/libspf2/gcc5fix.patch
parent5366de2834cd87103ffd94ddfc30476a43a332c0 (diff)
libraries/libspf2: Added (Sender Policy Framework).
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/libspf2/gcc5fix.patch')
-rw-r--r--libraries/libspf2/gcc5fix.patch18
1 files changed, 18 insertions, 0 deletions
diff --git a/libraries/libspf2/gcc5fix.patch b/libraries/libspf2/gcc5fix.patch
new file mode 100644
index 0000000000000..835a138672f04
--- /dev/null
+++ b/libraries/libspf2/gcc5fix.patch
@@ -0,0 +1,18 @@
+Index: libspf2-1.2.10/src/include/spf_log.h
+===================================================================
+--- libspf2-1.2.10/src/include/spf_log.h
++++ libspf2-1.2.10/src/include/spf_log.h 2015-10-20 23:23:04.579055906 +0200
+@@ -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__ )