Skip to content

Commit f427153

Browse files
authored
Merge pull request #251187 from Homebrew/bump-apt-3.1.11
apt 3.1.11
2 parents b3d84f6 + b312be5 commit f427153

File tree

1 file changed

+21
-4
lines changed

1 file changed

+21
-4
lines changed

Formula/a/apt.rb

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@ class Apt < Formula
22
desc "Advanced Package Tool"
33
homepage "https://wiki.debian.org/Apt"
44
# Using git tarball as Debian does not retain old versions at deb.debian.org
5-
url "https://salsa.debian.org/apt-team/apt/-/archive/3.1.9/apt-3.1.9.tar.bz2"
6-
sha256 "679d608e4b7ffe269bd59dcd4b6673e0fa808101cba2693aca187a1076882ca7"
5+
url "https://salsa.debian.org/apt-team/apt/-/archive/3.1.11/apt-3.1.11.tar.bz2"
6+
sha256 "bd4cca1f23e5618fdce907000ad5b6d4ea658cebfd986de8b2a5cce7b84cb7e2"
77
license "GPL-2.0-or-later"
88

99
livecheck do
@@ -12,8 +12,8 @@ class Apt < Formula
1212
end
1313

1414
bottle do
15-
sha256 arm64_linux: "564ae886db1f8042a378c3681180dbf54ce1f1025668bf35667f69b6d247ffb4"
16-
sha256 x86_64_linux: "ceb58bfc79bc288481b89eaf30e2b3ec72f4b00bc611de057840bc45683bc82d"
15+
sha256 arm64_linux: "a7b9f56eec93e22e62b39ecfb48a281440a173fd6d2de68006bfe5966c78a99e"
16+
sha256 x86_64_linux: "56faa2a3dad5b958322b0a64700b54d2159cc9d502dae3d0d87f02b24471e30a"
1717
end
1818

1919
keg_only "it conflicts with system apt"
@@ -46,6 +46,9 @@ class Apt < Formula
4646
sha256 "289a0966c02c2008cd263d3913a8e3c84c97b8ded3e08373d63a382c71d2199c"
4747
end
4848

49+
# Add missing <optional> header
50+
patch :DATA
51+
4952
def install
5053
# Find our docbook catalog
5154
ENV["XML_CATALOG_FILES"] = "#{etc}/xml/catalog"
@@ -73,3 +76,17 @@ def install
7376
shell_output("#{bin}/apt list 2>&1")
7477
end
7578
end
79+
80+
__END__
81+
diff --git a/apt-private/private-cmndline.cc b/apt-private/private-cmndline.cc
82+
index 7ea1878..117644d 100644
83+
--- a/apt-private/private-cmndline.cc
84+
+++ b/apt-private/private-cmndline.cc
85+
@@ -17,6 +17,7 @@
86+
#include <cstdarg>
87+
#include <cstdlib>
88+
#include <cstring>
89+
+#include <optional>
90+
#include <unistd.h>
91+
92+
#include <algorithm>

0 commit comments

Comments
 (0)