mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-15 08:56:58 +02:00
net-analyzer/tcpdump: Sync with Gentoo
It's from Gentoo commit 01278beb9042adbe351f7610f90667bc5bdaae1c.
This commit is contained in:
parent
a55a47c8cb
commit
2fa21182ee
@ -1,22 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -30,7 +30,7 @@ if test "$ac_cv_prog_cc_c99" = "no"; then
|
|
||||||
fi
|
|
||||||
AC_LBL_C_INIT(V_CCOPT, V_INCLS)
|
|
||||||
AC_C_INLINE
|
|
||||||
-
|
|
||||||
+AC_SYS_LARGEFILE
|
|
||||||
AC_CHECK_HEADERS(fcntl.h rpc/rpc.h rpc/rpcent.h net/if.h)
|
|
||||||
|
|
||||||
case "$host_os" in
|
|
@ -19,7 +19,7 @@ else
|
|||||||
SRC_URI="https://www.tcpdump.org/release/${P}.tar.gz"
|
SRC_URI="https://www.tcpdump.org/release/${P}.tar.gz"
|
||||||
SRC_URI+=" verify-sig? ( https://www.tcpdump.org/release/${P}.tar.gz.sig )"
|
SRC_URI+=" verify-sig? ( https://www.tcpdump.org/release/${P}.tar.gz.sig )"
|
||||||
|
|
||||||
KEYWORDS="~alpha amd64 arm ~arm64 ~hppa ~m68k ~mips ~ppc ppc64 ~riscv ~s390 ~sparc x86 ~amd64-linux ~x86-linux"
|
KEYWORDS="~alpha amd64 arm arm64 ~hppa ~m68k ~mips ppc ppc64 ~riscv ~s390 sparc x86 ~amd64-linux ~x86-linux"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="BSD"
|
LICENSE="BSD"
|
||||||
|
Loading…
Reference in New Issue
Block a user