aboutsummaryrefslogtreecommitdiff
path: root/system/clamsmtp/patches/gnu_source.patch
diff options
context:
space:
mode:
authorB. Watson <yalhcru@gmail.com>2022-02-11 21:50:07 -0500
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2022-02-13 09:17:45 +0700
commitf045aa7c03f3b649b2a6b163bcee0b196e472b88 (patch)
treeec0c92f2669923e8b9185aaa0886fd82e7a3cd63 /system/clamsmtp/patches/gnu_source.patch
parent9758714daeebc2587ba39dcc62eeb76fc724f1b7 (diff)
downloadslackbuilds-f045aa7c03f3b649b2a6b163bcee0b196e472b88.tar.xz
system/clamsmtp: Fix 15.0 build.
Signed-off-by: B. Watson <yalhcru@gmail.com> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
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 000000000000..22203e0b4f9a
--- /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>