From 91455a5d4b45c2041527f672aa35ce0601026425 Mon Sep 17 00:00:00 2001 From: Michael Gehring Date: Sun, 14 May 2017 18:19:01 +0000 Subject: [PATCH] nnn: update to 1.1. --- srcpkgs/nnn/patches/fix-includes.patch | 14 ++++++++++++++ srcpkgs/nnn/template | 6 +++--- 2 files changed, 17 insertions(+), 3 deletions(-) create mode 100644 srcpkgs/nnn/patches/fix-includes.patch diff --git a/srcpkgs/nnn/patches/fix-includes.patch b/srcpkgs/nnn/patches/fix-includes.patch new file mode 100644 index 00000000000..16422f49e89 --- /dev/null +++ b/srcpkgs/nnn/patches/fix-includes.patch @@ -0,0 +1,14 @@ +--- nnn.c.orig 2017-05-11 20:36:57.000000000 +0000 ++++ nnn.c 2017-05-14 18:17:10.801284862 +0000 +@@ -6,11 +6,7 @@ + #include + + #include +-#ifdef __linux__ +-#include +-#else + #include +-#endif + #include + #include + #include diff --git a/srcpkgs/nnn/template b/srcpkgs/nnn/template index d6edbd68f44..7878c3e2d74 100644 --- a/srcpkgs/nnn/template +++ b/srcpkgs/nnn/template @@ -1,15 +1,15 @@ # Template file for 'nnn' pkgname=nnn -version=1.0 +version=1.1 revision=1 build_style=gnu-makefile -makedepends="ncurses-devel" +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=032d8cdcaa237f4392cc0ab335b984f2107c458c7d1ffec35a4abfe3aa0e5486 +checksum=15ce2a205147b8dd9da5de1ffa6e4b273ac8385959740786f7342057d0209cc3 post_install() { vlicense LICENSE