From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B1A9815802E for ; Sun, 23 Jun 2024 22:46:56 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id E1791E2B48; Sun, 23 Jun 2024 22:46:55 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BEF9AE2B48 for ; Sun, 23 Jun 2024 22:46:55 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id F3B3633C1C1 for ; Sun, 23 Jun 2024 22:46:54 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 6369D1B91 for ; Sun, 23 Jun 2024 22:46:53 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1719182774.acf4c3b19d2e93a66020970627da22e813747e2a.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-process/audit/, sys-process/audit/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-process/audit/audit-3.1.3.ebuild sys-process/audit/files/audit-3.1.3-musl-malloc.patch X-VCS-Directories: sys-process/audit/ sys-process/audit/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: acf4c3b19d2e93a66020970627da22e813747e2a X-VCS-Branch: master Date: Sun, 23 Jun 2024 22:46:53 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 41e17ce0-40b5-4b7c-8481-6fc4bcb76b23 X-Archives-Hash: 6a1c4bf81707924c5c67a1dca3cbf7b8 commit: acf4c3b19d2e93a66020970627da22e813747e2a Author: Sam James gentoo org> AuthorDate: Sun Jun 23 22:46:14 2024 +0000 Commit: Sam James gentoo org> CommitDate: Sun Jun 23 22:46:14 2024 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=acf4c3b1 sys-process/audit: fix musl build Closes: https://bugs.gentoo.org/934006 Signed-off-by: Sam James gentoo.org> sys-process/audit/audit-3.1.3.ebuild | 2 +- .../audit/files/audit-3.1.3-musl-malloc.patch | 28 ++++++++++++++++++++++ 2 files changed, 29 insertions(+), 1 deletion(-) diff --git a/sys-process/audit/audit-3.1.3.ebuild b/sys-process/audit/audit-3.1.3.ebuild index a7941a5d6676..e185e4615aae 100644 --- a/sys-process/audit/audit-3.1.3.ebuild +++ b/sys-process/audit/audit-3.1.3.ebuild @@ -46,7 +46,7 @@ BDEPEND=" CONFIG_CHECK="~AUDIT" PATCHES=( - "${FILESDIR}"/${PN}-3.0.8-musl-malloc.patch + "${FILESDIR}"/${PN}-3.1.3-musl-malloc.patch ) QA_CONFIG_IMPL_DECL_SKIP=( diff --git a/sys-process/audit/files/audit-3.1.3-musl-malloc.patch b/sys-process/audit/files/audit-3.1.3-musl-malloc.patch new file mode 100644 index 000000000000..01c440f3eb83 --- /dev/null +++ b/sys-process/audit/files/audit-3.1.3-musl-malloc.patch @@ -0,0 +1,28 @@ +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 +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