tangled
alpha
login
or
join now
pyrox.dev
/
nixpkgs
0
fork
atom
lol
0
fork
atom
overview
issues
pulls
pipelines
attr: backport patch for musl 1.2.5
Alyssa Ross
2 years ago
0e02f3d2
0d10cf98
+29
2 changed files
expand all
collapse all
unified
split
pkgs
development
libraries
attr
default.nix
musl.patch
+2
pkgs/development/libraries/attr/default.nix
···
18
18
19
19
nativeBuildInputs = [ gettext ];
20
20
21
21
+
patches = [ ./musl.patch ];
22
22
+
21
23
postPatch = ''
22
24
for script in install-sh include/install-sh; do
23
25
patchShebangs $script
+27
pkgs/development/libraries/attr/musl.patch
···
1
1
+
From 8a80d895dfd779373363c3a4b62ecce5a549efb2 Mon Sep 17 00:00:00 2001
2
2
+
From: "Haelwenn (lanodan) Monnier" <contact@hacktivis.me>
3
3
+
Date: Sat, 30 Mar 2024 10:17:10 +0100
4
4
+
Subject: tools/attr.c: Add missing libgen.h include for basename(3)
5
5
+
6
6
+
Fixes compilation issue with musl and modern C99 compilers.
7
7
+
8
8
+
See: https://bugs.gentoo.org/926294
9
9
+
---
10
10
+
tools/attr.c | 1 +
11
11
+
1 file changed, 1 insertion(+)
12
12
+
13
13
+
diff --git a/tools/attr.c b/tools/attr.c
14
14
+
index f12e4af..6a3c1e9 100644
15
15
+
--- a/tools/attr.c
16
16
+
+++ b/tools/attr.c
17
17
+
@@ -28,6 +28,7 @@
18
18
+
#include <errno.h>
19
19
+
#include <string.h>
20
20
+
#include <locale.h>
21
21
+
+#include <libgen.h>
22
22
+
23
23
+
#include <attr/attributes.h>
24
24
+
25
25
+
--
26
26
+
cgit v1.1
27
27
+