diff options
author | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-08 06:47:07 +0000 |
---|---|---|
committer | "Steven J. Hill" <sjhill@realitydiluted.com> | 2005-12-08 06:47:07 +0000 |
commit | 7a8d809a3a9d1b66bcce96a4b1f9df916ba93099 (patch) | |
tree | 5eedeab79eaa467ff1cb5f8c9925fa8417bba04c /package/coreutils | |
parent | c0267dc493de665a75b43012fd3475713ee4c7a4 (diff) |
Fix broken packages that try to use __mempcpy. Shame on you.
Diffstat (limited to 'package/coreutils')
-rw-r--r-- | package/coreutils/coreutils.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/package/coreutils/coreutils.patch b/package/coreutils/coreutils.patch new file mode 100644 index 000000000..0cc2f1a0e --- /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; |