termux-packages/packages/libelf/libelf-elf_getbase.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

13 lines
357 B
Diff

diff -u -r ../elfutils-0.166/libelf/elf_getbase.c ./libelf/elf_getbase.c
--- ../elfutils-0.166/libelf/elf_getbase.c 2015-11-27 08:36:29.000000000 -0500
+++ ./libelf/elf_getbase.c 2016-05-04 13:01:52.776589425 -0400
@@ -37,7 +37,7 @@
#include "libelfP.h"
-off_t
+loff_t
elf_getbase (Elf *elf)
{
return elf == NULL ? (off_t) -1 : elf->start_offset;