1
0
mirror of https://github.com/termux/termux-packages synced 2024-06-14 00:46:38 +00:00
termux-packages/packages/libelf/elf_update.c.patch
Fredrik Fornwall 66aea0b5df libelf: Keep the libelf part of elfutils
While all of elfutils does not build with clang, the libelf part does
and is needed by ltrace. So keep libelf as a package and let it replace
elfutils for now.
2018-08-17 21:32:56 +02:00

12 lines
357 B
Diff

diff -u -r ../elfutils-0.166/libelf/elf_update.c ./libelf/elf_update.c
--- ../elfutils-0.166/libelf/elf_update.c 2015-11-27 08:36:29.000000000 -0500
+++ ./libelf/elf_update.c 2016-05-04 13:06:15.836140729 -0400
@@ -39,6 +39,7 @@
#include "libelfP.h"
+#define off_t loff_t
static off_t
write_file (Elf *elf, off_t size, int change_bo, size_t shnum)