From e15788b7ae7bde015ef8c1c0be9b2215b1c6bbe1 Mon Sep 17 00:00:00 2001 From: Florian Bruhin Date: Fri, 13 Nov 2015 01:00:06 -0800 Subject: [PATCH] qt5: Add patch for Secure Transport issues with QtWebKit. Closes Homebrew/homebrew#46057. Signed-off-by: Mike McQuaid --- Formula/qt5.rb | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/Formula/qt5.rb b/Formula/qt5.rb index 4b46a497f0..9c0ec1ffa2 100644 --- a/Formula/qt5.rb +++ b/Formula/qt5.rb @@ -15,7 +15,7 @@ class Qt5 < Formula desc "Version 5 of the Qt framework" homepage "https://www.qt.io/" head "https://code.qt.io/qt/qt5.git", :branch => "5.5", :shallow => false - revision 1 + revision 2 stable do url "https://download.qt.io/official_releases/qt/5.5/5.5.1/single/qt-everywhere-opensource-src-5.5.1.tar.xz" @@ -43,6 +43,16 @@ class Qt5 < Formula url "https://raw.githubusercontent.com/UniqMartin/patches/77d138fa/qt5/osx-no-rpath.patch" sha256 "92c9cfe701f9152f4b16219a04a523338d4b77bb0725a8adccc3fc72c9fb576f" end + + # Fixes for Secure Transport in QtWebKit + # https://codereview.qt-project.org/#/c/139967/ + # https://codereview.qt-project.org/#/c/139968/ + # https://codereview.qt-project.org/#/c/139970/ + # Should land in the 5.5.2 and/or 5.6 release. + patch do + url "https://gist.githubusercontent.com/The-Compiler/8202f92fff70da39353a/raw/884c3bef4d272d25d7d7202be99c3940248151ee/qt5.5-securetransport-qtwebkit.patch" + sha256 "c3302de2e23e74a99e62f22527e0edee5539b2e18d34c05e70075490ba7b3613" + end end bottle do