cvs: fix runtime error on 10.13 due to %n format string issue
fixes 'Illegal instruction: 4' error Closes #18903. Signed-off-by: JCount <JCount42@gmail.com>
This commit is contained in:
parent
d88e876a69
commit
0262803a66
1 changed files with 8 additions and 0 deletions
|
@ -8,6 +8,7 @@ class Cvs < Formula
|
|||
homepage "http://cvs.nongnu.org/"
|
||||
url "https://ftp.gnu.org/non-gnu/cvs/source/feature/1.12.13/cvs-1.12.13.tar.bz2"
|
||||
sha256 "78853613b9a6873a30e1cc2417f738c330e75f887afdaf7b3d0800cb19ca515e"
|
||||
revision 1
|
||||
|
||||
bottle do
|
||||
sha256 "b8604bdb205a892e4cab5ea86b825080aa22ea5c5bb6e9df9b2b65a67555a105" => :high_sierra
|
||||
|
@ -34,6 +35,13 @@ class Cvs < Formula
|
|||
"patches/zlib.diff"
|
||||
end
|
||||
|
||||
# Fixes error: 'Illegal instruction: 4'; '%n used in a non-immutable format string' on 10.13
|
||||
# Patches the upstream-provided gnulib on all platforms as is recommended
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/24118ec737c7/cvs/vasnprintf-high-sierra-fix.diff"
|
||||
sha256 "affa485332f66bb182963680f90552937bf1455b855388f7c06ef6a3a25286e2"
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
|
|
Loading…
Reference in a new issue