aboutsummaryrefslogtreecommitdiff
path: root/package/coreutils
diff options
context:
space:
mode:
authorGravatar "Steven J. Hill" <sjhill@realitydiluted.com>2005-12-08 06:47:07 +0000
committerGravatar "Steven J. Hill" <sjhill@realitydiluted.com>2005-12-08 06:47:07 +0000
commit7a8d809a3a9d1b66bcce96a4b1f9df916ba93099 (patch)
tree5eedeab79eaa467ff1cb5f8c9925fa8417bba04c /package/coreutils
parentc0267dc493de665a75b43012fd3475713ee4c7a4 (diff)
downloadbuildroot-7a8d809a3a9d1b66bcce96a4b1f9df916ba93099.tar.gz
buildroot-7a8d809a3a9d1b66bcce96a4b1f9df916ba93099.tar.bz2
Fix broken packages that try to use __mempcpy. Shame on you.
Diffstat (limited to 'package/coreutils')
-rw-r--r--package/coreutils/coreutils.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/coreutils/coreutils.patch b/package/coreutils/coreutils.patch
new file mode 100644
index 0000000000..0cc2f1a0e8
--- /dev/null
+++ b/package/coreutils/coreutils.patch
@@ -0,0 +1,12 @@
+diff -urN coreutils-5.3.0/lib/regex.c coreutils-5.3.0-patched/lib/regex.c
+--- coreutils-5.3.0/lib/regex.c 2004-10-05 01:30:48.000000000 -0500
++++ coreutils-5.3.0-patched/lib/regex.c 2005-12-08 00:40:30.500238000 -0600
+@@ -8179,7 +8179,7 @@
+ if (msg_size > errbuf_size)
+ {
+ #if defined HAVE_MEMPCPY || defined _LIBC
+- *((char *) __mempcpy (errbuf, msg, errbuf_size - 1)) = '\0';
++ *((char *) mempcpy (errbuf, msg, errbuf_size - 1)) = '\0';
+ #else
+ memcpy (errbuf, msg, errbuf_size - 1);
+ errbuf[errbuf_size - 1] = 0;