diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2024-12-15 06:09:29 +0100 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2024-12-15 07:04:39 +0100 |
commit | bf34f8e10bb677d06a1dcf2ba6211dc65db6bdbf (patch) | |
tree | 8867ad6e21ece7e844eabe9cecdddfd732dad8ad | |
parent | c9ff83a70397d34639b328203ddd7591ab047a63 (diff) |
uclibc-ng: just warn, don't error out on Kernel 2.6
-rw-r--r-- | toolchain/uclibc-ng/patches/1.0.50/warn-instead-of-error.patch | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/toolchain/uclibc-ng/patches/1.0.50/warn-instead-of-error.patch b/toolchain/uclibc-ng/patches/1.0.50/warn-instead-of-error.patch new file mode 100644 index 000000000..09877c29e --- /dev/null +++ b/toolchain/uclibc-ng/patches/1.0.50/warn-instead-of-error.patch @@ -0,0 +1,10 @@ +diff -Nur uClibc-ng-1.0.50.orig/libc/sysdeps/linux/common/clock_adjtime.c uClibc-ng-1.0.50/libc/sysdeps/linux/common/clock_adjtime.c +--- uClibc-ng-1.0.50.orig/libc/sysdeps/linux/common/clock_adjtime.c 2024-08-13 04:08:05.000000000 +0200 ++++ uClibc-ng-1.0.50/libc/sysdeps/linux/common/clock_adjtime.c 2024-12-14 11:28:37.188207576 +0100 +@@ -15,5 +15,5 @@ + #elif defined(__NR_clock_adjtime) + _syscall2(int, clock_adjtime, clockid_t, clock_id, struct timex*, ntx) + #else +-#error "clock_adjtime syscall is not defined!" ++#warning "clock_adjtime syscall is not defined!" + #endif |