Skip to content

Commit

Permalink
urlfinder: patch for Go 1.22
Browse files Browse the repository at this point in the history
Using patch from
* pingc0y/URLFinder#96

to fix build for:
* Homebrew#157782
  • Loading branch information
stefanb authored Feb 13, 2024
1 parent 2dfced3 commit fb165d6
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions Formula/u/urlfinder.rb
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,12 @@ class Urlfinder < Formula

depends_on "go" => :build

# upstream PR ref, https://github.com/pingc0y/URLFinder/pull/96
patch do
url "https://github.com/pingc0y/URLFinder/commit/cd4b141bd92448ed4b27a1db65b05075e40e8200.patch?full_index=1"
sha256 "e08f45c1a103125dfbaec04305f26140fe6766aa137b7a5fbe899d18efdb1064"
end

def install
system "go", "build", *std_go_args(ldflags: "-s -w")
end
Expand Down

0 comments on commit fb165d6

Please sign in to comment.