From ee1035be717677ba91ab2c940ce5cad9c7efa447 Mon Sep 17 00:00:00 2001 From: Adrian Ho Date: Sat, 10 Sep 2022 05:06:36 +0800 Subject: [PATCH] util-linux: add 2.38.1 bottle. --- Formula/util-linux.rb | 20 ++++++-------------- 1 file changed, 6 insertions(+), 14 deletions(-) diff --git a/Formula/util-linux.rb b/Formula/util-linux.rb index f4f22816a23..ab8bf13f819 100644 --- a/Formula/util-linux.rb +++ b/Formula/util-linux.rb @@ -1,8 +1,8 @@ class UtilLinux < Formula desc "Collection of Linux utilities" homepage "https://github.com/util-linux/util-linux" - url "https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/util-linux-2.38.tar.xz" - sha256 "6d111cbe4d55b336db2f1fbeffbc65b89908704c01136371d32aa9bec373eb64" + url "https://mirrors.edge.kernel.org/pub/linux/utils/util-linux/v2.38/util-linux-2.38.1.tar.xz" + sha256 "60492a19b44e6cf9a3ddff68325b333b8b52b6c59ce3ebd6a0ecaa4c5117e84f" license all_of: [ "BSD-3-Clause", "BSD-4-Clause-UC", @@ -14,19 +14,17 @@ class UtilLinux < Formula ] bottle do - sha256 arm64_monterey: "be2925aad03237bfdb1fd53158c9235d649d9e5fcd8f2b0689d8ce8d3273c04e" - sha256 arm64_big_sur: "89ec9e96b6de3362e75bc20df071a5d5e4df117df38823dc6935135914c56bc7" - sha256 monterey: "4385125676f6c50e205a7cd0016d9836416a8ad615c30d40735b5137b50a5d30" - sha256 big_sur: "bbef173b8c11b3ad59036324b81621ea8272ec776d03a634c1fd146736975545" - sha256 catalina: "5e95506d7c96393a44db68f804dbef580b6ba32365152827679c843b642d4aed" - sha256 x86_64_linux: "f52e145ee56a685c717c6adc7db269b84f0ee7dcb01ff3d9d1f30f424e733ca5" + root_url "https://github.com/gromgit/homebrew-core-aarch64_linux/releases/download/util-linux" + sha256 aarch64_linux: "b570a0756cb26f8b3f1f5cd6d67158e98301a25c6f549732e9c23df1f5f1afb4" end + keg_only :shadowed_by_macos, "macOS provides the uuid.h header" depends_on "asciidoctor" => :build depends_on "gettext" + uses_from_macos "libxcrypt" uses_from_macos "ncurses" uses_from_macos "zlib" @@ -39,12 +37,6 @@ class UtilLinux < Formula depends_on "libtool" => :build depends_on "pkg-config" => :build - # Fix ./include/statfs_magic.h:4:10: fatal error: 'sys/statfs.h' file not found - patch do - url "https://github.com/util-linux/util-linux/commit/478b9d477ecdd8f4e3a7b488524e1d4c6a113525.patch?full_index=1" - sha256 "576c26c3d15642f1c44548d0120b192b855cceeebf8ad97fb5e300350e88a3f7" - end - # Fix lib/procfs.c:9:10: fatal error: 'sys/vfs.h' file not found patch do url "https://github.com/util-linux/util-linux/commit/3671d4a878fb58aa953810ecf9af41809317294f.patch?full_index=1"