summaryrefslogtreecommitdiffstats
path: root/system/clamsmtp/patches/gnu_source.patch
diff options
context:
space:
mode:
Diffstat (limited to 'system/clamsmtp/patches/gnu_source.patch')
-rw-r--r--system/clamsmtp/patches/gnu_source.patch13
1 files changed, 13 insertions, 0 deletions
diff --git a/system/clamsmtp/patches/gnu_source.patch b/system/clamsmtp/patches/gnu_source.patch
new file mode 100644
index 0000000000..22203e0b4f
--- /dev/null
+++ b/system/clamsmtp/patches/gnu_source.patch
@@ -0,0 +1,13 @@
+Remove GNU_SOURCE definition rom the only file that has it.
+
+--- ./common/smtppass.c 2014-07-06 12:26:26.000000000 +0200
++++ ./common/smtppass.c 2014-07-06 12:26:52.367104112 +0200
+@@ -38,8 +38,6 @@
+ * Olivier Beyssac <ob@r14.freenix.org>
+ */
+
+-#define _GNU_SOURCE
+-
+ #include <sys/time.h>
+ #include <sys/types.h>
+ #include <sys/socket.h>