From 31f384fcd996027e3547890114bb8bd3ecbac703 Mon Sep 17 00:00:00 2001 From: Duncaen Date: Sat, 27 Jun 2026 02:37:37 +0200 Subject: [PATCH] dpkg: update to 1.23.7. --- srcpkgs/dpkg/patches/musl-tests.patch | 26 ++++++++++++++++++++++++++ srcpkgs/dpkg/template | 4 ++-- 2 files changed, 28 insertions(+), 2 deletions(-) create mode 100644 srcpkgs/dpkg/patches/musl-tests.patch diff --git a/srcpkgs/dpkg/patches/musl-tests.patch b/srcpkgs/dpkg/patches/musl-tests.patch new file mode 100644 index 00000000000..081e7240a30 --- /dev/null +++ b/srcpkgs/dpkg/patches/musl-tests.patch @@ -0,0 +1,26 @@ +--- a/lib/dpkg/t/t-file.c ++++ b/lib/dpkg/t/t-file.c +@@ -67,7 +67,11 @@ + free(path); + + path = file_realpath("//./..///../././..///.."); ++#ifdef __GLIBC__ + test_str(path, ==, "/"); ++#else ++ test_str(path, ==, "//"); ++#endif + free(path); + } + +@@ -86,7 +90,11 @@ + free(path); + + path = file_canonicalize("//./..///../././..///.."); ++#ifdef __GLIBC__ + test_str(path, ==, "/"); ++#else ++ test_str(path, ==, "//"); ++#endif + free(path); + + /* Canonicalize filenames that do not exist. */ diff --git a/srcpkgs/dpkg/template b/srcpkgs/dpkg/template index a35000b4c36..28bd2e1edbf 100644 --- a/srcpkgs/dpkg/template +++ b/srcpkgs/dpkg/template @@ -1,6 +1,6 @@ # Template file for 'dpkg' pkgname=dpkg -version=1.23.3 +version=1.23.7 revision=1 build_style=gnu-configure configure_args="--disable-start-stop-daemon --with-libz --with-libbz2 @@ -16,7 +16,7 @@ license="GPL-2.0-or-later" homepage="http://packages.debian.org/dpkg" changelog="https://git.dpkg.org/git/dpkg/dpkg.git/plain/debian/changelog" distfiles="${DEBIAN_SITE}/main/d/dpkg/dpkg_${version}.tar.xz" -checksum=57f759b573dfe25602be8f4f0df24d5264367bbd6489741dd767c30dde65ae36 +checksum=60fe2be72e5f0a4bb0ac7baff3b1697ebc5cfaac1885f66649521571a97440ad dpkg-devel_package() { short_desc+=" - development files"