sys-process/audit: Sync with Gentoo

It's from Gentoo commit 70f78f50aa26536c1a068e8afc8476c6d849ee92.
This commit is contained in:
Flatcar Buildbot 2024-10-21 07:08:56 +00:00
parent 9ed7b5645d
commit 194ce6cf6a
2 changed files with 1 additions and 29 deletions

View File

@ -17,7 +17,7 @@ SRC_URI="https://people.redhat.com/sgrubb/audit/${P}.tar.gz"
LICENSE="GPL-2+ LGPL-2.1+" LICENSE="GPL-2+ LGPL-2.1+"
SLOT="0" 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" IUSE="gssapi io-uring ldap python static-libs test"
REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )" REQUIRED_USE="python? ( ${PYTHON_REQUIRED_USE} )"

View File

@ -1,28 +0,0 @@
https://bugs.gentoo.org/934006
https://github.com/linux-audit/audit-userspace/commit/1dd6123e810ce255692a693a5d52a0c34cf432d0
From 1dd6123e810ce255692a693a5d52a0c34cf432d0 Mon Sep 17 00:00:00 2001
From: Steve Grubb <ausearch.1@gmail.com>
Date: Mon, 1 Apr 2024 12:10:33 -0400
Subject: [PATCH] Add empty macro to fix muscl c builds
--- a/common/common.h
+++ b/common/common.h
@@ -1,5 +1,5 @@
-/* audit-fgets.h -- a replacement for glibc's fgets
- * Copyright 2018,2022 Red Hat Inc.
+/* common.h -- common utility functions used throughout
+ * Copyright 2018-24 Red Hat Inc.
* All Rights Reserved.
*
* This library is free software; you can redistribute it and/or
@@ -29,6 +29,9 @@
#ifndef __attr_access
# define __attr_access(x)
#endif
+#ifndef __attribute_malloc__
+# define __attribute_malloc__
+#endif
#ifndef __attr_dealloc
# define __attr_dealloc(dealloc, argno)
#endif