Merge pull request #292617 from alyssais/autogen-LFS64

autogen: patch out use of LFS64 functions

authored by Sandro and committed by GitHub 51d7d09c e87b3a7d

+7
+7
pkgs/development/tools/misc/autogen/default.nix
··· 51 51 url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/autogen/files/autogen-5.18.16-guile-3.patch?id=43bcc61c56a5a7de0eaf806efec7d8c0e4c01ae7"; 52 52 sha256 = "18d7y1f6164dm1wlh7rzbacfygiwrmbc35a7qqsbdawpkhydm5lr"; 53 53 }) 54 + (fetchpatch { 55 + name = "lfs64.patch"; 56 + url = "https://cygwin.com/cgit/cygwin-packages/autogen/plain/5.16.2-cygwin17.patch?id=6f39882873b3d1290ba3739e0557a84bfe05ba60"; 57 + stripLen = 1; 58 + hash = "sha256-6dk2imqForUHKhI82CTronWaS3KUWW/EKfA/JZZcRe0="; 59 + }) 54 60 ]; 55 61 56 62 outputs = [ "bin" "dev" "lib" "out" "man" "info" ]; ··· 79 85 # If you are curious about the number 78, it has been cargo-culted from 80 86 # Debian: https://salsa.debian.org/debian/autogen/-/blob/master/debian/rules#L21 81 87 "--enable-timeout=78" 88 + "CFLAGS=-D_FILE_OFFSET_BITS=64" 82 89 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [ 83 90 # the configure check for regcomp wants to run a host program 84 91 "libopts_cv_with_libregex=yes"