From aeb80306a5ed107f3a9c54b5a382da8cd2eba7dc Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 17 Mar 2015 12:06:22 +0100 Subject: [PATCH] procps-ng: fix watch with 8bit support enabled on musl (from chris2). --- .../patches/watch-8bit-ncurses-widec.patch | 15 +++++++++++++++ srcpkgs/procps-ng/template | 2 +- 2 files changed, 16 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/procps-ng/patches/watch-8bit-ncurses-widec.patch diff --git a/srcpkgs/procps-ng/patches/watch-8bit-ncurses-widec.patch b/srcpkgs/procps-ng/patches/watch-8bit-ncurses-widec.patch new file mode 100644 index 0000000000..80d7b963ab --- /dev/null +++ b/srcpkgs/procps-ng/patches/watch-8bit-ncurses-widec.patch @@ -0,0 +1,15 @@ +Define _XOPEN_SOURCE_EXTENDED to declare NCURSES_WIDECHAR for +widechar ncurses support with !glibc. + +--- watch.c.orig 2015-03-17 12:04:11.025226853 +0100 ++++ watch.c 2015-03-17 12:04:29.568180561 +0100 +@@ -51,7 +51,9 @@ + #ifdef WITH_WATCH8BIT + # include + # include ++# define _XOPEN_SOURCE_EXTENDED + # include ++# undef _XOPEN_SOURCE_EXTENDED + #else + # include + #endif /* WITH_WATCH8BIT */ diff --git a/srcpkgs/procps-ng/template b/srcpkgs/procps-ng/template index 7bd0682a02..e02336baff 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.10 -revision=4 +revision=5 build_pie=yes build_style=gnu-configure configure_args="--exec-prefix=/ --bindir=/usr/bin --sbindir=/usr/sbin