procps-ng: fix watch with 8bit support enabled on musl (from chris2).

This commit is contained in:
Juan RP 2015-03-17 12:06:22 +01:00
parent b6caca77c0
commit aeb80306a5
2 changed files with 16 additions and 1 deletions

View file

@ -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 <wchar.h>
# include <wctype.h>
+# define _XOPEN_SOURCE_EXTENDED
# include <ncurses.h>
+# undef _XOPEN_SOURCE_EXTENDED
#else
# include <ncurses.h>
#endif /* WITH_WATCH8BIT */

View file

@ -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