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
43 lines
1.2 KiB
Diff
43 lines
1.2 KiB
Diff
diff -ruw source/Makefile source-new/Makefile
|
|
--- source/Makefile 2011-01-31 00:13:00.000000000 -0700
|
|
+++ source-new/Makefile 2018-12-25 09:07:37.564520567 -0700
|
|
@@ -4,7 +4,7 @@
|
|
|
|
CFLAGS = -Os
|
|
LDFLAGS = -static
|
|
-LIBS = -lpthread -lrt -lpthread
|
|
+LIBS = -lpthread
|
|
|
|
|
|
all: libc-bench
|
|
diff -ruw source/utf8.c source-new/utf8.c
|
|
--- source/utf8.c 2011-01-24 20:08:38.000000000 -0700
|
|
+++ source-new/utf8.c 2018-12-25 08:52:35.893821291 -0700
|
|
@@ -3,7 +3,7 @@
|
|
#include <string.h>
|
|
#include <wchar.h>
|
|
#include <locale.h>
|
|
-#include <langinfo.h>
|
|
+//#include <langinfo.h>
|
|
|
|
size_t b_utf8_bigbuf(void *dummy)
|
|
{
|
|
@@ -18,7 +18,7 @@
|
|
|| setlocale(LC_CTYPE, "en.UTF-8")
|
|
|| setlocale(LC_CTYPE, "de_DE-8")
|
|
|| setlocale(LC_CTYPE, "fr_FR-8");
|
|
- if (strcmp(nl_langinfo(CODESET), "UTF-8")) return -1;
|
|
+ //if (strcmp(nl_langinfo(CODESET), "UTF-8")) return -1;
|
|
|
|
buf = malloc(500000);
|
|
wbuf = malloc(500000*sizeof(wchar_t));
|
|
@@ -56,7 +56,7 @@
|
|
|| setlocale(LC_CTYPE, "en.UTF-8")
|
|
|| setlocale(LC_CTYPE, "de_DE-8")
|
|
|| setlocale(LC_CTYPE, "fr_FR-8");
|
|
- if (strcmp(nl_langinfo(CODESET), "UTF-8")) return -1;
|
|
+ //if (strcmp(nl_langinfo(CODESET), "UTF-8")) return -1;
|
|
|
|
buf = malloc(500000);
|
|
l = 0;
|