From 9c1ac6a54548196d49fca0de6821fdc0213c3213 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Thu, 4 Feb 2016 19:17:44 +0100 Subject: [PATCH] procps-ng: fix printf/scanf format specifier for musl (%Lu is not portable). Found by @chneukirchen! --- srcpkgs/procps-ng/template | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/srcpkgs/procps-ng/template b/srcpkgs/procps-ng/template index da58ca33ee8..918a39d6e33 100644 --- a/srcpkgs/procps-ng/template +++ b/srcpkgs/procps-ng/template @@ -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() {