nnn: update to 1.5.

Closes: #7942 [via git-merge-pr]
This commit is contained in:
maxice8 2017-10-05 04:39:29 -03:00 committed by Michael Aldridge
parent 7506a531e3
commit 1cc056226e
2 changed files with 21 additions and 2 deletions

View File

@ -0,0 +1,18 @@
--- nnn.c
+++ nnn.c
@@ -28,7 +28,6 @@
#include <sys/stat.h>
#include <sys/statvfs.h>
#if defined(__FreeBSD__) || defined(__OpenBSD__) || defined(__NetBSD__) || defined(__APPLE__)
-# include <sys/types.h>
#include <sys/event.h>
#include <sys/time.h>
#define BSD_KQUEUE
@@ -69,6 +68,7 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
+#include <sys/types.h>
#include <unistd.h>
#include <readline/history.h>
#include <readline/readline.h>

View File

@ -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 <kraus@posteo.de>"
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