1 |
commit: 944a39cd04fc0960a85035148475d9ad81e7dd51 |
2 |
Author: Sam James <sam <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Aug 23 22:56:18 2022 +0000 |
4 |
Commit: Sam James <sam <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Aug 23 22:56:18 2022 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=944a39cd |
7 |
|
8 |
sys-boot/plymouth: fix build w/ glibc 2.36 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/863839 |
11 |
Signed-off-by: Sam James <sam <AT> gentoo.org> |
12 |
|
13 |
.../files/plymouth-22.02.122-glibc-2.36.patch | 25 ++++++++++++++++++++++ |
14 |
sys-boot/plymouth/plymouth-22.02.122-r1.ebuild | 1 + |
15 |
2 files changed, 26 insertions(+) |
16 |
|
17 |
diff --git a/sys-boot/plymouth/files/plymouth-22.02.122-glibc-2.36.patch b/sys-boot/plymouth/files/plymouth-22.02.122-glibc-2.36.patch |
18 |
new file mode 100644 |
19 |
index 000000000000..b1da112732e3 |
20 |
--- /dev/null |
21 |
+++ b/sys-boot/plymouth/files/plymouth-22.02.122-glibc-2.36.patch |
22 |
@@ -0,0 +1,25 @@ |
23 |
+https://gitlab.freedesktop.org/plymouth/plymouth/-/commit/5f1e43c00039a7fe1fff768b91a05a695fb4a53d |
24 |
+https://bugs.gentoo.org/863839 |
25 |
+ |
26 |
+From 5f1e43c00039a7fe1fff768b91a05a695fb4a53d Mon Sep 17 00:00:00 2001 |
27 |
+From: Ray Strode <rstrode@××××××.com> |
28 |
+Date: Wed, 3 Aug 2022 15:23:33 -0400 |
29 |
+Subject: [PATCH] ply-utils: Drop linux/fs.h include |
30 |
+ |
31 |
+It was needed long ago for a function we no longer even have. |
32 |
+ |
33 |
+Now it's causing compile errors on Fedora 37 because it's conflicting |
34 |
+with sys/mount.h. |
35 |
+ |
36 |
+This commit drops it. |
37 |
+--- a/src/libply/ply-utils.c |
38 |
++++ b/src/libply/ply-utils.c |
39 |
+@@ -46,7 +46,6 @@ |
40 |
+ #include <sys/user.h> |
41 |
+ #include <sys/wait.h> |
42 |
+ #include <time.h> |
43 |
+-#include <linux/fs.h> |
44 |
+ #include <linux/vt.h> |
45 |
+ |
46 |
+ #include <dlfcn.h> |
47 |
+GitLab |
48 |
|
49 |
diff --git a/sys-boot/plymouth/plymouth-22.02.122-r1.ebuild b/sys-boot/plymouth/plymouth-22.02.122-r1.ebuild |
50 |
index d87fe2ec7e36..075ed34ae073 100644 |
51 |
--- a/sys-boot/plymouth/plymouth-22.02.122-r1.ebuild |
52 |
+++ b/sys-boot/plymouth/plymouth-22.02.122-r1.ebuild |
53 |
@@ -52,6 +52,7 @@ DOC_CONTENTS=" |
54 |
|
55 |
PATCHES=( |
56 |
"${FILESDIR}"/0.9.3-glibc-sysmacros.patch |
57 |
+ "${FILESDIR}"/${P}-glibc-2.36.patch |
58 |
) |
59 |
|
60 |
src_prepare() { |