summaryrefslogtreecommitdiff
path: root/mail
diff options
context:
space:
mode:
authorschmonz <schmonz@pkgsrc.org>2020-03-06 20:50:24 +0000
committerschmonz <schmonz@pkgsrc.org>2020-03-06 20:50:24 +0000
commit679e8d819bd8b6e1fc5656ec9056396e37ae67aa (patch)
tree1beb437c7a8759572e8e3a77a1fea535ee9c4ee8 /mail
parentaef670857e0e5664f6c7cc4d72e4449b8278c9a0 (diff)
downloadpkgsrc-679e8d819bd8b6e1fc5656ec9056396e37ae67aa.tar.gz
Avoid conflicting implicit definition of htonl() on NetBSD.
Diffstat (limited to 'mail')
-rw-r--r--mail/qsmtp/distinfo3
-rw-r--r--mail/qsmtp/patches/patch-include_qdns.h14
2 files changed, 16 insertions, 1 deletions
diff --git a/mail/qsmtp/distinfo b/mail/qsmtp/distinfo
index 77226880819..98dc6596889 100644
--- a/mail/qsmtp/distinfo
+++ b/mail/qsmtp/distinfo
@@ -1,10 +1,11 @@
-$NetBSD: distinfo,v 1.2 2020/01/12 23:03:28 joerg Exp $
+$NetBSD: distinfo,v 1.3 2020/03/06 20:50:24 schmonz Exp $
SHA1 (Qsmtp-0.37.tar.xz) = 768567e10adf47d651735bd8e7289a6b8a18d24a
RMD160 (Qsmtp-0.37.tar.xz) = abf841db63e94142f309fcac93c29a29c1a4d692
SHA512 (Qsmtp-0.37.tar.xz) = 911d9d956ef7d0c6ad150745db489dd96eca0b665d99c0db648b4382c0d21fc759ad4a138e7adf69c6749574ad619114e7f06f62c131d0ae103e9b0493d39ef3
Size (Qsmtp-0.37.tar.xz) = 250100 bytes
SHA1 (patch-CMakeLists.txt) = ca780d4dfe778c359db03231b06382372e13a62f
+SHA1 (patch-include_qdns.h) = de5f47f62cb7482d1ed96814123f6f1abad4506b
SHA1 (patch-qsmtpd_antispam.c) = 8df576496c31712e49f4679be172074d7712c089
SHA1 (patch-qsmtpd_auth.c) = 48958cc70850e2016c755eb53c777998d1477018
SHA1 (patch-qsmtpd_data.c) = 94a8c51a63c1d6db2433c932388bbac260f462c2
diff --git a/mail/qsmtp/patches/patch-include_qdns.h b/mail/qsmtp/patches/patch-include_qdns.h
new file mode 100644
index 00000000000..e7c151cbe9e
--- /dev/null
+++ b/mail/qsmtp/patches/patch-include_qdns.h
@@ -0,0 +1,14 @@
+$NetBSD: patch-include_qdns.h,v 1.1 2020/03/06 20:50:24 schmonz Exp $
+
+Avoid conflicting implicit definition of htonl() on NetBSD.
+
+--- include/qdns.h.orig 2020-01-06 19:19:59.000000000 +0000
++++ include/qdns.h
+@@ -4,6 +4,7 @@
+ #ifndef QSMTP_DNS_H
+ #define QSMTP_DNS_H
+
++#include <arpa/inet.h>
+ #include <netinet/in.h>
+
+ /** @enum mx_special_priorities