Skip to content

Commit fdd6d0f

Browse files
committed
Bump Qt from 5.15.13 to 5.15.16
Close: #15
1 parent 194d231 commit fdd6d0f

File tree

1 file changed

+26
-91
lines changed

1 file changed

+26
-91
lines changed

Formula/[email protected]

Lines changed: 26 additions & 91 deletions
Original file line numberDiff line numberDiff line change
@@ -3,19 +3,19 @@
33
class SqlbQtAT5 < Formula
44
desc "Cross-platform application and UI framework"
55
homepage "https://www.qt.io/"
6-
version "5.15.13"
6+
version "5.15.16"
77
# NOTE: Use *.diff for GitLab/KDE patches to avoid their checksums changing.
8-
url "https://download.qt.io/official_releases/qt/5.15/5.15.13/single/qt-everywhere-opensource-src-5.15.13.tar.xz"
9-
mirror "https://mirrors.dotsrc.org/qtproject/archive/qt/5.15/5.15.13/single/qt-everywhere-opensource-src-5.15.13.tar.xz"
10-
mirror "https://mirrors.ocf.berkeley.edu/qt/archive/qt/5.15/5.15.13/single/qt-everywhere-opensource-src-5.15.13.tar.xz"
11-
sha256 "9550ec8fc758d3d8d9090e261329700ddcd712e2dda97e5fcfeabfac22bea2ca"
8+
url "https://download.qt.io/official_releases/qt/5.15/5.15.16/single/qt-everywhere-opensource-src-5.15.16.tar.xz"
9+
mirror "https://mirrors.dotsrc.org/qtproject/archive/qt/5.15/5.15.16/single/qt-everywhere-opensource-src-5.15.16.tar.xz"
10+
mirror "https://mirrors.ocf.berkeley.edu/qt/archive/qt/5.15/5.15.16/single/qt-everywhere-opensource-src-5.15.16.tar.xz"
11+
sha256 "efa99827027782974356aceff8a52bd3d2a8a93a54dd0db4cca41b5e35f1041c"
1212
license all_of: ["GFDL-1.3-only", "GPL-2.0-only", "GPL-3.0-only", "LGPL-2.1-only", "LGPL-3.0-only"]
1313
revision 1
1414

1515
bottle do
1616
root_url "https://nightlies.sqlitebrowser.org/homebrew_bottles"
1717
rebuild 1
18-
sha256 cellar: :any, arm64_sonoma: "cb257e0ac68b40fde326b7ac0163a64a6e4a46fac96f6c5286a8cb5c8a2daa7f"
18+
sha256 cellar: :any, arm64_sonoma: "3c66b0d432cc737db11850de9b6ce7c84f20a0dedf54e950d10246cd4808ccdf"
1919
end
2020

2121
livecheck do
@@ -34,105 +34,40 @@ class SqlbQtAT5 < Formula
3434
directory "qtlocation/src/3rdparty/mapbox-gl-native"
3535
end
3636

37-
# Fix qmake with Xcode 15.
38-
# https://bugreports.qt.io/browse/QTBUG-117225
39-
# Likely can remove with 5.15.16.
40-
patch do
41-
url "https://raw.githubusercontent.com/Homebrew/formula-patches/086e8cf/qt5/qt5-qmake-xcode15.patch"
42-
sha256 "802f29c2ccb846afa219f14876d9a1d67477ff90200befc2d0c5759c5081c613"
43-
end
44-
45-
# Fix qtmultimedia build with Xcode 15
46-
# https://bugreports.qt.io/browse/QTBUG-113782
47-
# https://github.com/hmaarrfk/qt-main-feedstock/blob/0758b98854a3a3b9c99cded856176e96c9b8c0c5/recipe/patches/0014-remove-usage-of-unary-operator.patch
48-
patch do
49-
url "https://raw.githubusercontent.com/Homebrew/formula-patches/3f509180/qt5/qt5-qtmultimedia-xcode15.patch"
50-
sha256 "887d6cb4fd115ce82323d17e69fafa606c51cef98c820b82309ab38288f21e08"
51-
end
52-
53-
# Fix use of macOS 14 only memory_resource on macOS 13
54-
# The `_cpp_lib_memory_resource` feature test macro should be sufficient but a bug in the SDK means
55-
# the extra checks are required. This part of the patch will likely be fixed in a future SDK.
56-
# https://bugreports.qt.io/browse/QTBUG-114316
57-
# This can likely be removed in 5.15.16.
58-
patch :p0 do
59-
url "https://raw.githubusercontent.com/macports/macports-ports/56a9af76a6bcecc3d12c3a65f2465c25e05f2559/aqua/qt5/files/patch-qtbase-memory_resource.diff"
60-
sha256 "87967d685b08f06e91972a6d8c5e2e1ff672be9a2ba1d7d7084eba1413f641d5"
61-
directory "qtbase"
62-
end
63-
64-
# CVE-2023-32573
65-
# Original (malformed with CRLF): https://download.qt.io/official_releases/qt/5.15/CVE-2023-32573-qtsvg-5.15.diff
66-
# Remove with Qt 5.15.14
67-
patch do
68-
url "https://invent.kde.org/qt/qt/qtsvg/-/commit/5b1b4a99d6bc98c42a11b7a3f6c9f0b0f9e56f34.diff"
69-
sha256 "0a978cac9954a557dde7f0c01e059a227f2e064fe6542defd78f37a9f7dd7a3d"
70-
directory "qtsvg"
71-
end
72-
73-
# CVE-2023-32762
74-
# Original (malformed with CRLF): https://download.qt.io/official_releases/qt/5.15/CVE-2023-32762-qtbase-5.15.diff
75-
# Remove with Qt 5.15.14
76-
patch do
77-
url "https://invent.kde.org/qt/qt/qtbase/-/commit/1286cab2c0e8ae93749a71dcfd61936533a2ec50.diff"
78-
sha256 "2fba1152067c60756162b7ad7a2570d55c9293dd4a53395197fd31ab770977d7"
79-
directory "qtbase"
80-
end
81-
82-
# CVE-2023-32763
83-
# Original (malformed with CRLF): https://download.qt.io/official_releases/qt/5.15/CVE-2023-32763-qtbase-5.15.diff
84-
# Remove with Qt 5.15.15
85-
patch do
86-
url "https://invent.kde.org/qt/qt/qtbase/-/commit/deb7b7b52b6e6912ff8c78bc0217cda9e36c4bba.diff"
87-
sha256 "ceafd01b3e2602140bfe8b052a5ad80ec2f3b3b21aed1e2d6f27cd50b9fb60b7"
88-
directory "qtbase"
89-
end
90-
91-
# CVE-2023-33285
92-
# Original (malformed with CRLF): https://download.qt.io/official_releases/qt/5.15/CVE-2023-33285-qtbase-5.15.diff
93-
# Remove with Qt 5.15.14
94-
patch do
95-
url "https://invent.kde.org/qt/qt/qtbase/-/commit/21f6b720c26705ec53d61621913a0385f1aa805a.diff"
96-
sha256 "d2cb352a506a30fa4f4bdf41f887139d8412dfe3dc87e8b29511bd0c990839c5"
97-
directory "qtbase"
98-
end
99-
100-
# CVE-2023-34410
101-
# Original (malformed with CRLF): https://download.qt.io/official_releases/qt/5.15/CVE-2023-34410-qtbase-5.15.diff
102-
# KDE patch excludes Windows-specific fixes
103-
# Remove with Qt 5.15.15
37+
# CVE-2023-51714
38+
# Remove with Qt 5.15.17
10439
patch do
105-
url "https://invent.kde.org/qt/qt/qtbase/-/commit/2ad1884fee697e0cb2377f3844fc298207e810cc.diff"
106-
sha256 "70496a602600a7133f5f10d8a7554efd7bcbe4d1998b16486da8fb82070b0138"
40+
url "https://download.qt.io/official_releases/qt/5.15/0001-CVE-2023-51714-qtbase-5.15.diff"
41+
sha256 "2129058a5e24d98ee80a776c49a58c2671e06c338dffa7fc0154e82eef96c9d4"
10742
directory "qtbase"
10843
end
109-
110-
# CVE-2023-37369
111-
# Remove with Qt 5.15.15
11244
patch do
113-
url "https://download.qt.io/official_releases/qt/5.15/CVE-2023-37369-qtbase-5.15.diff"
114-
sha256 "279c520ec96994d2b684ddd47a4672a6fdfc7ac49a9e0bdb719db1e058d9e5c0"
45+
url "https://download.qt.io/official_releases/qt/5.15/0002-CVE-2023-51714-qtbase-5.15.diff"
46+
sha256 "99d5d32527e767d6ab081ee090d92e0b11f27702619a4af8966b711db4f23e42"
11547
directory "qtbase"
11648
end
11749

118-
# CVE-2023-38197
119-
# Remove with Qt 5.15.15
50+
# CVE-2024-25580
51+
# Remove with Qt 5.15.17
12052
patch do
121-
url "https://download.qt.io/official_releases/qt/5.15/CVE-2023-38197-qtbase-5.15.diff"
122-
sha256 "382c10ec8f42e2a34ac645dc4f57cd6b717abe6a3807b7d5d9312938f91ce3dc"
53+
url "https://download.qt.io/official_releases/qt/5.15/CVE-2024-25580-qtbase-5.15.diff"
54+
sha256 "7cc9bf74f696de8ec5386bb80ce7a2fed5aa3870ac0e2c7db4628621c5c1a731"
12355
directory "qtbase"
12456
end
12557

126-
# CVE-2023-51714
58+
# CVE-2024-36048
12759
# Remove with Qt 5.15.17
12860
patch do
129-
url "https://download.qt.io/official_releases/qt/5.15/0001-CVE-2023-51714-qtbase-5.15.diff"
130-
sha256 "2129058a5e24d98ee80a776c49a58c2671e06c338dffa7fc0154e82eef96c9d4"
131-
directory "qtbase"
61+
url "https://download.qt.io/official_releases/qt/5.15/CVE-2024-36048-qtnetworkauth-5.15.diff"
62+
sha256 "e5d385d636b5241b59ac16c4a75359e21e510506b26839a4e2033891245f33f9"
63+
directory "qtnetworkauth"
13264
end
65+
66+
# CVE-2024-39936
67+
# Remove with Qt 5.15.18
13368
patch do
134-
url "https://download.qt.io/official_releases/qt/5.15/0002-CVE-2023-51714-qtbase-5.15.diff"
135-
sha256 "99d5d32527e767d6ab081ee090d92e0b11f27702619a4af8966b711db4f23e42"
69+
url "https://download.qt.io/official_releases/qt/5.15/CVE-2024-39936-qtbase-5.15.patch"
70+
sha256 "2cc23afba9d7e48f8faf8664b4c0324a9ac31a4191da3f18bd0accac5c7704de"
13671
directory "qtbase"
13772
end
13873

@@ -259,4 +194,4 @@ def caveats
259194
assert_predicate testpath/"main.o", :exist?
260195
system "./hello"
261196
end
262-
end
197+
end

0 commit comments

Comments
 (0)