From 15db65c3b71a39289fd84d0c19582f250c89efae Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Tue, 29 Sep 2015 19:48:03 +0200 Subject: testing/csync: fix build with gcc 5 versions See: https://www.gnu.org/software/gcc/gcc-5/porting_to.html --- testing/csync/gcc-fixes.patch | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 testing/csync/gcc-fixes.patch (limited to 'testing/csync/gcc-fixes.patch') diff --git a/testing/csync/gcc-fixes.patch b/testing/csync/gcc-fixes.patch new file mode 100644 index 0000000000..2614c974ea --- /dev/null +++ b/testing/csync/gcc-fixes.patch @@ -0,0 +1,12 @@ +diff -upr csync-0.50.0.orig/src/csync_log.h csync-0.50.0/src/csync_log.h +--- csync-0.50.0.orig/src/csync_log.h 2015-09-29 19:44:49.692758996 +0200 ++++ csync-0.50.0/src/csync_log.h 2015-09-29 19:45:48.439175389 +0200 +@@ -55,7 +55,7 @@ enum csync_log_priority_e { + }; + + #define CSYNC_LOG(priority, ...) \ +- csync_log(priority, __FUNCTION__, __VA_ARGS__) ++ csync_log(priority, __func__, __VA_ARGS__) + + void csync_log(int verbosity, + const char *function, -- cgit v1.2.3