diff options
Diffstat (limited to 'net-analyzer/tcpdump/files/tcpdump-4.99.5-lfs.patch')
-rw-r--r-- | net-analyzer/tcpdump/files/tcpdump-4.99.5-lfs.patch | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/net-analyzer/tcpdump/files/tcpdump-4.99.5-lfs.patch b/net-analyzer/tcpdump/files/tcpdump-4.99.5-lfs.patch new file mode 100644 index 000000000000..0be1d7a75aaf --- /dev/null +++ b/net-analyzer/tcpdump/files/tcpdump-4.99.5-lfs.patch @@ -0,0 +1,22 @@ +https://github.com/the-tcpdump-group/tcpdump/pull/1068 + +From 54278acb038f0d16ed75cdddb35fd2813a7cdcef Mon Sep 17 00:00:00 2001 +From: Sam James <sam@gentoo.org> +Date: Thu, 27 Jul 2023 08:31:53 +0100 +Subject: [PATCH] configure.ac: use AC_SYS_LARGEFILE + +This enables 64-bit off_t where it's opt-in (e.g. glibc) on 32-bit platforms. + +Bug: https://bugs.gentoo.org/911176 +Signed-off-by: Sam James <sam@gentoo.org> +--- a/configure.ac ++++ b/configure.ac +@@ -31,6 +31,8 @@ fi + AC_LBL_C_INIT(V_CCOPT, V_INCLS) + AC_LBL_C_INLINE + ++AC_SYS_LARGEFILE ++ + AC_CHECK_HEADERS(rpc/rpc.h rpc/rpcent.h net/if.h) + # + # Get the size of a void *, to know whether this is a 32-bit or 64-bit build. |