Received: by mail.netbsd.org (Postfix, from userid 605) id B851584D6F; Wed, 16 Jan 2019 01:36:13 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 20F2684CE2 for ; Wed, 16 Jan 2019 01:36:13 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 8_qHITJeVDQN for ; Wed, 16 Jan 2019 01:36:12 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 831EF84CDF for ; Wed, 16 Jan 2019 01:36:12 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 7A755FB16; Wed, 16 Jan 2019 01:36:12 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1547602572130090" MIME-Version: 1.0 Date: Wed, 16 Jan 2019 01:36:12 +0000 From: "David H. Gutteridge" Subject: CVS commit: pkgsrc/chat/loudmouth To: pkgsrc-changes@NetBSD.org Reply-To: gutteridge@netbsd.org X-Mailer: log_accum Message-Id: <20190116013612.7A755FB16@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1547602572130090 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: gutteridge Date: Wed Jan 16 01:36:12 UTC 2019 Modified Files: pkgsrc/chat/loudmouth: distinfo Added Files: pkgsrc/chat/loudmouth/patches: patch-loudmouth_lm-resolver.c Log Message: chat/loudmouth: fix a build breakage on non-x86 NetBSD archs A build fix applied upstream some ten years ago for Mac OS X is only really relevant for that OS, and was causing build breakages on NetBSD with any archs that didn't happen to be covered in legacy code in arpa/nameser_compat.h. (Encountered with powerpc, would also presumably break others, like aarch64.) No PKGREVISION, build fix only. To generate a diff of this commit: cvs rdiff -u -r1.19 -r1.20 pkgsrc/chat/loudmouth/distinfo cvs rdiff -u -r0 -r1.1 \ pkgsrc/chat/loudmouth/patches/patch-loudmouth_lm-resolver.c Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1547602572130090 Content-Disposition: inline Content-Length: 1773 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/chat/loudmouth/distinfo diff -u pkgsrc/chat/loudmouth/distinfo:1.19 pkgsrc/chat/loudmouth/distinfo:1.20 --- pkgsrc/chat/loudmouth/distinfo:1.19 Mon Sep 19 17:13:18 2016 +++ pkgsrc/chat/loudmouth/distinfo Wed Jan 16 01:36:12 2019 @@ -1,6 +1,7 @@ -$NetBSD: distinfo,v 1.19 2016/09/19 17:13:18 jperkin Exp $ +$NetBSD: distinfo,v 1.20 2019/01/16 01:36:12 gutteridge Exp $ SHA1 (loudmouth-1.5.3.tar.bz2) = a69ef9a57e0ae993340921e73ada27979850db04 RMD160 (loudmouth-1.5.3.tar.bz2) = aba3fc803a87e334b09987e27a5f841a46761dd8 SHA512 (loudmouth-1.5.3.tar.bz2) = ab6b16b4e644b69cdb7d8df1753d1bb5b43c2f1e76944e639339169b332e1b5c6a4246053c5b8a579ee9b53c845cef610b0040dfdffeb857180b6bab71adfcce Size (loudmouth-1.5.3.tar.bz2) = 375974 bytes +SHA1 (patch-loudmouth_lm-resolver.c) = 3b59fb67197aeae55d642e061600cac2458c0a92 Added files: Index: pkgsrc/chat/loudmouth/patches/patch-loudmouth_lm-resolver.c diff -u /dev/null pkgsrc/chat/loudmouth/patches/patch-loudmouth_lm-resolver.c:1.1 --- /dev/null Wed Jan 16 01:36:12 2019 +++ pkgsrc/chat/loudmouth/patches/patch-loudmouth_lm-resolver.c Wed Jan 16 01:36:12 2019 @@ -0,0 +1,18 @@ +$NetBSD: patch-loudmouth_lm-resolver.c,v 1.1 2019/01/16 01:36:12 gutteridge Exp $ + +Fix a build breakage on non-x86 NetBSD architectures where arpa/ +nameser_compat.h was being unnecessarily included (without additional +dependent macros being defined, as nameser.h takes care of when it's +included first). + +--- loudmouth/lm-resolver.c.orig 2016-02-14 17:05:11.000000000 +0000 ++++ loudmouth/lm-resolver.c +@@ -21,7 +21,7 @@ + #include + + /* Needed on Mac OS X */ +-#if HAVE_ARPA_NAMESER_COMPAT_H ++#if defined(__APPLE__) && HAVE_ARPA_NAMESER_COMPAT_H + #include + #endif + --_----------=_1547602572130090--