Skip to content

Commit ff7f9b5

Browse files
authored
Merge pull request #249795 from pierresouchay/revert_pango_v_56_4
pango: apply patch to fix crash with emoji on macOS
2 parents 62355cc + 4a66692 commit ff7f9b5

File tree

1 file changed

+13
-8
lines changed

1 file changed

+13
-8
lines changed

Formula/p/pango.rb

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ class Pango < Formula
44
url "https://download.gnome.org/sources/pango/1.57/pango-1.57.0.tar.xz"
55
sha256 "890640c841dae77d3ae3d8fe8953784b930fa241b17423e6120c7bfdf8b891e7"
66
license "LGPL-2.0-or-later"
7+
revision 1
78
head "https://gitlab.gnome.org/GNOME/pango.git", branch: "main"
89

910
# Pango doesn't follow GNOME's "even-numbered minor is stable" version
@@ -15,14 +16,12 @@ class Pango < Formula
1516
end
1617

1718
bottle do
18-
sha256 cellar: :any, arm64_tahoe: "cc25f12c05e5a49b2d73b0c4161554f72dce3b813ad9790ed94f146564e4a79f"
19-
sha256 cellar: :any, arm64_sequoia: "af46edb4113ff0190d78175fb4e82296467cef2ed216267bcc3b26f151b2fe0a"
20-
sha256 cellar: :any, arm64_sonoma: "5574b80791985eddd56246754eae3b4d35404fef8618d217595dbcd115e87cf9"
21-
sha256 cellar: :any, arm64_ventura: "a540a741aa1f48d1aa12a4da48c14ed0684f7622e5f5c00acbec5fbf8cdbad08"
22-
sha256 cellar: :any, sonoma: "2e14b5c3420123b2d1fee02cbf9e9bffebfbe680ba116353bd44faa598ec9d14"
23-
sha256 cellar: :any, ventura: "901790521cdaa6ed8a4ca3161a7afdb954d2d8e3d65460f47d7393a3c9ca7fe4"
24-
sha256 arm64_linux: "0fe86be52c9a3244e9badf8116eaf985003ca39aff68957a3e4082a1bc5bfac0"
25-
sha256 x86_64_linux: "e4e73119da00a975bb646eed9d6fadea31032286ac43ef8ff57bf7dc2edc0b20"
19+
sha256 cellar: :any, arm64_tahoe: "dd27a8a5aa57deade2909c9f8054000cf8f289e4c416b3448c4c71159941e941"
20+
sha256 cellar: :any, arm64_sequoia: "b81624cd5d7a41cfa1242840ca5d8deb0e03e9fa1951841690fa1a94291293ef"
21+
sha256 cellar: :any, arm64_sonoma: "6edeafd5ccd0552dfa16d7790ab1e07a736076bfead4998d4e8222ae430e7ddc"
22+
sha256 cellar: :any, sonoma: "ae4ef39435487540dff3163e170936841edd376cd6ca56d5f4ba9765ce8f144e"
23+
sha256 arm64_linux: "20e27986a4cb125faff80a45c80e3bf052f0f47deedb1f845f85010185d43ffa"
24+
sha256 x86_64_linux: "0d6b77557f01f42a3143618f129f096403ac2fb84475017057b7d9fd09f00261"
2625
end
2726

2827
depends_on "gobject-introspection" => :build
@@ -36,6 +35,12 @@ class Pango < Formula
3635
depends_on "glib"
3736
depends_on "harfbuzz"
3837

38+
# PR ref: https://gitlab.gnome.org/GNOME/pango/-/merge_requests/891
39+
patch do
40+
url "https://gitlab.gnome.org/GNOME/pango/-/commit/4403954455f2b4a815b32e11c44f79b2e665e94c.diff"
41+
sha256 "f674089884839f64b5c04032325c2230f19049759a94dcb1daf82f832ff70e33"
42+
end
43+
3944
def install
4045
args = %w[
4146
-Ddefault_library=both

0 commit comments

Comments
 (0)