Skip to content

Commit

Permalink
nano: apply upstream fix for configure's word boundary regex logic
Browse files Browse the repository at this point in the history
Closes #12143.

Signed-off-by: ilovezfs <ilovezfs@icloud.com>
  • Loading branch information
ilovezfs committed Apr 6, 2017
1 parent 3ab9cfd commit cc25ab6
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions Formula/nano.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
class Nano < Formula
desc "Free (GNU) replacement for the Pico text editor"
homepage "https://www.nano-editor.org/"
revision 1

stable do
url "https://www.nano-editor.org/dist/v2.8/nano-2.8.0.tar.gz"
Expand All @@ -13,6 +14,14 @@ class Nano < Formula
url "https://raw.githubusercontent.com/Homebrew/formula-patches/45f1329/nano/configure-ignore-reg-enhanced-test.diff"
sha256 "20e988cd2406da8009c3f5f9ddde206d14e8586bd744bb7bf75326ba59eba653"
end

# Remove for > 2.8.0
# Fix "Bad regex '[[:<:]]dnl.*': Invalid character class name"
# Upstream commit from 3 Apr 2017 https://git.savannah.gnu.org/cgit/nano.git/patch/?id=8f2b5bbf3d1b23007aedc9f07f224da91f0ec479
patch do
url "https://raw.githubusercontent.com/Homebrew/formula-patches/a03b730/nano/configure-fix-up-word-boundary-regex-logic.diff"
sha256 "9f158ed8d6fa0276c7bcaea567b65acf883b95c2b7d374e6285b2aefb99669ed"
end
end

bottle do
Expand Down

0 comments on commit cc25ab6

Please sign in to comment.