|
@@ -1,4 +1,4 @@
|
|
-From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001
|
|
|
|
|
|
+From 236b019b83228d2e37fa07635fb6864ed7dc5fad Mon Sep 17 00:00:00 2001
|
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
Date: Thu, 1 Apr 2021 07:49:46 +0200
|
|
Date: Thu, 1 Apr 2021 07:49:46 +0200
|
|
Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35
|
|
Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35
|
|
@@ -15,7 +15,7 @@ In file included from ./sys/random.h:40,
|
|
/tmp/instance-0/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
|
|
/tmp/instance-0/output-1/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:8:1: note: 'size_t' is defined in header '<stddef.h>'; did you forget to '#include <stddef.h>'?
|
|
7 | #include <features.h>
|
|
7 | #include <features.h>
|
|
+++ |+#include <stddef.h>
|
|
+++ |+#include <stddef.h>
|
|
- 8 |
|
|
|
|
|
|
+ 8 |
|
|
|
|
|
|
This patch is not upstreamable as it is only a workaround for
|
|
This patch is not upstreamable as it is only a workaround for
|
|
uclibc < 1.0.35, upstream uclibc has been patched with
|
|
uclibc < 1.0.35, upstream uclibc has been patched with
|
|
@@ -26,15 +26,15 @@ Fixes:
|
|
|
|
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
|
---
|
|
---
|
|
- jitter/gnulib-local/getrandom.c | 1 +
|
|
|
|
- gl/getrandom.c | 1 +
|
|
|
|
gl-libpoke/getrandom.c | 1 +
|
|
gl-libpoke/getrandom.c | 1 +
|
|
|
|
+ gl/getrandom.c | 1 +
|
|
|
|
+ jitter/gnulib-local/getrandom.c | 1 +
|
|
3 files changed, 3 insertions(+)
|
|
3 files changed, 3 insertions(+)
|
|
|
|
|
|
-diff --git a/jitter/gnulib-local/getrandom.c b/jitter/gnulib-local/getrandom.c
|
|
|
|
-index 41212fb32..0ad3f9648 100644
|
|
|
|
---- a/jitter/gnulib-local/getrandom.c
|
|
|
|
-+++ b/jitter/gnulib-local/getrandom.c
|
|
|
|
|
|
+diff --git a/gl-libpoke/getrandom.c b/gl-libpoke/getrandom.c
|
|
|
|
+index e146873..3948d8d 100644
|
|
|
|
+--- a/gl-libpoke/getrandom.c
|
|
|
|
++++ b/gl-libpoke/getrandom.c
|
|
@@ -19,6 +19,7 @@
|
|
@@ -19,6 +19,7 @@
|
|
|
|
|
|
#include <config.h>
|
|
#include <config.h>
|
|
@@ -44,7 +44,7 @@ index 41212fb32..0ad3f9648 100644
|
|
|
|
|
|
#include <errno.h>
|
|
#include <errno.h>
|
|
diff --git a/gl/getrandom.c b/gl/getrandom.c
|
|
diff --git a/gl/getrandom.c b/gl/getrandom.c
|
|
-index 41212fb32..0ad3f9648 100644
|
|
|
|
|
|
+index e146873..3948d8d 100644
|
|
--- a/gl/getrandom.c
|
|
--- a/gl/getrandom.c
|
|
+++ b/gl/getrandom.c
|
|
+++ b/gl/getrandom.c
|
|
@@ -19,6 +19,7 @@
|
|
@@ -19,6 +19,7 @@
|
|
@@ -55,10 +55,10 @@ index 41212fb32..0ad3f9648 100644
|
|
#include <sys/random.h>
|
|
#include <sys/random.h>
|
|
|
|
|
|
#include <errno.h>
|
|
#include <errno.h>
|
|
-diff --git a/gl-libpoke/getrandom.c b/gl-libpoke/getrandom.c
|
|
|
|
-index 41212fb32..0ad3f9648 100644
|
|
|
|
---- a/gl-libpoke/getrandom.c
|
|
|
|
-+++ b/gl-libpoke/getrandom.c
|
|
|
|
|
|
+diff --git a/jitter/gnulib-local/getrandom.c b/jitter/gnulib-local/getrandom.c
|
|
|
|
+index e146873..3948d8d 100644
|
|
|
|
+--- a/jitter/gnulib-local/getrandom.c
|
|
|
|
++++ b/jitter/gnulib-local/getrandom.c
|
|
@@ -19,6 +19,7 @@
|
|
@@ -19,6 +19,7 @@
|
|
|
|
|
|
#include <config.h>
|
|
#include <config.h>
|
|
@@ -68,5 +68,5 @@ index 41212fb32..0ad3f9648 100644
|
|
|
|
|
|
#include <errno.h>
|
|
#include <errno.h>
|
|
--
|
|
--
|
|
-2.30.2
|
|
|
|
|
|
+2.31.1
|
|
|
|
|