summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Seifert <soap@gentoo.org>2017-09-04 22:10:45 +0200
committerDavid Seifert <soap@gentoo.org>2017-09-04 22:11:42 +0200
commit0eb6841a14d6e5bc5760af0f7fdbe805725b0ed7 (patch)
treead66e7832a5f8e930fb45b1e1fe8e05b04ac752e /sys-apps/cpuid/files
parentx11-base/xorg-server: remove unused patch (diff)
downloadgentoo-0eb6841a14d6e5bc5760af0f7fdbe805725b0ed7.tar.gz
gentoo-0eb6841a14d6e5bc5760af0f7fdbe805725b0ed7.tar.bz2
gentoo-0eb6841a14d6e5bc5760af0f7fdbe805725b0ed7.zip
sys-apps/cpuid: Add missing sys/sysmacros.h include
Closes: https://bugs.gentoo.org/show_bug.cgi?id=604406 Package-Manager: Portage-2.3.8, Repoman-2.3.3
Diffstat (limited to 'sys-apps/cpuid/files')
-rw-r--r--sys-apps/cpuid/files/cpuid-20170122-missing-include-sysmacros.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/sys-apps/cpuid/files/cpuid-20170122-missing-include-sysmacros.patch b/sys-apps/cpuid/files/cpuid-20170122-missing-include-sysmacros.patch
new file mode 100644
index 000000000000..bba18a3b3543
--- /dev/null
+++ b/sys-apps/cpuid/files/cpuid-20170122-missing-include-sysmacros.patch
@@ -0,0 +1,12 @@
+Bug: https://bugs.gentoo.org/show_bug.cgi?id=604406
+
+--- a/cpuid.c
++++ b/cpuid.c
+@@ -30,6 +30,7 @@
+ #define _GNU_SOURCE
+ #include <stdio.h>
+ #include <sys/types.h>
++#include <sys/sysmacros.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
+ #include <errno.h>