termux-packages/packages/libelf/src-readelf.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
335 B
Diff

diff -u -r ../elfutils-0.170/src/readelf.c ./src/readelf.c
--- ../elfutils-0.170/src/readelf.c 2017-08-02 14:06:25.000000000 +0200
+++ ./src/readelf.c 2017-12-10 01:14:25.898858528 +0100
@@ -43,6 +43,7 @@
#include <unistd.h>
#include <sys/stat.h>
#include <signal.h>
+#include <qsort_r.h>
#include <libeu.h>
#include <system.h>