diff options
author | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-09-29 19:48:03 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2015-09-29 19:48:03 +0200 |
commit | 15db65c3b71a39289fd84d0c19582f250c89efae (patch) | |
tree | 45969d3527d606f7206186dc150e7d2ad2f0220b /testing/csync/gcc-fixes.patch | |
parent | e080f0575da64ae04531610d9ab1fefe7e132a44 (diff) | |
download | aports-15db65c3b71a39289fd84d0c19582f250c89efae.tar.bz2 aports-15db65c3b71a39289fd84d0c19582f250c89efae.tar.xz |
testing/csync: fix build with gcc 5 versions
See: https://www.gnu.org/software/gcc/gcc-5/porting_to.html
Diffstat (limited to 'testing/csync/gcc-fixes.patch')
-rw-r--r-- | testing/csync/gcc-fixes.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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, |