commit bd2609ee750279c81ceb112c891343765bbc9cdc Author: Jakub Bogusz <qbo...@pld-linux.org> Date: Sat Jan 18 20:54:27 2025 +0100
- patch to fix build with autoconf 2.72 heimdal-largefile.patch | 19 +++++++++++++++++++ heimdal.spec | 2 ++ 2 files changed, 21 insertions(+) --- diff --git a/heimdal.spec b/heimdal.spec index 8333d89..5d8c684 100644 --- a/heimdal.spec +++ b/heimdal.spec @@ -30,6 +30,7 @@ Patch3: %{name}-dbpaths.patch Patch4: %{name}-db4.patch Patch5: %{name}-libadd.patch Patch6: %{name}-signal.patch +Patch7: %{name}-largefile.patch Patch8: %{name}-info.patch Patch9: %{name}-sbindir.patch Patch10: %{name}-ntlm-digest.patch @@ -237,6 +238,7 @@ Kerberosa. %patch -P4 -p1 %patch -P5 -p1 %patch -P6 -p1 +%patch -P7 -p1 %patch -P8 -p1 %patch -P9 -p1 %patch -P10 -p1 diff --git a/heimdal-largefile.patch b/heimdal-largefile.patch new file mode 100644 index 0000000..7333d03 --- /dev/null +++ b/heimdal-largefile.patch @@ -0,0 +1,19 @@ +Fixes build with autoconf 2.72 +--- heimdal-7.8.0/cf/largefile.m4.orig 2022-09-16 00:59:25.000000000 +0200 ++++ heimdal-7.8.0/cf/largefile.m4 2025-01-18 20:25:44.416477334 +0100 +@@ -7,10 +7,13 @@ AC_DEFUN([rk_SYS_LARGEFILE],[ + AC_REQUIRE([AC_SYS_LARGEFILE])dnl + dnl need to set this on the command line, since it might otherwise break + dnl with generated code, such as lex +-if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no; then ++if test "$enable_largefile" != no -a "$ac_cv_sys_large_files" != no && test -n "$ac_cv_sys_large_files"; 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 ++if test "$enable_largefile" != no -a -n "$ac_cv_sys_largefile_opts"; then ++ CPPFLAGS="$CPPFLAGS $ac_cv_sys_largefile_opts" ++fi + ]) ================================================================ ---- gitweb: http://git.pld-linux.org/gitweb.cgi/packages/heimdal.git/commitdiff/bd2609ee750279c81ceb112c891343765bbc9cdc _______________________________________________ pld-cvs-commit mailing list pld-cvs-commit@lists.pld-linux.org http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit