pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/chat/loudmouth chat/loudmouth: fix a build breakage on...
details: https://anonhg.NetBSD.org/pkgsrc/rev/b6356c9cff12
branches: trunk
changeset: 328067:b6356c9cff12
user: gutteridge <gutteridge%pkgsrc.org@localhost>
date: Wed Jan 16 01:36:12 2019 +0000
description:
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.
diffstat:
chat/loudmouth/distinfo | 3 ++-
chat/loudmouth/patches/patch-loudmouth_lm-resolver.c | 18 ++++++++++++++++++
2 files changed, 20 insertions(+), 1 deletions(-)
diffs (34 lines):
diff -r 97bc372eb9f6 -r b6356c9cff12 chat/loudmouth/distinfo
--- a/chat/loudmouth/distinfo Wed Jan 16 01:09:29 2019 +0000
+++ b/chat/loudmouth/distinfo Wed Jan 16 01:36:12 2019 +0000
@@ -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
diff -r 97bc372eb9f6 -r b6356c9cff12 chat/loudmouth/patches/patch-loudmouth_lm-resolver.c
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/chat/loudmouth/patches/patch-loudmouth_lm-resolver.c Wed Jan 16 01:36:12 2019 +0000
@@ -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 <string.h>
+
+ /* Needed on Mac OS X */
+-#if HAVE_ARPA_NAMESER_COMPAT_H
++#if defined(__APPLE__) && HAVE_ARPA_NAMESER_COMPAT_H
+ #include <arpa/nameser_compat.h>
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index