mirror of
https://github.com/PartialVolume/shredos.x86_64.git
synced 2026-02-20 17:42:10 +00:00
Upgrade buildroot to 2023.05 (from 2021.08.2), kernel is upgraded to 6.3 (from 5.13.19).
This commit is contained in:
@@ -0,0 +1,39 @@
|
||||
From 3ab8bdc1c657f91a2a96f4e6db308d17098de0c4 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
Date: Thu, 23 Feb 2023 12:09:11 +0100
|
||||
Subject: [PATCH] src/s6-linux-utils/rngseed.c: fix build with glibc <
|
||||
|
||||
getrandom and sys/random.h are only available since glibc 2.25 resulting
|
||||
in the following build failure since version 2.6.0.0 and
|
||||
https://github.com/skarnet/s6-linux-utils/commit/ad5973028c42d947440cdae5e4f106152c3dda28:
|
||||
|
||||
src/minutils/rngseed.c:15:24: fatal error: sys/random.h: No such file or directory
|
||||
#include <sys/random.h>
|
||||
^
|
||||
|
||||
Fixes:
|
||||
- http://autobuild.buildroot.org/results/214bcecfc389cb412b68627c831300478d614a3a
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
[Upstream status: https://github.com/skarnet/s6-linux-utils/pull/2]
|
||||
---
|
||||
src/s6-linux-utils/rngseed.c | 2 ++
|
||||
1 file changed, 2 insertions(+)
|
||||
|
||||
diff --git a/src/minutils/rngseed.c b/src/minutils/rngseed.c
|
||||
index 2b1772c..223f50a 100644
|
||||
--- a/src/minutils/rngseed.c
|
||||
+++ b/src/minutils/rngseed.c
|
||||
@@ -12,7 +12,9 @@
|
||||
#include <unistd.h>
|
||||
#include <sys/stat.h>
|
||||
#include <sys/ioctl.h>
|
||||
+#ifdef SKALIBS_HASGETRANDOM
|
||||
#include <sys/random.h>
|
||||
+#endif
|
||||
#include <linux/random.h>
|
||||
|
||||
#include <skalibs/types.h>
|
||||
--
|
||||
2.39.1
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
# Locally generated
|
||||
sha256 c300dbf36b533083f82c6827830c55ce34bfc6cd493c782f207d199669a345ba s6-linux-utils-2.5.1.5.tar.gz
|
||||
sha256 adecb8bedfaae27fcfe65ecb3ef0e2e71aa2a2b49dc21886a200bc677d93e6ec COPYING
|
||||
sha256 6c7132734a0c8287002ee6910c469f175a97d766a8023c0c33af8ba92643ed59 s6-linux-utils-2.6.0.0.tar.gz
|
||||
sha256 35126cb8f2ff2a6e359f7bfec46c49004ead6304d8248ba67dcdebcc7d377754 COPYING
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
S6_LINUX_UTILS_VERSION = 2.5.1.5
|
||||
S6_LINUX_UTILS_VERSION = 2.6.0.0
|
||||
S6_LINUX_UTILS_SITE = http://skarnet.org/software/s6-linux-utils
|
||||
S6_LINUX_UTILS_LICENSE = ISC
|
||||
S6_LINUX_UTILS_LICENSE_FILES = COPYING
|
||||
|
||||
Reference in New Issue
Block a user