diff options
author | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-19 21:43:21 +0100 |
---|---|---|
committer | Sergei Trofimovich <slyfox@gentoo.org> | 2020-08-19 21:43:34 +0100 |
commit | 0e18040d345fe623061142cca2a8e0c43ff332e8 (patch) | |
tree | 4d93ddeb59d0859cba44f2e003ed0bc93f098ba3 /sys-fs/diskdev_cmds | |
parent | profiles/arch/arm64: stable mask spice[smartcard] (diff) | |
download | gentoo-0e18040d345fe623061142cca2a8e0c43ff332e8.tar.gz gentoo-0e18040d345fe623061142cca2a8e0c43ff332e8.tar.bz2 gentoo-0e18040d345fe623061142cca2a8e0c43ff332e8.zip |
sys-fs/diskdev_cmds: tweak for glibc-2.32
It does not fix build on musl but fixes build on glibc-2.32.
Reported-by: Georg Rudoy
Bug: https://bugs.gentoo.org/715862
Package-Manager: Portage-3.0.3, Repoman-3.0.0
Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
Diffstat (limited to 'sys-fs/diskdev_cmds')
-rw-r--r-- | sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r3.ebuild | 1 | ||||
-rw-r--r-- | sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-no-sysctl.patch | 12 |
2 files changed, 13 insertions, 0 deletions
diff --git a/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r3.ebuild b/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r3.ebuild index d65d92da3206..57753cb339ce 100644 --- a/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r3.ebuild +++ b/sys-fs/diskdev_cmds/diskdev_cmds-332.14_p1-r3.ebuild @@ -27,6 +27,7 @@ PATCHES=( "${WORKDIR}"/diskdev_cmds-${PV}.patch "${FILESDIR}"/${PN}-respect-cflags.patch "${FILESDIR}"/${P}-AR.patch + "${FILESDIR}"/${P}-no-sysctl.patch ) src_compile() { diff --git a/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-no-sysctl.patch b/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-no-sysctl.patch new file mode 100644 index 000000000000..f7ff186ca19b --- /dev/null +++ b/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-no-sysctl.patch @@ -0,0 +1,12 @@ +--- a/newfs_hfs.tproj/makehfs.c ++++ b/newfs_hfs.tproj/makehfs.c +@@ -37,8 +37,8 @@ + #endif + #include <sys/errno.h> + #include <sys/stat.h> +-#include <sys/sysctl.h> + #if !LINUX ++#include <sys/sysctl.h> + #include <sys/vmmeter.h> + #endif + |