summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2016-04-18 12:57:03 -0400
committerMike Frysinger <vapier@gentoo.org>2016-04-18 12:57:18 -0400
commitb916e6674d101f748394f4899d9f804672e0b064 (patch)
tree851257df8b73467dd5069626d81891415d7359c6 /sys-apps/hdparm/files
parentwww-servers/tomcat: version bump (diff)
downloadgentoo-b916e6674d101f748394f4899d9f804672e0b064.tar.gz
gentoo-b916e6674d101f748394f4899d9f804672e0b064.tar.bz2
gentoo-b916e6674d101f748394f4899d9f804672e0b064.zip
sys-apps/hdparm: fix building w/newer glibc #580052
Diffstat (limited to 'sys-apps/hdparm/files')
-rw-r--r--sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch23
1 files changed, 23 insertions, 0 deletions
diff --git a/sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch b/sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch
new file mode 100644
index 000000000000..98a08c7d36d0
--- /dev/null
+++ b/sys-apps/hdparm/files/hdparm-9.48-sysmacros.patch
@@ -0,0 +1,23 @@
+https://bugs.gentoo.org/580052
+https://sourceforge.net/p/hdparm/patches/44/
+
+--- a/geom.c
++++ b/geom.c
+@@ -15,6 +15,7 @@
+ #include <errno.h>
+ #include <dirent.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <sys/ioctl.h>
+ #include <linux/types.h>
+ #include <linux/fs.h>
+--- a/sysfs.c
++++ b/sysfs.c
+@@ -15,6 +15,7 @@
+ #include <dirent.h>
+ #include <limits.h>
+ #include <sys/stat.h>
++#include <sys/sysmacros.h>
+ #include <linux/types.h>
+
+ #include "hdparm.h"