pkgsrc-Changes archive

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

CVS commit: pkgsrc/chat/loudmouth



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.

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 <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