summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFabian Groffen <grobian@gentoo.org>2022-12-25 12:45:55 +0100
committerFabian Groffen <grobian@gentoo.org>2022-12-25 12:46:40 +0100
commit51612c48d72f36fc6646a75f43827daa085dc5df (patch)
treedeb27af153551030210b976cf8ea72c422844ca7 /app-arch/cpio
parentprofiles: unmask mysqltcl (diff)
downloadgentoo-51612c48d72f36fc6646a75f43827daa085dc5df.tar.gz
gentoo-51612c48d72f36fc6646a75f43827daa085dc5df.tar.bz2
gentoo-51612c48d72f36fc6646a75f43827daa085dc5df.zip
app-admin/coreboot-utils: some useful utils from coreboot project
Signed-off-by: Fabian Groffen <grobian@gentoo.org>
Diffstat (limited to 'app-arch/cpio')
-rw-r--r--app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch4
1 files changed, 3 insertions, 1 deletions
diff --git a/app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch b/app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch
index 0f902f060f86..abd1b663496d 100644
--- a/app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch
+++ b/app-arch/cpio/files/cpio-2.13-sysmacros-glibc-2.26.patch
@@ -1,10 +1,12 @@
--- a/am/ax_compile_check_rettype.m4
+++ b/am/ax_compile_check_rettype.m4
-@@ -70,6 +70,7 @@ AC_CACHE_VAL(AC_CV_NAME,
+@@ -70,6 +70,9 @@ AC_CACHE_VAL(AC_CV_NAME,
[for ac_type in char short int long "long long" $4
do
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[
++#ifdef HAVE_SYS_SYSMACROS_H
+#include <sys/sysmacros.h>
++#endif
#include <sys/types.h>
$3
]], [[switch (0) case 0: case (sizeof ($1($2)) == sizeof ($ac_type)):;]])], [AC_CV_NAME=$ac_type])