Files
gentoo/sys-fs/diskdev_cmds/files/diskdev_cmds-332.14_p1-no-sysctl.patch
Sergei Trofimovich 0e18040d34 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>
2020-08-19 21:43:34 +01:00

13 lines
235 B
Diff

--- 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