X-Git-Url: https://git.distorted.org.uk/~mdw/termux-packages/blobdiff_plain/acbfec93ea3ee9c0f85ba16616ac1448e6cd95c5..7b467de9c79ed4205444117f2c574142b7f3c322:/packages/elfutils/eblwstrtab.c.patch diff --git a/packages/elfutils/eblwstrtab.c.patch b/packages/elfutils/eblwstrtab.c.patch deleted file mode 100644 index 4eeb46ea..00000000 --- a/packages/elfutils/eblwstrtab.c.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff -u -r ../elfutils-0.166/libebl/eblwstrtab.c ./libebl/eblwstrtab.c ---- ../elfutils-0.166/libebl/eblwstrtab.c 2015-08-21 08:22:37.000000000 -0400 -+++ ./libebl/eblwstrtab.c 2016-05-04 13:11:26.834934000 -0400 -@@ -294,6 +294,11 @@ - return newstr; - } - -+static wchar_t* wmempcpy(wchar_t* s1, const wchar_t* s2, size_t n) -+{ -+ size_t bytes = n * sizeof(wchar_t); -+ return (wchar_t *) (memcpy((char *) s1, (char *) s2, bytes) + bytes); -+} - - static void - copystrings (struct Ebl_WStrent *nodep, wchar_t **freep, size_t *offsetp)