From 1cc056226e57519acd0d5cff4eef6db8862d94e0 Mon Sep 17 00:00:00 2001 From: maxice8 Date: Thu, 5 Oct 2017 04:39:29 -0300 Subject: [PATCH] nnn: update to 1.5. Closes: #7942 [via git-merge-pr] --- .../patches/0001-make-sys-types_h-global.patch | 18 ++++++++++++++++++ srcpkgs/nnn/template | 5 +++-- 2 files changed, 21 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/nnn/patches/0001-make-sys-types_h-global.patch 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