Initial Commit

- initial default booting image
This commit is contained in:
2026-11-06 20:45:42 +01:00
commit b8783708ae
15201 changed files with 602532 additions and 0 deletions

View File

@@ -0,0 +1,35 @@
From 218cd7ce34b6dbc86c80f1c781639ea7661d1252 Mon Sep 17 00:00:00 2001
From: Marcin Serwin <marcin@serwin.dev>
Date: Thu, 2 Oct 2025 19:30:12 +0200
Subject: [PATCH] time: fix sighandler prototype for C23
In C23 functions with empty argument list in the prototype are treated
as taking no arguments. This means that the `int` argument of the
sighandler must be specified explicitly or the code will fail to
compile due to mismatched function type.
Signed-off-by: Marcin Serwin <marcin@serwin.dev>
Upstream: https://lists.gnu.org/archive/html/bug-time/2025-10/msg00000.html
Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
---
src/time.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/time.c b/src/time.c
index 7b401bc..88287dd 100644
--- a/src/time.c
+++ b/src/time.c
@@ -77,7 +77,7 @@ enum
/* A Pointer to a signal handler. */
-typedef RETSIGTYPE (*sighandler) ();
+typedef RETSIGTYPE (*sighandler) (int);
/* msec = milliseconds = 1/1,000 (1*10e-3) second.
usec = microseconds = 1/1,000,000 (1*10e-6) second. */
--
2.47.3

14
package/time/Config.in Normal file
View File

@@ -0,0 +1,14 @@
config BR2_PACKAGE_TIME
bool "time"
depends on BR2_USE_MMU # fork()
# See https://savannah.gnu.org/bugs/index.php?48000
depends on !BR2_STATIC_LIBS
depends on BR2_PACKAGE_BUSYBOX_SHOW_OTHERS
help
The GNU time utility.
http://savannah.gnu.org/projects/time/
comment "time needs a toolchain w/ dynamic library"
depends on BR2_USE_MMU
depends on BR2_STATIC_LIBS

5
package/time/time.hash Normal file
View File

@@ -0,0 +1,5 @@
# From https://lists.gnu.org/archive/html/info-gnu/2018-03/msg00004.html
sha1 75068c26abbed3ad3980685bae21d7202d288317 time-1.9.tar.gz
sha256 fbacf0c81e62429df3e33bda4cee38756604f18e01d977338e23306a3e3b521e time-1.9.tar.gz
# Locally calculated
sha256 8ceb4b9ee5adedde47b31e975c1d90c73ad27b6b165a1dcd80c7c545eb65b903 COPYING

13
package/time/time.mk Normal file
View File

@@ -0,0 +1,13 @@
################################################################################
#
# time
#
################################################################################
TIME_VERSION = 1.9
TIME_SITE = $(BR2_GNU_MIRROR)/time
TIME_CONF_ENV = ac_cv_func_wait3_rusage=yes
TIME_LICENSE = GPL-3.0+
TIME_LICENSE_FILES = COPYING
$(eval $(autotools-package))