* [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-readahead/, sys-apps/systemd-readahead/files/
@ 2025-05-22 15:43 Pacho Ramos
0 siblings, 0 replies; only message in thread
From: Pacho Ramos @ 2025-05-22 15:43 UTC (permalink / raw
To: gentoo-commits
commit: 9e56f50c858366df9c8e58a227a47f5028a81f0d
Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
AuthorDate: Thu May 22 15:38:23 2025 +0000
Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
CommitDate: Thu May 22 15:42:44 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9e56f50c
sys-apps/systemd-readahead: Fix compilation due to missing header
Thanks-to: Toralf Förster
Closes: https://bugs.gentoo.org/925595
Signed-off-by: Pacho Ramos <pacho <AT> gentoo.org>
| 10 ++++++++++
sys-apps/systemd-readahead/systemd-readahead-216.ebuild | 5 ++++-
2 files changed, 14 insertions(+), 1 deletion(-)
--git a/sys-apps/systemd-readahead/files/systemd-readahead-216-socket-header.patch b/sys-apps/systemd-readahead/files/systemd-readahead-216-socket-header.patch
new file mode 100644
index 000000000000..b0497f4179c9
--- /dev/null
+++ b/sys-apps/systemd-readahead/files/systemd-readahead-216-socket-header.patch
@@ -0,0 +1,10 @@
+--- a/src/shared/missing.h~ 2025-05-22 17:34:02.000000000 +0200
++++ b/src/shared/missing.h 2025-05-22 17:34:18.732828172 +0200
+@@ -23,6 +23,7 @@
+
+ /* Missing glibc definitions to access certain kernel APIs */
+
++#include <sys/socket.h>
+ #include <sys/resource.h>
+ #include <sys/syscall.h>
+ #include <fcntl.h>
diff --git a/sys-apps/systemd-readahead/systemd-readahead-216.ebuild b/sys-apps/systemd-readahead/systemd-readahead-216.ebuild
index 5c8c65a4adcc..37012eef52c4 100644
--- a/sys-apps/systemd-readahead/systemd-readahead-216.ebuild
+++ b/sys-apps/systemd-readahead/systemd-readahead-216.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2025 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -33,6 +33,9 @@ PATCHES=(
# https://github.com/systemd/systemd/issues/8099, bug #650314
"${FILESDIR}"/${P}-glibc-2.27.patch
+
+ # https://bugs.gentoo.org/925595
+ "${FILESDIR}"/${P}-socket-header.patch
)
src_prepare() {
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2025-05-22 15:43 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-05-22 15:43 [gentoo-commits] repo/gentoo:master commit in: sys-apps/systemd-readahead/, sys-apps/systemd-readahead/files/ Pacho Ramos
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox