summaryrefslogtreecommitdiffstats
path: root/package/diffutils/diffutils.patch
diff options
context:
space:
mode:
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
commit7a8d809a3a9d1b66bcce96a4b1f9df916ba93099 (patch)
tree5eedeab79eaa467ff1cb5f8c9925fa8417bba04c /package/diffutils/diffutils.patch
parentc0267dc493de665a75b43012fd3475713ee4c7a4 (diff)
downloadbuildroot-novena-7a8d809a3a9d1b66bcce96a4b1f9df916ba93099.tar.gz
buildroot-novena-7a8d809a3a9d1b66bcce96a4b1f9df916ba93099.zip
Fix broken packages that try to use __mempcpy. Shame on you.
Diffstat (limited to 'package/diffutils/diffutils.patch')
-rw-r--r--package/diffutils/diffutils.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/package/diffutils/diffutils.patch b/package/diffutils/diffutils.patch
new file mode 100644
index 000000000..fba2b84a8
--- /dev/null
+++ b/package/diffutils/diffutils.patch
@@ -0,0 +1,12 @@
+diff -ur diffutils-2.8.4/lib/regex.c diffutils-2.8.4-patched/lib/regex.c
+--- diffutils-2.8.4/lib/regex.c 2002-03-01 01:44:52.000000000 -0600
++++ diffutils-2.8.4-patched/lib/regex.c 2005-12-08 00:44:03.101524750 -0600
+@@ -8314,7 +8314,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;