summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2024-10-23 17:07:31 +0100
committerSam James <sam@gentoo.org>2024-10-23 17:07:31 +0100
commit4036148dcb02c300544f5d39735cbb9fc93d7829 (patch)
treee7e3d0a23a8f0199cb1f2f54d70247289d06f0b2 /app-crypt
parentsys-cluster/resource-agents: add 4.15.1 (diff)
downloadgentoo-4036148dcb02c300544f5d39735cbb9fc93d7829.tar.gz
gentoo-4036148dcb02c300544f5d39735cbb9fc93d7829.tar.bz2
gentoo-4036148dcb02c300544f5d39735cbb9fc93d7829.zip
app-crypt/heimdal: fix build w/ autoconf-2.72
Closes: https://bugs.gentoo.org/924213 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'app-crypt')
-rw-r--r--app-crypt/heimdal/files/heimdal-7.8.0-autoconf-2.72.patch19
-rw-r--r--app-crypt/heimdal/heimdal-7.8.0-r3.ebuild1
2 files changed, 20 insertions, 0 deletions
diff --git a/app-crypt/heimdal/files/heimdal-7.8.0-autoconf-2.72.patch b/app-crypt/heimdal/files/heimdal-7.8.0-autoconf-2.72.patch
new file mode 100644
index 000000000000..5528af696680
--- /dev/null
+++ b/app-crypt/heimdal/files/heimdal-7.8.0-autoconf-2.72.patch
@@ -0,0 +1,19 @@
+https://github.com/heimdal/heimdal/pull/1229
+
+From 2b372170c894ed9aa3fe2fca976f3541ea7041d9 Mon Sep 17 00:00:00 2001
+From: Bernd Kuhls <bernd@kuhls.net>
+Date: Sat, 10 Feb 2024 09:33:48 +0100
+Subject: [PATCH] cf/largefile.m4: Fix build with autoconf-2.72
+
+Fixes https://github.com/heimdal/heimdal/issues/1201
+--- a/cf/largefile.m4
++++ b/cf/largefile.m4
+@@ -10,7 +10,7 @@ dnl with generated code, such as lex
+ if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then
+ CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
+ fi
+-if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no; then
++if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no && test -n "$ac_cv_sys_file_offset_bits"; then
+ CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
+ fi
+ ])
diff --git a/app-crypt/heimdal/heimdal-7.8.0-r3.ebuild b/app-crypt/heimdal/heimdal-7.8.0-r3.ebuild
index 5c703d0db52e..11e4adcdf1af 100644
--- a/app-crypt/heimdal/heimdal-7.8.0-r3.ebuild
+++ b/app-crypt/heimdal/heimdal-7.8.0-r3.ebuild
@@ -68,6 +68,7 @@ PATCHES=(
"${FILESDIR}/heimdal_fix-db60.patch"
"${FILESDIR}/heimdal-7.8.0-CVE-2022-45142.patch"
"${FILESDIR}/heimdal-7.8.0-configure-clang16.patch"
+ "${FILESDIR}/heimdal-7.8.0-autoconf-2.72.patch"
)
src_prepare() {