diff options
author | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-28 21:35:19 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@openadk.org> | 2009-08-28 21:35:19 +0200 |
commit | c79befcc1a0791df92460439f933843661db82e2 (patch) | |
tree | 0aaad0895c07007617b9a4c4ef38b59d38a91a1c /package/diffutils/patches | |
parent | 89a213bd0f0290c66cdf952d5ea5f089cd56d1e9 (diff) |
add more packages needed for native builds
- add bison,flex,diffutils,autoconf,automake,libtool,m4,gperf
- add {glibc,eglibc,uclibc}-dev packages
- add libz/libncurses development packages
- add PKG_OPTS to setup special options for packages
noremove is needed for uclibc/eglibc/glibc packages, otherwise
needed headers will be removed
slightly tested, still in development
Diffstat (limited to 'package/diffutils/patches')
-rw-r--r-- | package/diffutils/patches/patch-lib_regex_c | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/package/diffutils/patches/patch-lib_regex_c b/package/diffutils/patches/patch-lib_regex_c new file mode 100644 index 000000000..c4a8bec7b --- /dev/null +++ b/package/diffutils/patches/patch-lib_regex_c @@ -0,0 +1,16 @@ +workaround for uClibc +--- diffutils-2.8.1.orig/lib/regex.c 2002-03-01 08:44:52.000000000 +0100 ++++ diffutils-2.8.1/lib/regex.c 2009-08-28 16:39:02.000000000 +0200 +@@ -8313,12 +8313,8 @@ regerror (errcode, preg, errbuf, errbuf_ + { + if (msg_size > errbuf_size) + { +-#if defined HAVE_MEMPCPY || defined _LIBC +- *((char *) __mempcpy (errbuf, msg, errbuf_size - 1)) = '\0'; +-#else + memcpy (errbuf, msg, errbuf_size - 1); + errbuf[errbuf_size - 1] = 0; +-#endif + } + else + memcpy (errbuf, msg, msg_size); |