ltrace: don't crash on duplicate symbols in musl.

This commit is contained in:
Leah Neukirchen 2017-07-10 14:38:58 +02:00
parent b7fff57717
commit 34641b7b72
1 changed files with 2 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'ltrace'
pkgname=ltrace
version=0.7.3.20160924
revision=1
revision=2
_githash=82c66409c7a93ca6ad2e4563ef030dfb7e6df4d4
wrksrc="${pkgname}-${_githash}"
build_style=gnu-configure
@ -24,6 +24,7 @@ pre_configure() {
sed -i -e '/error.h/d' -e 's/error(1, errno/err(1/' \
read_config_file.c expr.c zero.c
sed -i '1i#include <sys/types.h>' proc.h
sed -i 's/#ifndef __mips__/#if 0/' proc.c
esac
autoreconf -fi