ncmpcpp: fix building on illumos

This commit is contained in:
nia 2022-04-18 13:33:28 +00:00
parent 23f53f6f52
commit b7b8953622
2 changed files with 17 additions and 1 deletions

View file

@ -1,5 +1,6 @@
$NetBSD: distinfo,v 1.5 2021/10/26 09:59:18 nia Exp $
$NetBSD: distinfo,v 1.6 2022/04/18 13:33:28 nia Exp $
BLAKE2s (ncmpcpp-0.9.2.tar.bz2) = 436eed3fd49cd93b4448dedc1f3455ee80c4544c6659ec610181a45e72b1d2d6
SHA512 (ncmpcpp-0.9.2.tar.bz2) = bbcb3b50233e363412af3c1cf1c0118122733dc376759cd35dee79950f42e098a0402ff670684df91847b990b26022630c9a71192e462bd46e70628e31489742
Size (ncmpcpp-0.9.2.tar.bz2) = 486266 bytes
SHA1 (patch-src_status.cpp) = a504f4629a504256c211e24326e1b4695820fd79

View file

@ -0,0 +1,15 @@
$NetBSD: patch-src_status.cpp,v 1.1 2022/04/18 13:33:28 nia Exp $
Add missing header for socket(2).
Fix building on illumos.
--- src/status.cpp.orig 2021-01-24 15:50:24.000000000 +0000
+++ src/status.cpp
@@ -21,6 +21,7 @@
#include <boost/date_time/posix_time/posix_time.hpp>
#include <netinet/tcp.h>
#include <netinet/in.h>
+#include <sys/socket.h>
#include "curses/menu_impl.h"
#include "screens/browser.h"