Update apt to 2.5.5 (#2161700)

Fix build with gcc13
This commit is contained in:
Sérgio M. Basto 2023-01-25 16:37:53 +00:00
commit 40ded1ed5b
4 changed files with 19 additions and 3 deletions

1
.gitignore vendored
View file

@ -26,3 +26,4 @@ apt-0.5.15lorg3.95.git416.tar.bz2
/apt-2.5.2.tar.gz
/apt-2.5.3.tar.gz
/apt-2.5.4.tar.gz
/apt-2.5.5.tar.gz

View file

@ -13,13 +13,14 @@
%bcond_with check_integration
Name: apt
Version: 2.5.4
Release: 2%{?dist}
Version: 2.5.5
Release: 1%{?dist}
Summary: Command-line package manager for Debian packages
License: GPLv2+
URL: https://tracker.debian.org/pkg/apt
Source0: https://salsa.debian.org/apt-team/%{name}/-/archive/%{version}/%{name}-%{version}.tar.gz
Patch1: apt_include_cstdint.patch
BuildRequires: gcc
BuildRequires: gcc-c++
@ -309,6 +310,10 @@ exit 0
%doc %{_docdir}/%{name}-utils
%changelog
* Wed Jan 25 2023 Sérgio Basto <sergio@serjux.com> - 2.5.5-1
- Update apt to 2.5.5 (#2161700)
- Fix build with gcc13
* Wed Jan 18 2023 Fedora Release Engineering <releng@fedoraproject.org> - 2.5.4-2
- Rebuilt for https://fedoraproject.org/wiki/Fedora_38_Mass_Rebuild

10
apt_include_cstdint.patch Normal file
View file

@ -0,0 +1,10 @@
--- ./apt-pkg/contrib/mmap.cc.orig 2023-01-25 15:38:18.773604489 +0000
+++ ./apt-pkg/contrib/mmap.cc 2023-01-25 15:38:39.196535088 +0000
@@ -30,6 +30,7 @@
#include <unistd.h>
#include <apti18n.h>
+#include <cstdint>
/*}}}*/
// MMap::MMap - Constructor /*{{{*/

View file

@ -1 +1 @@
SHA512 (apt-2.5.4.tar.gz) = 41c27e14c1a817ea578d88db50f1223a7add30c990fc9befb81aef27f735d75f53009cd914b11fca0a5c16deb9dc40c86fc91fb05b66c83e5a3ba9f647e3531c
SHA512 (apt-2.5.5.tar.gz) = 953a667c9a00f9895753d8f996e4809edad62e136a52db87606ce086a06b649536cd0b97e5adf12c9c57f7d26ae569f2daf43a6b12037a60c1d451f2e5f1b124