qscintilla2: better Xcode 8 patch
patch is the work of Alan Garny Closes #5877. Signed-off-by: ilovezfs <ilovezfs@icloud.com>
This commit is contained in:
parent
7dd079c866
commit
e2b76f214a
1 changed files with 6 additions and 4 deletions
|
@ -3,7 +3,7 @@ class Qscintilla2 < Formula
|
|||
homepage "https://www.riverbankcomputing.com/software/qscintilla/intro"
|
||||
url "https://downloads.sf.net/project/pyqt/QScintilla2/QScintilla-2.9.3/QScintilla_gpl-2.9.3.tar.gz"
|
||||
sha256 "98aab93d73b05635867c2fc757acb383b5856a0b416e3fd7659f1879996ddb7e"
|
||||
revision 1
|
||||
revision 2
|
||||
|
||||
bottle do
|
||||
rebuild 1
|
||||
|
@ -32,11 +32,13 @@ class Qscintilla2 < Formula
|
|||
end
|
||||
|
||||
# Fix build with Xcode 8 "error: implicit instantiation of undefined template"
|
||||
# Reported 7 Oct 2016 https://www.riverbankcomputing.com/pipermail/qscintilla/2016-October/001160.html
|
||||
# Originally reported 7 Oct 2016 https://www.riverbankcomputing.com/pipermail/qscintilla/2016-October/001160.html
|
||||
# Patch below posted 13 Oct 2016 https://www.riverbankcomputing.com/pipermail/qscintilla/2016-October/001167.html
|
||||
# Same as Alan Garny's OpenCOR commit https://github.com/opencor/opencor/commit/70f3944e36b8b95b3ad92106aeae2f511b3f0e90
|
||||
if DevelopmentTools.clang_build_version >= 800
|
||||
patch do
|
||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/1b9cb39/qscintilla2/xcode-8.patch"
|
||||
sha256 "962c15c9b7a1a8195df9fbcc283b9579e2ae8c92ff3b5cf1cf9f33ca48354e42"
|
||||
url "https://raw.githubusercontent.com/Homebrew/formula-patches/a651d71/qscintilla2/xcode-8.patch"
|
||||
sha256 "1a88309fdfd421f4458550b710a562c622d72d6e6fdd697107e4a43161d69bc9"
|
||||
end
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in a new issue