50b731f1b7
Derivative of Redox OS (https://www.redox-os.org) adding: - AMD GPU driver (amdgpu) via LinuxKPI compat layer - ext4 filesystem support (ext4d scheme daemon) - ACPI fixes for AMD bare metal (x2APIC, DMAR, IVRS, MCFG) - Custom branding (hostname, os-release, boot identity) Build system is full upstream Redox with RBOS overlay in local/. Patches for kernel, base, and relibc are symlinked from local/patches/ and protected from make clean/distclean. Custom recipes live in local/recipes/ with symlinks into the recipes/ search path. Build: make all CONFIG_NAME=redbear-full Sync: ./local/scripts/sync-upstream.sh
47 lines
1.7 KiB
Diff
47 lines
1.7 KiB
Diff
diff -ruwN source/gettext-tools/gnulib-lib/getdtablesize.c source-new/gettext-tools/gnulib-lib/getdtablesize.c
|
|
--- source/gettext-tools/gnulib-lib/getdtablesize.c 2016-06-11 06:59:58.000000000 -0600
|
|
+++ source-new/gettext-tools/gnulib-lib/getdtablesize.c 2019-01-05 08:45:36.015291070 -0700
|
|
@@ -84,6 +84,14 @@
|
|
return dtablesize;
|
|
}
|
|
|
|
+#elif defined(__redox__)
|
|
+
|
|
+int
|
|
+getdtablesize (void)
|
|
+{
|
|
+ return INT_MAX;
|
|
+}
|
|
+
|
|
#else
|
|
|
|
# include <limits.h>
|
|
diff -ruwN source/gettext-tools/gnulib-lib/spawni.c source-new/gettext-tools/gnulib-lib/spawni.c
|
|
--- source/gettext-tools/gnulib-lib/spawni.c 2016-06-11 07:00:02.000000000 -0600
|
|
+++ source-new/gettext-tools/gnulib-lib/spawni.c 2019-01-05 08:55:44.661641522 -0700
|
|
@@ -51,10 +51,10 @@
|
|
# include <local-setxid.h>
|
|
#else
|
|
# if !HAVE_SETEUID
|
|
-# define seteuid(id) setresuid (-1, id, -1)
|
|
+# define seteuid(id) setreuid (-1, id)
|
|
# endif
|
|
# if !HAVE_SETEGID
|
|
-# define setegid(id) setresgid (-1, id, -1)
|
|
+# define setegid(id) setregid (-1, id)
|
|
# endif
|
|
# define local_seteuid(id) seteuid (id)
|
|
# define local_setegid(id) setegid (id)
|
|
diff -ruwN source/gettext-tools/Makefile.am source-new/gettext-tools/Makefile.am
|
|
--- source/gettext-tools/Makefile.am 2023-09-19 03:08:31.000000000 +0700
|
|
+++ source-new/gettext-tools/Makefile.am 2025-10-05 12:39:33.287595871 +0700
|
|
@@ -19,7 +19,7 @@
|
|
AUTOMAKE_OPTIONS = 1.5 gnu no-dependencies
|
|
ACLOCAL_AMFLAGS = -I m4 -I ../gettext-runtime/m4 -I ../m4 -I gnulib-m4 -I libgrep/gnulib-m4 -I libgettextpo/gnulib-m4
|
|
|
|
-SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4 tests system-tests gnulib-tests examples doc
|
|
+SUBDIRS = gnulib-lib libgrep src libgettextpo po its projects styles emacs misc man m4
|
|
|
|
EXTRA_DIST = misc/DISCLAIM
|
|
MOSTLYCLEANFILES = core *.stackdump
|