summaryrefslogtreecommitdiff
path: root/toolchain/uclibc-ng/patches
diff options
context:
space:
mode:
authorWaldemar Brodkorb <wbx@openadk.org>2024-12-15 06:09:29 +0100
committerWaldemar Brodkorb <wbx@openadk.org>2024-12-15 07:04:39 +0100
commitbf34f8e10bb677d06a1dcf2ba6211dc65db6bdbf (patch)
tree8867ad6e21ece7e844eabe9cecdddfd732dad8ad /toolchain/uclibc-ng/patches
parentc9ff83a70397d34639b328203ddd7591ab047a63 (diff)
uclibc-ng: just warn, don't error out on Kernel 2.6
Diffstat (limited to 'toolchain/uclibc-ng/patches')
-rw-r--r--toolchain/uclibc-ng/patches/1.0.50/warn-instead-of-error.patch10
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