Debian Codegraph @

debian/patches/fix-build-with-autoconf-272.patch

raw
1 From: Bernd Kuhls <[email protected]>
2 Date: Sat, 10 Feb 2024 09:33:48 +0100
3 Subject: [PATCH] cf/largefile.m4: Fix build with autoconf-2.72
4
5 Fixes https://github.com/heimdal/heimdal/issues/1201
6 ---
7 cf/largefile.m4 | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
9
10 diff --git a/cf/largefile.m4 b/cf/largefile.m4
11 index 5c54897..cdbbc55 100644
12 --- a/cf/largefile.m4
13 +++ b/cf/largefile.m4
14 @@ -10,7 +10,7 @@ dnl with generated code, such as lex
15 if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then
16 CPPFLAGS="$CPPFLAGS -D_LARGE_FILES=$ac_cv_sys_large_files"
17 fi
18 -if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no; then
19 +if test "$enable_largefile" != no -a "$ac_cv_sys_file_offset_bits" != no && test -n "$ac_cv_sys_file_offset_bits"; then
20 CPPFLAGS="$CPPFLAGS -D_FILE_OFFSET_BITS=$ac_cv_sys_file_offset_bits"
21 fi
22 ])