diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2025-05-25 23:35:42 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2025-07-13 00:13:59 -0500 |
commit | 3dd69cca3c806d51dcefd015b5560defeba435db (patch) | |
tree | 1cebb1f21fc11e3571f6d6cffbd97ce77455b3ef /system/attr/posix-basename-header.patch | |
parent | 957fda63490f3aca80a7d24ef79596376e0de225 (diff) | |
download | packages-3dd69cca3c806d51dcefd015b5560defeba435db.tar.gz packages-3dd69cca3c806d51dcefd015b5560defeba435db.tar.bz2 packages-3dd69cca3c806d51dcefd015b5560defeba435db.tar.xz packages-3dd69cca3c806d51dcefd015b5560defeba435db.zip |
system/attr: Update to 2.5.2
Mostly translation and doc fixes. Also includes a patch from Git
(not yet released) that fixes the build on the POSIX conforming musl
which puts basename(3) in <libgen.h>.
Diffstat (limited to 'system/attr/posix-basename-header.patch')
-rw-r--r-- | system/attr/posix-basename-header.patch | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/system/attr/posix-basename-header.patch b/system/attr/posix-basename-header.patch new file mode 100644 index 000000000..818161f15 --- /dev/null +++ b/system/attr/posix-basename-header.patch @@ -0,0 +1,27 @@ +From 8a80d895dfd779373363c3a4b62ecce5a549efb2 Mon Sep 17 00:00:00 2001 +From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me> +Date: Sat, 30 Mar 2024 10:17:10 +0100 +Subject: tools/attr.c: Add missing libgen.h include for basename(3) + +Fixes compilation issue with musl and modern C99 compilers. + +See: https://bugs.gentoo.org/926294 +--- + tools/attr.c | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/tools/attr.c b/tools/attr.c +index f12e4af..6a3c1e9 100644 +--- a/tools/attr.c ++++ b/tools/attr.c +@@ -28,6 +28,7 @@ + #include <errno.h> + #include <string.h> + #include <locale.h> ++#include <libgen.h> + + #include <attr/attributes.h> + +-- +cgit v1.1 + |