Skip to content

Commit 6b384a4

Browse files
authored
Merge pull request #230109 from AdityaGarg8/patch-1
fakeroot: add fixes for macOS
2 parents da4c42c + 6809243 commit 6b384a4

File tree

1 file changed

+13
-12
lines changed

1 file changed

+13
-12
lines changed

Formula/f/fakeroot.rb

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,21 @@ class Fakeroot < Formula
44
url "https://deb.debian.org/debian/pool/main/f/fakeroot/fakeroot_1.37.1.2.orig.tar.gz"
55
sha256 "959496928c8a676ec8377f665ff6a19a707bfad693325f9cc4a4126642f53224"
66
license "GPL-3.0-or-later"
7+
revision 1
78

89
livecheck do
910
url "https://deb.debian.org/debian/pool/main/f/fakeroot/"
1011
regex(/href=.*?fakeroot[._-]v?(\d+(?:\.\d+)+)[._-]orig\.t/i)
1112
end
1213

1314
bottle do
14-
sha256 cellar: :any, arm64_sequoia: "63ce046cb14a93fb98404df474b78719690cac86466b66b3cf0af93e2a16cf80"
15-
sha256 cellar: :any, arm64_sonoma: "8ea63218b4c5fdb3065b1b8e0523a41285d92ea9bda60b1aa2a13e187676a74c"
16-
sha256 cellar: :any, arm64_ventura: "516f46bd515171543b2d7c61bda37d5d777932ed480bc2115c4aa62282ae02db"
17-
sha256 cellar: :any, sonoma: "81d3b0da803e489894fae1d290d78ba1abffbc384f70fc99d3e95d41aebbb4fa"
18-
sha256 cellar: :any, ventura: "b1ca3e8b74313638583ba460578349747d83aca0fd02d9fab62c499cb5104cc5"
19-
sha256 cellar: :any_skip_relocation, arm64_linux: "ffd98968fac850868f65247322949c7b2f9ea381f025ad25a3eecbc518f29a72"
20-
sha256 cellar: :any_skip_relocation, x86_64_linux: "8c8783d27616cc745b74cd2d25b851c38592ebcd2a5f6c60f577087d032a7ce1"
15+
sha256 cellar: :any, arm64_sequoia: "ab29a59c3530a716bfa3151bed5458ece1bb6b136dd2a316f54f88ff031e1f52"
16+
sha256 cellar: :any, arm64_sonoma: "1aadc43f4ce3f17a1a609750a139f412205a71b1abc068b06874e83e40fcd7f3"
17+
sha256 cellar: :any, arm64_ventura: "1c11f5d0a36d1d27fb51c32f3989802f4c385796b56959da1472c3a97a42c687"
18+
sha256 cellar: :any, sonoma: "2c240e8fb51287a6e2304c2aca7dc0e0c0bf7103f72b3f36872abaa23d62c0d0"
19+
sha256 cellar: :any, ventura: "f67ebe96d1e957f934e9de9cb936671f7fef7780e6e12011828265ec2547ccb1"
20+
sha256 cellar: :any_skip_relocation, arm64_linux: "7f239b1a7a44fed02417a5230512a0a1f06d3c84bd27aff90db9c9a1a5704dc9"
21+
sha256 cellar: :any_skip_relocation, x86_64_linux: "41acec3bc608043a4a49fcca0008b90bbc45abc655d9b1c13b74577df13297a2"
2122
end
2223

2324
# Needed to apply patches below. Remove when no longer needed.
@@ -29,11 +30,11 @@ class Fakeroot < Formula
2930
depends_on "libcap" => :build
3031
end
3132

32-
# https://salsa.debian.org/clint/fakeroot/-/merge_requests/17
33-
patch :p0 do
34-
# The MR has a typo, so we use MacPorts' version.
35-
url "https://raw.githubusercontent.com/macports/macports-ports/0ffd857cab7b021f9dbf2cbc876d8025b6aefeff/sysutils/fakeroot/files/patch-message.h.diff"
36-
sha256 "6540eef1c31ffb4ed636c1f4750ee668d2effdfe308d975d835aa518731c72dc"
33+
# https://salsa.debian.org/clint/fakeroot/-/merge_requests/34/
34+
patch :p1 do
35+
# Fix for macOS
36+
url "https://salsa.debian.org/clint/fakeroot/-/merge_requests/34/diffs.diff"
37+
sha256 "0517ce18112d08cec2268dd2a5d78f033917454c68882665125d9e70c26983fc"
3738
end
3839

3940
def install

0 commit comments

Comments
 (0)