Initial Commit
- initial default booting image
This commit is contained in:
37
package/reproc/0001-reproc-Try-to-fix-gcc-13-build.patch
Normal file
37
package/reproc/0001-reproc-Try-to-fix-gcc-13-build.patch
Normal file
@@ -0,0 +1,37 @@
|
||||
From 0b23d88894ccedde04537fa23ea55cb2f8365342 Mon Sep 17 00:00:00 2001
|
||||
From: Daan De Meyer <daan.j.demeyer@gmail.com>
|
||||
Date: Sat, 18 Mar 2023 19:38:19 +0100
|
||||
Subject: [PATCH] reproc++: Try to fix gcc 13 build
|
||||
|
||||
Upstream: https://github.com/DaanDeMeyer/reproc/commit/0b23d88894ccedde04537fa23ea55cb2f8365342
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
reproc++/include/reproc++/reproc.hpp | 8 ++++----
|
||||
1 file changed, 4 insertions(+), 4 deletions(-)
|
||||
|
||||
diff --git a/reproc++/include/reproc++/reproc.hpp b/reproc++/include/reproc++/reproc.hpp
|
||||
index ab6f1394..e883ecec 100644
|
||||
--- a/reproc++/include/reproc++/reproc.hpp
|
||||
+++ b/reproc++/include/reproc++/reproc.hpp
|
||||
@@ -88,7 +88,7 @@ struct redirect {
|
||||
|
||||
struct options {
|
||||
struct {
|
||||
- env::type behavior;
|
||||
+ enum env::type behavior;
|
||||
/*! Implicitly converts from any STL container of string pairs to the
|
||||
environment format expected by `reproc_start`. */
|
||||
class env extra;
|
||||
@@ -97,9 +97,9 @@ struct options {
|
||||
const char *working_directory = nullptr;
|
||||
|
||||
struct {
|
||||
- redirect in;
|
||||
- redirect out;
|
||||
- redirect err;
|
||||
+ struct redirect in;
|
||||
+ struct redirect out;
|
||||
+ struct redirect err;
|
||||
bool parent;
|
||||
bool discard;
|
||||
FILE *file;
|
||||
28
package/reproc/0002-Fix-gcc-13-build.patch
Normal file
28
package/reproc/0002-Fix-gcc-13-build.patch
Normal file
@@ -0,0 +1,28 @@
|
||||
From 9f399675b821e175f85ac3ee6e3fd2e6056573eb Mon Sep 17 00:00:00 2001
|
||||
From: Daan De Meyer <daan.j.demeyer@gmail.com>
|
||||
Date: Fri, 21 Apr 2023 19:36:45 +0200
|
||||
Subject: [PATCH] Fix gcc 13 build
|
||||
|
||||
Upstream: https://github.com/DaanDeMeyer/reproc/commit/9f399675b821e175f85ac3ee6e3fd2e6056573eb
|
||||
Signed-off-by: Fabrice Fontaine <fontaine.fabrice@gmail.com>
|
||||
---
|
||||
reproc++/include/reproc++/reproc.hpp | 4 ++--
|
||||
1 file changed, 2 insertions(+), 2 deletions(-)
|
||||
|
||||
diff --git a/reproc++/include/reproc++/reproc.hpp b/reproc++/include/reproc++/reproc.hpp
|
||||
index b52f495e..7b614a94 100644
|
||||
--- a/reproc++/include/reproc++/reproc.hpp
|
||||
+++ b/reproc++/include/reproc++/reproc.hpp
|
||||
@@ -88,10 +88,10 @@ struct redirect {
|
||||
|
||||
struct options {
|
||||
struct {
|
||||
- enum env::type behavior;
|
||||
+ reproc::env::type behavior;
|
||||
/*! Implicitly converts from any STL container of string pairs to the
|
||||
environment format expected by `reproc_start`. */
|
||||
- class env extra;
|
||||
+ reproc::env extra;
|
||||
} env = {};
|
||||
|
||||
const char *working_directory = nullptr;
|
||||
14
package/reproc/Config.in
Normal file
14
package/reproc/Config.in
Normal file
@@ -0,0 +1,14 @@
|
||||
config BR2_PACKAGE_REPROC
|
||||
bool "reproc"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_USE_WCHAR # uses wchar_t
|
||||
depends on BR2_TOOLCHAIN_HAS_THREADS # pthread
|
||||
help
|
||||
reproc is a cross-platform C/C++ library that simplifies
|
||||
starting, stopping and communicating with external programs.
|
||||
|
||||
https://github.com/DaanDeMeyer/reproc
|
||||
|
||||
comment "reproc needs a toolchain w/ threads, wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR || !BR2_TOOLCHAIN_HAS_THREADS
|
||||
3
package/reproc/reproc.hash
Normal file
3
package/reproc/reproc.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 55c780f7faa5c8cabd83ebbb84b68e5e0e09732de70a129f6b3c801e905415dd reproc-14.2.4.tar.gz
|
||||
sha256 8f91afbe266bebac2cf1b220e0e67ace4cb9a97d2b21940abef20eb6691cfa91 LICENSE
|
||||
17
package/reproc/reproc.mk
Normal file
17
package/reproc/reproc.mk
Normal file
@@ -0,0 +1,17 @@
|
||||
################################################################################
|
||||
#
|
||||
# reproc
|
||||
#
|
||||
################################################################################
|
||||
|
||||
REPROC_VERSION = 14.2.4
|
||||
REPROC_SITE = $(call github,DaanDeMeyer,reproc,v$(REPROC_VERSION))
|
||||
REPROC_LICENSE = MIT
|
||||
REPROC_LICENSE_FILES = LICENSE
|
||||
REPROC_INSTALL_STAGING = YES
|
||||
|
||||
ifeq ($(BR2_INSTALL_LIBSTDCPP)$(BR2_TOOLCHAIN_GCC_AT_LEAST_4_8),yy) # C++11
|
||||
REPROC_CONF_OPTS += -DREPROC++=ON
|
||||
endif
|
||||
|
||||
$(eval $(cmake-package))
|
||||
Reference in New Issue
Block a user