summaryrefslogtreecommitdiffstats
path: root/testing/kbuild/uclibc.patch
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-09-14 07:24:01 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-09-14 07:24:56 +0000
commit56ee3af825be8baa95f8344f1805ac5cae90b006 (patch)
tree04210f296911532161205df5795979f518d43178 /testing/kbuild/uclibc.patch
parentfa0b37908ede74b37439becd35227d5107958137 (diff)
downloadaports-56ee3af825be8baa95f8344f1805ac5cae90b006.tar.bz2
aports-56ee3af825be8baa95f8344f1805ac5cae90b006.tar.xz
testing/kbuild: upgrade to 0.1.9998_pre20120806
Diffstat (limited to 'testing/kbuild/uclibc.patch')
-rw-r--r--testing/kbuild/uclibc.patch20
1 files changed, 9 insertions, 11 deletions
diff --git a/testing/kbuild/uclibc.patch b/testing/kbuild/uclibc.patch
index cf38529f1..f837ca3c7 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