From 2fa087b8dbed266c6f22a8aebe7d311a9e018f5b Mon Sep 17 00:00:00 2001 From: ilovezfs Date: Tue, 27 Feb 2018 21:23:47 -0800 Subject: [PATCH] nnn 1.7 Closes #24632. Signed-off-by: ilovezfs --- Formula/nnn.rb | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/Formula/nnn.rb b/Formula/nnn.rb index b354e12b9e..9fe0b3be84 100644 --- a/Formula/nnn.rb +++ b/Formula/nnn.rb @@ -1,8 +1,8 @@ class Nnn < Formula desc "Free, fast, friendly file browser" homepage "https://github.com/jarun/nnn" - url "https://github.com/jarun/nnn/archive/v1.6.tar.gz" - sha256 "e8b10a3b9847ba7ad3317f608691aaebcdaf2b67219d732f7a5d468221d3e83e" + url "https://github.com/jarun/nnn/archive/v1.7.tar.gz" + sha256 "fbe26efbed8b467352f313b92f8617d873c8cf0209fb6377572cf8d1ddc2747c" bottle do cellar :any @@ -13,6 +13,12 @@ class Nnn < Formula depends_on "readline" + # Upstream PR from 27 Feb 2018 "Makefile: don't use non-portable -t option" + patch do + url "https://github.com/jarun/nnn/pull/83.patch?full_index=1" + sha256 "e3196f69407a81b19cd42c9fafb6b420d99ebeed592dd0948efbb9665a6c4a9f" + end + def install system "make", "install", "PREFIX=#{prefix}" end