mirror of
https://github.com/flatcar/scripts.git
synced 2025-10-02 19:11:20 +02:00
sys-process/audit: Sync with Gentoo
It's from Gentoo commit d1f53d5bae5657db01f6aac127f352e21ccf14eb.
This commit is contained in:
parent
f977263195
commit
f6b105cd80
@ -17,7 +17,7 @@ SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2+ LGPL-2.1+"
|
||||
SLOT="0"
|
||||
KEYWORDS="~alpha amd64 ~arm ~arm64 hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||
KEYWORDS="~alpha amd64 arm arm64 hppa ~loong ~mips ppc ppc64 ~riscv ~s390 sparc x86"
|
||||
IUSE="gssapi io-uring ldap python static-libs test"
|
||||
|
||||
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"
|
||||
@ -51,6 +51,10 @@ QA_CONFIG_IMPL_DECL_SKIP=(
|
||||
strndupa
|
||||
)
|
||||
|
||||
PATCHES=(
|
||||
"${FILESDIR}/${PN}-4.0.1-musl-basename.patch"
|
||||
)
|
||||
|
||||
src_prepare() {
|
||||
# audisp-remote moved in multilib_src_install_all
|
||||
sed -i \
|
||||
|
@ -0,0 +1,14 @@
|
||||
Since musl 1.2.5, basename(3) is strict-POSIX compliant, and
|
||||
needs #include <libgen.h>, instead of the GNU version included
|
||||
with <string.h>
|
||||
|
||||
--- a/audisp/plugins/zos-remote/zos-remote-config.c
|
||||
+++ b/audisp/plugins/zos-remote/zos-remote-config.c
|
||||
@@ -32,6 +32,7 @@
|
||||
#include <ctype.h>
|
||||
#include <unistd.h>
|
||||
#include <stdlib.h>
|
||||
+#include <libgen.h>
|
||||
#include "zos-remote-log.h"
|
||||
|
||||
/* Local prototypes */
|
Loading…
x
Reference in New Issue
Block a user