diff options
author | 2018-10-21 16:52:00 +0200 | |
---|---|---|
committer | 2018-10-21 17:17:25 +0200 | |
commit | fa548218468082aba16ddb7ce819fa1d4abbc0cd (patch) | |
tree | c5cb9df168bfd27ad8b9615165107b1d6cf5505a /sys-apps | |
parent | www-client/chromium: fix build with harfbuzz-2 (diff) | |
download | gentoo-fa548218468082aba16ddb7ce819fa1d4abbc0cd.tar.gz gentoo-fa548218468082aba16ddb7ce819fa1d4abbc0cd.tar.bz2 gentoo-fa548218468082aba16ddb7ce819fa1d4abbc0cd.zip |
sys-apps/systemd-readahead: Fix build with glibc-2.27
Closes: https://bugs.gentoo.org/650314
Signed-off-by: Pacho Ramos <pacho@gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Diffstat (limited to 'sys-apps')
-rw-r--r-- | sys-apps/systemd-readahead/files/systemd-readahead-216-glibc-2.27.patch | 15 | ||||
-rw-r--r-- | sys-apps/systemd-readahead/systemd-readahead-216.ebuild | 5 |
2 files changed, 19 insertions, 1 deletions
diff --git a/sys-apps/systemd-readahead/files/systemd-readahead-216-glibc-2.27.patch b/sys-apps/systemd-readahead/files/systemd-readahead-216-glibc-2.27.patch new file mode 100644 index 000000000000..11837c6cc04b --- /dev/null +++ b/sys-apps/systemd-readahead/files/systemd-readahead-216-glibc-2.27.patch @@ -0,0 +1,15 @@ +--- a/src/shared/missing.h.orig 2018-10-21 16:47:25.858241043 +0200 ++++ b/src/shared/missing.h 2018-10-21 16:47:36.986335212 +0200 +@@ -204,12 +204,6 @@ + } + #endif + +-#ifndef HAVE_MEMFD_CREATE +-static inline int memfd_create(const char *name, uint64_t flags) { +- return syscall(__NR_memfd_create, name, flags); +-} +-#endif +- + #ifndef BTRFS_IOCTL_MAGIC + #define BTRFS_IOCTL_MAGIC 0x94 + #endif diff --git a/sys-apps/systemd-readahead/systemd-readahead-216.ebuild b/sys-apps/systemd-readahead/systemd-readahead-216.ebuild index a7580f0a561f..301b757c717d 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-2018 Gentoo Foundation +# Copyright 1999-2018 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 EAPI=6 @@ -29,6 +29,9 @@ DEPEND="${RDEPEND} PATCHES=( # https://github.com/systemd/systemd/pull/2838 , bug #604614 "${FILESDIR}/${P}-sysmacros.patch" + + # https://github.com/systemd/systemd/issues/8099, bug #650314 + "${FILESDIR}"/${P}-glibc-2.27.patch ) src_prepare() { |