svn commit: trunk/buildroot/package: coreutils diffutils
sjhill at uclibc.org
sjhill at uclibc.org
Thu Dec 8 06:47:08 UTC 2005
Author: sjhill
Date: 2005-12-07 22:47:07 -0800 (Wed, 07 Dec 2005)
New Revision: 12728
Log:
Fix broken packages that try to use __mempcpy. Shame on you.
Added:
trunk/buildroot/package/coreutils/coreutils.patch
trunk/buildroot/package/diffutils/diffutils.patch
Modified:
trunk/buildroot/package/diffutils/diffutils.mk
Changeset:
Added: trunk/buildroot/package/coreutils/coreutils.patch
===================================================================
--- trunk/buildroot/package/coreutils/coreutils.patch 2005-12-08 06:41:44 UTC (rev 12727)
+++ trunk/buildroot/package/coreutils/coreutils.patch 2005-12-08 06:47:07 UTC (rev 12728)
@@ -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;
Modified: trunk/buildroot/package/diffutils/diffutils.mk
===================================================================
--- trunk/buildroot/package/diffutils/diffutils.mk 2005-12-08 06:41:44 UTC (rev 12727)
+++ trunk/buildroot/package/diffutils/diffutils.mk 2005-12-08 06:47:07 UTC (rev 12728)
@@ -17,6 +17,7 @@
$(DIFFUTILS_DIR)/.unpacked: $(DL_DIR)/$(DIFFUTILS_SOURCE)
$(DIFFUTILS_CAT) $(DL_DIR)/$(DIFFUTILS_SOURCE) | tar -C $(BUILD_DIR) $(TAR_OPTIONS) -
+ toolchain/patch-kernel.sh $(DIFFUTILS_DIR) package/diffutils/ diffutils*.patch
touch $(DIFFUTILS_DIR)/.unpacked
$(DIFFUTILS_DIR)/.configured: $(DIFFUTILS_DIR)/.unpacked
Added: trunk/buildroot/package/diffutils/diffutils.patch
===================================================================
--- trunk/buildroot/package/diffutils/diffutils.patch 2005-12-08 06:41:44 UTC (rev 12727)
+++ trunk/buildroot/package/diffutils/diffutils.patch 2005-12-08 06:47:07 UTC (rev 12728)
@@ -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;
More information about the uClibc-cvs
mailing list