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/files/diskdev_cmds-332.14_p1-no-sysctl.patch | |
| parent | d9898700c278714b36c494bce72499449e0ff0cf (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/files/diskdev_cmds-332.14_p1-no-sysctl.patch')
| -rw-r--r-- | sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-no-sysctl.patch | 12 |
1 files changed, 12 insertions, 0 deletions
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 + |
