aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/csync/gcc-fixes.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/csync/gcc-fixes.patch')
-rw-r--r--unmaintained/csync/gcc-fixes.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/unmaintained/csync/gcc-fixes.patch b/unmaintained/csync/gcc-fixes.patch
new file mode 100644
index 0000000000..2614c974ea
--- /dev/null
+++ b/unmaintained/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,