diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-23 19:58:09 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-02-23 19:58:16 +0000 |
commit | 3a044aaeb7856d4c0f4cf1be8da64027b686d452 (patch) | |
tree | 168a0a0e8feb1daa86e860a0f6817d6ff4d0a972 /testing/kbuild/uclibc.patch | |
parent | cd89b051ddac83b13379b776dcbf0c591e878667 (diff) | |
download | aports-3a044aaeb7856d4c0f4cf1be8da64027b686d452.tar.bz2 aports-3a044aaeb7856d4c0f4cf1be8da64027b686d452.tar.xz |
testing/kbuild: new aport
A makefile framework for writing simple makefiles for complex tasks
http://svn.netlabs.org/kbuild/wiki
needed for virtualbox
Diffstat (limited to 'testing/kbuild/uclibc.patch')
-rw-r--r-- | testing/kbuild/uclibc.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/testing/kbuild/uclibc.patch b/testing/kbuild/uclibc.patch new file mode 100644 index 0000000000..cf38529f17 --- /dev/null +++ b/testing/kbuild/uclibc.patch @@ -0,0 +1,24 @@ +--- ./src/lib/k/kDefs.h.orig ++++ ./src/lib/k/kDefs.h +@@ -78,7 +78,7 @@ + # define K_OS K_OS_DRAGONFLY + # elif defined(__FreeBSD__) /*??*/ + # define K_OS K_OS_FREEBSD +-# elif defined(__gnu_linux__) ++# elif defined(__gnu_linux__) || defined(__UCLIBC__) + # 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 $"); + #endif + + #if ! HAVE_NBTOOL_CONFIG_H +-# if !defined(__sun__) && !defined(__gnu_linux__) ++# if !defined(__sun__) && !defined(__gnu_linux__) && !defined(__UCLIBC__) + # define HAVE_STRUCT_DIRENT_D_NAMLEN 1 + # endif + #endif |