mirror of
https://github.com/coolsnowwolf/lede.git
synced 2025-04-16 04:13:31 +00:00

* expat: update to 2.5.0 Fixes CVE-2022-43680. Changes: https://github.com/libexpat/libexpat/blob/R_2_5_0/expat/Changes Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/ccache: update to 4.7 Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7 Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com> * tools/ccache: update to 4.7.1 Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7_1 Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com> * tools/ccache: update to 4.7.2 Release Notes: https://ccache.dev/releasenotes.html#_ccache_4_7_2 Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com> * tools/mtools: update to 4.0.42 Release Notes: https://lists.gnu.org/archive/html/info-mtools/2022-10/msg00000.html Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/mtd-utils: update to 2.1.5 Release Notes: https://lore.kernel.org/buildroot/c0992bbb-9487-9a51-ea9f-39cf074b61ec@sigma-star.at/ Refresh patches: - 130-lzma_jffs2.patch - 320-mkfs.jffs2-SOURCE_DATE_EPOCH.patch Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/elfutils: update to 1.88 Release Notes: https://sourceware.org/pipermail/elfutils-devel/2022q4/005561.html Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/fakeroot: update to 1.30.1 Release Notes: https://tracker.debian.org/news/1381350/accepted-fakeroot-1301-1-source-into-unstable/ Refresh patches: - 600-macOS.patch Signed-off-by: Nick Hainke <vincent@systemli.org> * cmake: update to 3.24.3 Release Notes: https://cmake.org/cmake/help/latest/release/3.24.html Signed-off-by: Nick Hainke <vincent@systemli.org> * tools/ninja: update to 1.11.1 Release Notes: https://github.com/ninja-build/ninja/releases/tag/v1.11.1 Refresh patches: - 100-make_jobserver_support.patch Signed-off-by: Nick Hainke <vincent@systemli.org> * tools: add option BUILD_ALL_HOST_TOOLS to compile all host tools Add option to compile all host tools even if not needed. This can be useful to prepare a universal precompiled host tools archive to use in another buildroot and speedup compilation. Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Signed-off-by: Nick Hainke <vincent@systemli.org> Signed-off-by: Raihaan Shouhell <raihaanhimself@gmail.com> Signed-off-by: Christian Marangi <ansuelsmth@gmail.com> Co-authored-by: Nick Hainke <vincent@systemli.org> Co-authored-by: Raihaan Shouhell <raihaanhimself@gmail.com> Co-authored-by: Christian Marangi <ansuelsmth@gmail.com>
57 lines
2.4 KiB
Diff
57 lines
2.4 KiB
Diff
--- a/communicate.c
|
|
+++ b/communicate.c
|
|
@@ -441,6 +441,10 @@ void semaphore_down(){
|
|
|
|
#else /* FAKEROOT_FAKENET */
|
|
|
|
+#ifndef SOL_TCP
|
|
+# define SOL_TCP 6 /* this should probably be done with getprotoent */
|
|
+#endif
|
|
+
|
|
static struct sockaddr *get_addr(void)
|
|
{
|
|
static struct sockaddr_in addr = { 0, 0, { 0 } };
|
|
--- a/libfakeroot_inode64.c
|
|
+++ b/libfakeroot_inode64.c
|
|
@@ -25,7 +25,7 @@
|
|
#include "config.h"
|
|
#include "communicate.h"
|
|
|
|
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
|
|
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 && !__DARWIN_ONLY_64_BIT_INO_T
|
|
|
|
#include <stdio.h>
|
|
#include <spawn.h>
|
|
--- a/wrapfunc.inp
|
|
+++ b/wrapfunc.inp
|
|
@@ -50,9 +50,11 @@ getattrlist$UNIX2003;int;(const char *pa
|
|
#endif
|
|
#endif
|
|
#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
|
|
+#if !__DARWIN_ONLY_64_BIT_INO_T
|
|
lstat$INODE64;int;(const char *file_name, struct stat *buf);(file_name, buf)
|
|
stat$INODE64;int;(const char *file_name, struct stat *buf);(file_name, buf)
|
|
fstat$INODE64;int;(int fd, struct stat *buf);(fd, buf)
|
|
+#endif
|
|
posix_spawn;int;(pid_t * __restrict pid, const char * __restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]);(pid, path, file_actions, attrp, argv, envp)
|
|
posix_spawnp;int;(pid_t * __restrict pid, const char * __restrict path, const posix_spawn_file_actions_t *file_actions, const posix_spawnattr_t * __restrict attrp, char *const argv[ __restrict], char *const envp[ __restrict]);(pid, path, file_actions, attrp, argv, envp)
|
|
#endif
|
|
@@ -231,7 +233,7 @@ facl;int;(int fd, int cmd, int cnt, void
|
|
#ifdef HAVE_FTS_READ
|
|
fts_read;FTSENT *;(FTS *ftsp);(ftsp)
|
|
#ifdef __APPLE__
|
|
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
|
|
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 && !__DARWIN_ONLY_64_BIT_INO_T
|
|
fts_read$INODE64;FTSENT *;(FTS *ftsp);(ftsp)
|
|
#endif
|
|
#endif /* ifdef __APPLE__ */
|
|
@@ -239,7 +241,7 @@ fts_read$INODE64;FTSENT *;(FTS *ftsp);(f
|
|
#ifdef HAVE_FTS_CHILDREN
|
|
fts_children;FTSENT *;(FTS *ftsp, int options);(ftsp, options)
|
|
#ifdef __APPLE__
|
|
-#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5
|
|
+#if MAC_OS_X_VERSION_MIN_REQUIRED >= MAC_OS_X_VERSION_10_5 && !__DARWIN_ONLY_64_BIT_INO_T
|
|
fts_children$INODE64;FTSENT *;(FTS *ftsp, int options);(ftsp, options)
|
|
#endif
|
|
#endif /* ifdef __APPLE__ */
|