libelf: Update to latest version
[termux-packages] / packages / libelf / elf_update.c.patch
index b57d817..fd5cd6f 100644 (file)
@@ -1,12 +1,11 @@
-diff -u -r ../elfutils-0.159/libelf/elf_update.c ./libelf/elf_update.c
---- ../elfutils-0.159/libelf/elf_update.c      2014-05-18 16:32:15.000000000 +0200
-+++ ./libelf/elf_update.c      2014-05-30 14:56:42.806206596 +0200
-@@ -123,7 +123,7 @@
- }
+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"
  
--off_t
-+loff_t
- elf_update (elf, cmd)
-      Elf *elf;
-      Elf_Cmd cmd;
++#define off_t loff_t
+ static off_t
+ write_file (Elf *elf, off_t size, int change_bo, size_t shnum)