void-packages/srcpkgs/elfutils/patches/musl-wmempcpy.patch
2015-11-20 09:05:10 +01:00

11 lines
444 B
Diff

--- libebl/eblwstrtab.c 2015-08-21 14:22:37.000000000 +0200
+++ libebl/eblwstrtab.c 2015-11-20 05:07:55.650018773 +0100
@@ -305,7 +305,7 @@
/* Process the current node. */
nodep->offset = *offsetp;
- *freep = wmempcpy (*freep, nodep->string, nodep->len);
+ *freep = wmemcpy (*freep, nodep->string, nodep->len) + nodep->len;
*offsetp += nodep->len * sizeof (wchar_t);
for (subs = nodep->next; subs != NULL; subs = subs->next)