pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/ncmpc



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Sep 22 06:56:10 UTC 2021

Modified Files:
        pkgsrc/audio/ncmpc: distinfo
Added Files:
        pkgsrc/audio/ncmpc/patches: patch-src_net_IPv6Address.hxx

Log Message:
ncmpc: avoid compilation problem on netbsd-8


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/audio/ncmpc/distinfo
cvs rdiff -u -r0 -r1.1 \
    pkgsrc/audio/ncmpc/patches/patch-src_net_IPv6Address.hxx

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/ncmpc/distinfo
diff -u pkgsrc/audio/ncmpc/distinfo:1.28 pkgsrc/audio/ncmpc/distinfo:1.29
--- pkgsrc/audio/ncmpc/distinfo:1.28    Sat Mar  6 15:29:59 2021
+++ pkgsrc/audio/ncmpc/distinfo Wed Sep 22 06:56:10 2021
@@ -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-doc_meson.build) = 5052b9eef
 SHA1 (patch-meson.build) = b16babee9f8e5799a600bf029b3bb606e32a265a
 SHA1 (patch-src_charset.cxx) = c8e06c936657819060c6539a3726e03fda7da54a
 SHA1 (patch-src_ncu.cxx) = 93ab60c406f8ef29fe23ffe6099d5825ee12bc13
+SHA1 (patch-src_net_IPv6Address.hxx) = 013994a6ef21532a6ebeaf6aeaa4a7ef83c0ce6b

Added files:

Index: pkgsrc/audio/ncmpc/patches/patch-src_net_IPv6Address.hxx
diff -u /dev/null pkgsrc/audio/ncmpc/patches/patch-src_net_IPv6Address.hxx:1.1
--- /dev/null   Wed Sep 22 06:56:10 2021
+++ pkgsrc/audio/ncmpc/patches/patch-src_net_IPv6Address.hxx    Wed Sep 22 06:56:10 2021
@@ -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