mirror of
https://github.com/MiyooCFW/buildroot.git
synced 2025-09-27 22:24:19 +03:00
bump version to 2022.02.9
add miyoo_defconfig
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
From a0594387565e1e6b4a8a8ba04ad13b135cc1f0b5 Mon Sep 17 00:00:00 2001
|
||||
From: Fabrice Fontaine <fontaine.fabrice@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/1932c524aa6b6a3337a0fc21b44adaac60972d30
|
||||
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@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
|
||||
|
||||
@@ -8,7 +8,7 @@ config BR2_PACKAGE_NANO
|
||||
A nice ncurses-based editor. Started out as a clone of pico.
|
||||
Great editor for new users.
|
||||
|
||||
http://www.nano-editor.org/
|
||||
https://www.nano-editor.org/
|
||||
|
||||
if BR2_PACKAGE_NANO
|
||||
|
||||
|
||||
@@ -1,5 +1,5 @@
|
||||
# Locally calculated after checking pgp signature
|
||||
# https://www.nano-editor.org/dist/v5/nano-5.2.tar.xz.asc
|
||||
# https://www.nano-editor.org/dist/v6/nano-6.0.tar.xz.asc
|
||||
# using key BFD009061E535052AD0DF2150D28D4D2A0ACE884
|
||||
sha256 32c2da43e1ae9a5e43437d8c6e1ec0388af870c7762c479e5bffb5f292bda7e1 nano-5.2.tar.xz
|
||||
sha256 93ac8cb68b4ad10e0aaeb80a2dd15c5bb89eb665a4844f7ad01c67efcb169ea2 nano-6.0.tar.xz
|
||||
sha256 fc82ca8b6fdb18d4e3e85cfd8ab58d1bcd3f1b29abe782895abd91d64763f8e7 COPYING
|
||||
|
||||
@@ -4,15 +4,12 @@
|
||||
#
|
||||
################################################################################
|
||||
|
||||
NANO_VERSION_MAJOR = 5
|
||||
NANO_VERSION = $(NANO_VERSION_MAJOR).2
|
||||
NANO_VERSION_MAJOR = 6
|
||||
NANO_VERSION = $(NANO_VERSION_MAJOR).0
|
||||
NANO_SITE = https://www.nano-editor.org/dist/v$(NANO_VERSION_MAJOR)
|
||||
NANO_SOURCE = nano-$(NANO_VERSION).tar.xz
|
||||
NANO_LICENSE = GPL-3.0+
|
||||
NANO_LICENSE_FILES = COPYING
|
||||
NANO_CONF_OPTS = \
|
||||
--without-slang \
|
||||
--with-wordbounds
|
||||
NANO_DEPENDENCIES = ncurses
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NCURSES_WCHAR),y)
|
||||
@@ -22,18 +19,23 @@ NANO_CONF_ENV += ac_cv_prog_NCURSESW_CONFIG=false
|
||||
NANO_MAKE_ENV += CURSES_LIB="-lncurses"
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_FILE),y)
|
||||
NANO_DEPENDENCIES += file
|
||||
NANO_CONF_OPTS += --enable-libmagic
|
||||
else
|
||||
NANO_CONF_OPTS += --disable-libmagic
|
||||
endif
|
||||
|
||||
ifeq ($(BR2_PACKAGE_NANO_TINY),y)
|
||||
NANO_CONF_OPTS += --enable-tiny
|
||||
NANO_CONF_OPTS += \
|
||||
--enable-tiny \
|
||||
--disable-libmagic \
|
||||
--disable-color \
|
||||
--disable-nanorc
|
||||
define NANO_INSTALL_TARGET_CMDS
|
||||
$(INSTALL) -m 0755 $(@D)/src/nano $(TARGET_DIR)/usr/bin/nano
|
||||
endef
|
||||
endif
|
||||
else
|
||||
NANO_CONF_OPTS += --disable-tiny
|
||||
ifeq ($(BR2_PACKAGE_FILE),y)
|
||||
NANO_DEPENDENCIES += file
|
||||
NANO_CONF_OPTS += --enable-libmagic --enable-color --enable-nanorc
|
||||
else
|
||||
NANO_CONF_OPTS += --disable-libmagic --disable-libmagic --disable-color
|
||||
endif # BR2_PACKAGE_FILE
|
||||
endif # BR2_PACKAGE_NANO_TINY
|
||||
|
||||
$(eval $(autotools-package))
|
||||
|
||||
Reference in New Issue
Block a user