Files
RedBear-OS/local/recipes/tui/mc/redox.patch
T
vasilito b9de373b31 Merge bootprocess branch overlay into 0.2.0
Restore all bootprocess branch files that were overwritten by later 0.2.0
commits. This overlay brings back the complete boot infrastructure:

- Configs: redbear-full, redbear-mini, redbear-device-services, driver .d files
- Kernel: IRQ affinity, x2APIC, C-states, NUMA (SLIT/SRAT), MCS locks, cpuidle
- Base patches: P0-P55 + new P6 (lived block_size=512) + P57 (fbbootlogd graceful init)
- Driver infra: driver-manager, udev-shim, thermald, cpufreqd, iommu, redox-driver-sys/core
- GPU: redox-drm with improved connector handling
- System: redbear-info, redbear-hwutils phase-timer-check
- Build system: fetch.rs improvements, build-iso.sh, run_full.sh
- Kernel source: new ACPI (SLIT, SRAT), cpuidle, cstate, MCS lock modules

83 files changed, +3966/-1248 lines
2026-05-27 06:47:23 +03:00

68 lines
1.4 KiB
Diff

diff --git a/src/subshell/common.c b/src/subshell/common.c
--- a/src/subshell/common.c
+++ b/src/subshell/common.c
@@ -95,6 +95,45 @@
#endif
#endif /* HAVE_OPENPTY */
+#ifdef __redox__
+static int
+mc_posix_openpt (int flags)
+{
+ (void) flags;
+ errno = ENOSYS;
+ return -1;
+}
+
+static int
+mc_grantpt (int fd)
+{
+ (void) fd;
+ errno = ENOSYS;
+ return -1;
+}
+
+static int
+mc_unlockpt (int fd)
+{
+ (void) fd;
+ errno = ENOSYS;
+ return -1;
+}
+
+static char *
+mc_ptsname (int fd)
+{
+ (void) fd;
+ errno = ENOSYS;
+ return NULL;
+}
+
+#define posix_openpt mc_posix_openpt
+#define grantpt mc_grantpt
+#define unlockpt mc_unlockpt
+#define ptsname mc_ptsname
+#endif
+
#include "lib/global.h"
#include "lib/fileloc.h"
diff --git a/configure b/configure
--- a/configure
+++ b/configure
@@ -24408,10 +24408,10 @@
fi
if test -z "$ac_list_mounted_fs"; then
- as_fn_error $? "could not determine how to read list of mounted file systems" "$LINENO" 5
- # FIXME -- no need to abort building the whole package
- # Can't build mountlist.c or anything that needs its functions
+ { printf "%s\n" "$as_me:${as_lineno-$LINENO}: WARNING: could not determine how to read list of mounted file systems" >&5
+printf "%s\n" "$as_me: WARNING: could not determine how to read list of mounted file systems" >&2; }
+ ac_list_mounted_fs=missing
fi
if test $ac_list_mounted_fs = found; then
gl_cv_list_mounted_fs=yes