···51 url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/autogen/files/autogen-5.18.16-guile-3.patch?id=43bcc61c56a5a7de0eaf806efec7d8c0e4c01ae7";
52 sha256 = "18d7y1f6164dm1wlh7rzbacfygiwrmbc35a7qqsbdawpkhydm5lr";
53 })
00000054 ];
5556 outputs = [ "bin" "dev" "lib" "out" "man" "info" ];
···79 # If you are curious about the number 78, it has been cargo-culted from
80 # Debian: https://salsa.debian.org/debian/autogen/-/blob/master/debian/rules#L21
81 "--enable-timeout=78"
082 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
83 # the configure check for regcomp wants to run a host program
84 "libopts_cv_with_libregex=yes"
···51 url = "https://gitweb.gentoo.org/repo/gentoo.git/plain/sys-devel/autogen/files/autogen-5.18.16-guile-3.patch?id=43bcc61c56a5a7de0eaf806efec7d8c0e4c01ae7";
52 sha256 = "18d7y1f6164dm1wlh7rzbacfygiwrmbc35a7qqsbdawpkhydm5lr";
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+ })
60 ];
6162 outputs = [ "bin" "dev" "lib" "out" "man" "info" ];
···85 # If you are curious about the number 78, it has been cargo-culted from
86 # Debian: https://salsa.debian.org/debian/autogen/-/blob/master/debian/rules#L21
87 "--enable-timeout=78"
88+ "CFLAGS=-D_FILE_OFFSET_BITS=64"
89 ] ++ lib.optionals (stdenv.hostPlatform != stdenv.buildPlatform) [
90 # the configure check for regcomp wants to run a host program
91 "libopts_cv_with_libregex=yes"