forked from rosa/hakurei
internal/rosa/package/acl: attr 2.5.2 to 2.6.0
Signed-off-by: Ophestra <cat@gensokyo.uk>
This commit is contained in:
@@ -1,26 +0,0 @@
|
|||||||
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
|
|
||||||
@@ -1,7 +1,7 @@
|
|||||||
diff --git a/test/attr.test b/test/attr.test
|
diff --git a/test/attr.run b/test/attr.run
|
||||||
index 6ce2f9b..e9bde92 100644
|
index 27d17f6..a4d60c0 100644
|
||||||
--- a/test/attr.test
|
--- a/test/attr.run
|
||||||
+++ b/test/attr.test
|
+++ b/test/attr.run
|
||||||
@@ -11,7 +11,7 @@ Try various valid and invalid names
|
@@ -11,7 +11,7 @@ Try various valid and invalid names
|
||||||
|
|
||||||
$ touch f
|
$ touch f
|
||||||
|
|||||||
@@ -3,17 +3,15 @@ package attr {
|
|||||||
website = "https://savannah.nongnu.org/projects/attr";
|
website = "https://savannah.nongnu.org/projects/attr";
|
||||||
anitya = 137;
|
anitya = 137;
|
||||||
|
|
||||||
version# = "2.5.2";
|
version# = "2.6.0";
|
||||||
source = remoteTar {
|
source = remoteTar {
|
||||||
url = "https://download.savannah.nongnu.org/releases/attr/"+
|
url = "https://download.savannah.nongnu.org/releases/attr/"+
|
||||||
"attr-"+version+".tar.gz";
|
"attr-"+version+".tar.gz";
|
||||||
checksum = "YWEphrz6vg1sUMmHHVr1CRo53pFXRhq_pjN-AlG8UgwZK1y6m7zuDhxqJhD0SV0l";
|
checksum = "pp-NvD1cMIwZycNwZGW2ez-PbTEpHxrRnVH27csj9QdN4oEBkEbJOZX1IIvKnTWS";
|
||||||
compress = gzip;
|
compress = gzip;
|
||||||
};
|
};
|
||||||
patches = [
|
|
||||||
"libgen-basename.patch",
|
patches = [ "musl-errno.patch" ];
|
||||||
"musl-errno.patch",
|
|
||||||
];
|
|
||||||
|
|
||||||
early = `
|
early = `
|
||||||
ln -s ../../system/bin/perl /usr/bin
|
ln -s ../../system/bin/perl /usr/bin
|
||||||
@@ -21,7 +19,11 @@ ln -s ../../system/bin/perl /usr/bin
|
|||||||
|
|
||||||
exec = make {};
|
exec = make {};
|
||||||
|
|
||||||
inputs = [ perl ];
|
inputs = [
|
||||||
|
perl,
|
||||||
|
|
||||||
|
kernel-headers,
|
||||||
|
];
|
||||||
}
|
}
|
||||||
|
|
||||||
package acl {
|
package acl {
|
||||||
|
|||||||
Reference in New Issue
Block a user