aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/kbuild/uclibc.patch
diff options
context:
space:
mode:
Diffstat (limited to 'unmaintained/kbuild/uclibc.patch')
-rw-r--r--unmaintained/kbuild/uclibc.patch22
1 files changed, 22 insertions, 0 deletions
diff --git a/unmaintained/kbuild/uclibc.patch b/unmaintained/kbuild/uclibc.patch
new file mode 100644
index 00000000000..f837ca3c782
--- /dev/null
+++ b/unmaintained/kbuild/uclibc.patch
@@ -0,0 +1,22 @@
+--- ./src/lib/k/kDefs.h.orig
++++ ./src/lib/k/kDefs.h
+@@ -82,7 +82,7 @@
+ # define K_OS K_OS_FREEBSD
+ # elif defined(__HAIKU__)
+ # define K_OS K_OS_HAIKU
+-# elif defined(__gnu_linux__)
++# elif defined(__linux__)
+ # define K_OS K_OS_LINUX
+ # elif defined(__NetBSD__) /*??*/
+ # define K_OS K_OS_NETBSD
+--- ./src/kmk/kmkbuiltin/fts.c.orig
++++ ./src/kmk/kmkbuiltin/fts.c
+@@ -75,7 +75,7 @@
+ #endif
+
+ #if ! HAVE_NBTOOL_CONFIG_H
+-# if !defined(__sun__) && !defined(__gnu_linux__) && !defined(__HAIKU__)
++# if !defined(__sun__) && !defined(__linux__) && !defined(__HAIKU__)
+ # define HAVE_STRUCT_DIRENT_D_NAMLEN 1
+ # endif
+ #endif