diff --git a/srcpkgs/nnn/patches/0001-make-sys-types_h-global.patch b/srcpkgs/nnn/patches/0001-make-sys-types_h-global.patch new file mode 100644 index 00000000000..5ef75911902 --- /dev/null +++ b/srcpkgs/nnn/patches/0001-make-sys-types_h-global.patch @@ -0,0 +1,18 @@ +--- nnn.c ++++ nnn.c +@@ -28,7 +28,6 @@ + #include + #include + #if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__) +-# include + #include + #include + #define BSD_KQUEUE +@@ -69,6 +68,7 @@ + #include + #include + #include ++#include + #include + #include + #include diff --git a/srcpkgs/nnn/template b/srcpkgs/nnn/template index d56151e5c07..75648517c14 100644 --- a/srcpkgs/nnn/template +++ b/srcpkgs/nnn/template @@ -1,15 +1,16 @@ # Template file for 'nnn' pkgname=nnn -version=1.4 +version=1.5 revision=1 build_style=gnu-makefile +hostmakedepends="pkg-config" makedepends="ncurses-devel readline-devel" short_desc="A lightweight terminal file browser" maintainer="Dennis Kraus " license="BSD" homepage="https://github.com/jarun/nnn" distfiles="https://github.com/jarun/nnn/archive/v${version}.tar.gz" -checksum=f1170864c26e55d89034d555572484950998fa6d99784237d76cd4e3bf45aed8 +checksum=f50f59953c29408963bbb961891155bd0a1fe2072d4441cc0ff927b128725c7f post_install() { vlicense LICENSE