[Buildroot] [PATCH 1/1] package/coreutils: drop patch

Arnout Vandecappelle arnout at mind.be
Sat Apr 23 16:31:52 UTC 2022



On 21/04/2022 23:40, Fabrice Fontaine wrote:
> Drop patch as it is not needed since bump to version 9.1 in commit
> 908caefa91dbf70e7f40c61113f0f1ae2b83230d because gnulib has been updated
> with
> https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=135414a7f543e4d40ad0a7cbd51885e159a6e0f4
> 
> Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>

  Applied to master, thanks.

  Regards,
  Arnout

> ---
>   ...andom.c-fix-build-with-uclibc-1.0.35.patch | 46 -------------------
>   1 file changed, 46 deletions(-)
>   delete mode 100644 package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch
> 
> diff --git a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch b/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch
> deleted file mode 100644
> index 88390a1124..0000000000
> --- a/package/coreutils/0001-lib-getrandom.c-fix-build-with-uclibc-1.0.35.patch
> +++ /dev/null
> @@ -1,46 +0,0 @@
> -From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001
> -From: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> -Date: Thu, 1 Apr 2021 07:49:46 +0200
> -Subject: [PATCH] lib/getrandom.c: fix build with uclibc < 1.0.35
> -
> -Fix the following build failure with uclibc < 1.0.35 which is raised
> -since the addition of getrandom module in
> -https://git.savannah.gnu.org/cgit/gnulib.git/commit/?id=682cc4e678aceff32dea2a84b6e5147bdf5a20a7:
> -
> -In file included from ./sys/random.h:40,
> -                 from getrandom.c:22:
> -/home/fabrice/buildroot/output/host/x86_64-buildroot-linux-uclibc/sysroot/usr/include/sys/random.h:27:35: error: unknown type name 'size_t'
> -   27 | extern int getrandom(void *__buf, size_t count, unsigned int flags)
> -      |                                   ^~~~~~
> -/home/fabrice/buildroot/output/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>
> -  +++ |+#include <stddef.h>
> -    8 |
> -
> -This patch is not upstreamable as it is only a workaround for
> -uclibc < 1.0.35, upstream uclibc has been patched with
> -https://github.com/wbx-github/uclibc-ng/commit/00972c02c2b6e0a95d5def4a71bdfb188e091782
> -
> -Fixes:
> - - http://autobuild.buildroot.org/results/c69f5c8b8e53ed3de753f0c6d2cdd99497504b49
> -
> -Signed-off-by: Fabrice Fontaine <fontaine.fabrice at gmail.com>
> ----
> - lib/getrandom.c | 1 +
> - 1 file changed, 1 insertion(+)
> -
> -diff --git a/lib/getrandom.c b/lib/getrandom.c
> -index 41212fb32..0ad3f9648 100644
> ---- a/lib/getrandom.c
> -+++ b/lib/getrandom.c
> -@@ -19,6 +19,7 @@
> -
> - #include <config.h>
> -
> -+#include <stddef.h>
> - #include <sys/random.h>
> -
> - #include <errno.h>
> ---
> -2.30.2
> -



More information about the buildroot mailing list