Skip to content

Commit a4d2185

Browse files
authored
fakeroot: add fixes for macOS
Fakeroot for macOS is broken since 1.35.1. It simply hanged on macOS without any output. https://salsa.debian.org/clint/fakeroot/-/merge_requests/34/ is a pull request upstream to fix the same for it. Signed-off-by: Aditya Garg <[email protected]>
1 parent cb0389d commit a4d2185

File tree

1 file changed

+6
-5
lines changed

1 file changed

+6
-5
lines changed

Formula/f/fakeroot.rb

Lines changed: 6 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ 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/"
@@ -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)