1 |
commit: 41f2ac7623db1a797f54ec60ac7fa0057f884907 |
2 |
Author: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
3 |
AuthorDate: Wed Jan 5 21:19:25 2022 +0000 |
4 |
Commit: Andreas K. Hüttel <dilfridge <AT> gentoo <DOT> org> |
5 |
CommitDate: Wed Jan 5 21:19:25 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/proj/toolchain/glibc-patches.git/commit/?id=41f2ac76 |
7 |
|
8 |
Add patch from floppym |
9 |
|
10 |
Signed-off-by: Andreas K. Hüttel <dilfridge <AT> gentoo.org> |
11 |
|
12 |
9999/0208-Build-fix-no-double-__THROW.patch | 29 +++++++++++++++++++++++++++++ |
13 |
1 file changed, 29 insertions(+) |
14 |
|
15 |
diff --git a/9999/0208-Build-fix-no-double-__THROW.patch b/9999/0208-Build-fix-no-double-__THROW.patch |
16 |
new file mode 100644 |
17 |
index 0000000..56c3afa |
18 |
--- /dev/null |
19 |
+++ b/9999/0208-Build-fix-no-double-__THROW.patch |
20 |
@@ -0,0 +1,29 @@ |
21 |
+From fc24fb7c47dbe4e279a3853ee6eff6565348ca47 Mon Sep 17 00:00:00 2001 |
22 |
+From: Mike Gilbert <floppym@g.o> |
23 |
+Date: Wed, 5 Jan 2022 22:11:49 +0100 |
24 |
+Subject: [PATCH] Build fix (no double __THROW) |
25 |
+MIME-Version: 1.0 |
26 |
+Content-Type: text/plain; charset=UTF-8 |
27 |
+Content-Transfer-Encoding: 8bit |
28 |
+ |
29 |
+Signed-off-by: Andreas K. Hüttel <dilfridge@g.o> |
30 |
+--- |
31 |
+ dirent/dirent.h | 2 +- |
32 |
+ 1 file changed, 1 insertion(+), 1 deletion(-) |
33 |
+ |
34 |
+diff --git a/dirent/dirent.h b/dirent/dirent.h |
35 |
+index 8ad5fbf430..eed030b379 100644 |
36 |
+--- a/dirent/dirent.h |
37 |
++++ b/dirent/dirent.h |
38 |
+@@ -363,7 +363,7 @@ extern __ssize_t __REDIRECT_NTH (getdirentries, |
39 |
+ size_t __nbytes, |
40 |
+ __off64_t *__restrict __basep), |
41 |
+ getdirentries64) |
42 |
+- __THROW __nonnull ((2, 4)) |
43 |
++ __nonnull ((2, 4)) |
44 |
+ __attribute_deprecated_msg__ ("Use getdents64 instead"); |
45 |
+ # else |
46 |
+ # define getdirentries getdirentries64 |
47 |
+-- |
48 |
+2.32.0 |
49 |
+ |