libmwaw 0.3.13
patch for 10.11 and below Closes #20618. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
f8c7613935
commit
348d28729b
1 changed files with 12 additions and 2 deletions
|
@ -1,8 +1,8 @@
|
|||
class Libmwaw < Formula
|
||||
desc "Library for converting legacy Mac document formats"
|
||||
homepage "https://sourceforge.net/p/libmwaw/wiki/Home/"
|
||||
url "https://downloads.sourceforge.net/project/libmwaw/libmwaw/libmwaw-0.3.12/libmwaw-0.3.12.tar.xz"
|
||||
sha256 "7691a6e6e7221d61c40e3f630a8907e3e516b99a587e47d09ec53f8ac60ed1e7"
|
||||
url "https://downloads.sourceforge.net/project/libmwaw/libmwaw/libmwaw-0.3.13/libmwaw-0.3.13.tar.xz"
|
||||
sha256 "db55c728448f9c795cd71a0bb6043f6d4744e3e001b955a018a2c634981d5aea"
|
||||
|
||||
bottle do
|
||||
cellar :any
|
||||
|
@ -20,6 +20,16 @@ class Libmwaw < Formula
|
|||
sha256 "df0af8f2ae441f93eb6552ed2c6da0b1971a0d82995e224b7663b4e64e163d2b"
|
||||
end
|
||||
|
||||
# Remove for > 0.3.13
|
||||
# Upstream commit from 15 Nov 2017 "fix call of explicit ctor"
|
||||
# See https://sourceforge.net/p/libmwaw/libmwaw/ci/4bc8ec0481f89b989b0c34236c9d5d9b8038d4a9/
|
||||
if DevelopmentTools.clang_build_version <= 800
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/0eedf78/libmwaw/ctor.patch"
|
||||
sha256 "1a443f16bf8918c642ce92c623c94ecc11198711c062ed0637ec36dd6ff6bb8b"
|
||||
end
|
||||
end
|
||||
|
||||
def install
|
||||
system "./configure", "--disable-debug",
|
||||
"--disable-dependency-tracking",
|
||||
|
|
Loading…
Reference in a new issue