pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mail/qsmtp Avoid conflicting implicit definition of ht...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/854dfba4b577
branches:  trunk
changeset: 412449:854dfba4b577
user:      schmonz <schmonz%pkgsrc.org@localhost>
date:      Fri Mar 06 20:50:24 2020 +0000

description:
Avoid conflicting implicit definition of htonl() on NetBSD.

diffstat:

 mail/qsmtp/distinfo                     |   3 ++-
 mail/qsmtp/patches/patch-include_qdns.h |  14 ++++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (34 lines):

diff -r 899afd142efa -r 854dfba4b577 mail/qsmtp/distinfo
--- a/mail/qsmtp/distinfo       Fri Mar 06 19:58:39 2020 +0000
+++ b/mail/qsmtp/distinfo       Fri Mar 06 20:50:24 2020 +0000
@@ -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 -r 899afd142efa -r 854dfba4b577 mail/qsmtp/patches/patch-include_qdns.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/mail/qsmtp/patches/patch-include_qdns.h   Fri Mar 06 20:50:24 2020 +0000
@@ -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



Home | Main Index | Thread Index | Old Index