procps-ng: fix printf/scanf format specifier for musl (%Lu is not portable).

Found by @chneukirchen!
This commit is contained in:
Juan RP 2016-02-04 19:17:44 +01:00
parent 84db941d87
commit 9c1ac6a545
1 changed files with 3 additions and 1 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'procps-ng'
pkgname=procps-ng
version=3.3.11
revision=2
revision=3
build_style=gnu-configure
configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/bin
--libdir=/usr/lib --disable-kill --enable-watch8bit
@ -21,6 +21,8 @@ post_extract() {
sed -i 's,ncursesw/ncurses.h,ncurses.h,g' watch.c
}
pre_configure() {
# printf %Lu is not portable.
sed -i 's,%Lu,%llu,g' top/top.c proc/{sysinfo,readproc}.c
autoreconf -fi
}
post_install() {