pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/audio/ncmpc ncmpc: avoid compilation problem on netbsd-8
details: https://anonhg.NetBSD.org/pkgsrc/rev/acdfde3674e2
branches: trunk
changeset: 458879:acdfde3674e2
user: nia <nia%pkgsrc.org@localhost>
date: Wed Sep 22 06:56:10 2021 +0000
description:
ncmpc: avoid compilation problem on netbsd-8
diffstat:
audio/ncmpc/distinfo | 3 ++-
audio/ncmpc/patches/patch-src_net_IPv6Address.hxx | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 1 deletions(-)
diffs (35 lines):
diff -r fd926e3644a9 -r acdfde3674e2 audio/ncmpc/distinfo
--- a/audio/ncmpc/distinfo Wed Sep 22 06:35:56 2021 +0000
+++ b/audio/ncmpc/distinfo Wed Sep 22 06:56:10 2021 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.28 2021/03/06 15:29:59 wiz Exp $
+$NetBSD: distinfo,v 1.29 2021/09/22 06:56:10 nia Exp $
SHA1 (ncmpc-0.45.tar.xz) = e83ddb8f33f57ccff9261e05a5b1e66712bf8196
RMD160 (ncmpc-0.45.tar.xz) = c7246a55a329b23ee84c00fa737d494bac10ff19
@@ -8,3 +8,4 @@
SHA1 (patch-meson.build) = b16babee9f8e5799a600bf029b3bb606e32a265a
SHA1 (patch-src_charset.cxx) = c8e06c936657819060c6539a3726e03fda7da54a
SHA1 (patch-src_ncu.cxx) = 93ab60c406f8ef29fe23ffe6099d5825ee12bc13
+SHA1 (patch-src_net_IPv6Address.hxx) = 013994a6ef21532a6ebeaf6aeaa4a7ef83c0ce6b
diff -r fd926e3644a9 -r acdfde3674e2 audio/ncmpc/patches/patch-src_net_IPv6Address.hxx
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/audio/ncmpc/patches/patch-src_net_IPv6Address.hxx Wed Sep 22 06:56:10 2021 +0000
@@ -0,0 +1,17 @@
+$NetBSD: patch-src_net_IPv6Address.hxx,v 1.1 2021/09/22 06:56:10 nia Exp $
+
+Avoid a compilation problem on netbsd-8:
+
+../src/net/IPv6Address.hxx:192:10: error: 'ntohl' was not declared in this scope
+ return IN6_IS_ADDR_V4MAPPED(&address.sin6_addr);
+
+--- src/net/IPv6Address.hxx.orig 2021-02-12 09:53:25.000000000 +0000
++++ src/net/IPv6Address.hxx
+@@ -40,6 +40,7 @@
+ #include <winsock2.h>
+ #include <ws2tcpip.h>
+ #else
++#include <arpa/inet.h>
+ #include <netinet/in.h>
+ #endif
+
Home |
Main Index |
Thread Index |
Old Index