procps-ng: fix watch with 8bit support enabled on musl (from chris2).
This commit is contained in:
parent
b6caca77c0
commit
aeb80306a5
|
@ -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 */
|
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue