All of lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [PATCH 1/1] package/glorytun: fix build without cpuid.h
@ 2019-10-10 16:56 Fabrice Fontaine
  2019-10-10 19:30 ` Thomas Petazzoni
  0 siblings, 1 reply; 2+ messages in thread
From: Fabrice Fontaine @ 2019-10-10 16:56 UTC (permalink / raw)
  To: buildroot

Fixes:
 - http://autobuild.buildroot.org/results/2617bf58146caeaf3c1b17171dbce09217fb7a2d

Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
---
 .../glorytun/0001-Check-for-cpuid.h-too.patch | 29 +++++++++++++++++++
 1 file changed, 29 insertions(+)
 create mode 100644 package/glorytun/0001-Check-for-cpuid.h-too.patch

diff --git a/package/glorytun/0001-Check-for-cpuid.h-too.patch b/package/glorytun/0001-Check-for-cpuid.h-too.patch
new file mode 100644
index 0000000000..c05e01a262
--- /dev/null
+++ b/package/glorytun/0001-Check-for-cpuid.h-too.patch
@@ -0,0 +1,29 @@
+From 00fdf8a605f019570113e0f6af64c840767846c3 Mon Sep 17 00:00:00 2001
+From: =?UTF-8?q?Adrien=20Gallou=C3=ABt?= <adrien@gallouet.fr>
+Date: Tue, 8 Oct 2019 08:50:09 +0000
+Subject: [PATCH] Check for cpuid.h too
+MIME-Version: 1.0
+Content-Type: text/plain; charset=UTF-8
+Content-Transfer-Encoding: 8bit
+
+Signed-off-by: Adrien Gallou?t <adrien@gallouet.fr>
+Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
+[Retrieved from:
+https://github.com/angt/aegis256/commit/00fdf8a605f019570113e0f6af64c840767846c3]
+---
+ mud/aegis256/aegis256.c | 2 +-
+ 1 file changed, 1 insertion(+), 1 deletion(-)
+
+diff --git a/mud/aegis256/aegis256.c b/mud/aegis256/aegis256.c
+index 97cf171..5e3c237 100644
+--- a/mud/aegis256/aegis256.c
++++ b/mud/aegis256/aegis256.c
+@@ -7,7 +7,7 @@
+ #define __has_include(X) 0
+ #endif
+ 
+-#if __has_include("x86intrin.h")
++#if (__has_include("x86intrin.h") && __has_include("cpuid.h"))
+ 
+ #include <string.h>
+ #include <x86intrin.h>
-- 
2.23.0

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-10 19:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2019-10-10 16:56 [Buildroot] [PATCH 1/1] package/glorytun: fix build without cpuid.h Fabrice Fontaine
2019-10-10 19:30 ` Thomas Petazzoni

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.