File tree Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Expand file tree Collapse file tree 1 file changed +19
-2
lines changed Original file line number Diff line number Diff 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
@@ -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
7578end
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>
You can’t perform that action at this time.
0 commit comments