diff options
Diffstat (limited to 'testing/kbuild/uclibc.patch')
-rw-r--r-- | testing/kbuild/uclibc.patch | 20 |
1 files changed, 9 insertions, 11 deletions
diff --git a/testing/kbuild/uclibc.patch b/testing/kbuild/uclibc.patch index cf38529f17..f837ca3c78 100644 --- a/testing/kbuild/uclibc.patch +++ b/testing/kbuild/uclibc.patch @@ -1,24 +1,22 @@ --- ./src/lib/k/kDefs.h.orig +++ ./src/lib/k/kDefs.h -@@ -78,7 +78,7 @@ - # define K_OS K_OS_DRAGONFLY - # elif defined(__FreeBSD__) /*??*/ +@@ -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(__gnu_linux__) || defined(__UCLIBC__) ++# elif defined(__linux__) # define K_OS K_OS_LINUX # elif defined(__NetBSD__) /*??*/ # define K_OS K_OS_NETBSD -diff --git a/src/kmk/kmkbuiltin/fts.c b/src/kmk/kmkbuiltin/fts.c -index f913f17..febb900 100644 ---- a/src/kmk/kmkbuiltin/fts.c -+++ b/src/kmk/kmkbuiltin/fts.c -@@ -75,7 +75,7 @@ __RCSID("$NetBSD: __fts13.c,v 1.44 2005/01/19 00:59:48 mycroft Exp $"); +--- ./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__) -+# if !defined(__sun__) && !defined(__gnu_linux__) && !defined(__UCLIBC__) +-# if !defined(__sun__) && !defined(__gnu_linux__) && !defined(__HAIKU__) ++# if !defined(__sun__) && !defined(__linux__) && !defined(__HAIKU__) # define HAVE_STRUCT_DIRENT_D_NAMLEN 1 # endif #endif |