summaryrefslogtreecommitdiffstats
path: root/gnu/lib
diff options
context:
space:
mode:
authornwhitehorn <nwhitehorn@FreeBSD.org>2011-02-05 16:23:32 +0000
committernwhitehorn <nwhitehorn@FreeBSD.org>2011-02-05 16:23:32 +0000
commit19d8742e12bdedd09f7d86fdd781a99dee8b7f34 (patch)
tree894972697346a19e0128d149dcdf17284d1d6ca4 /gnu/lib
parentfd821d9b47f2ee1a9524c3c4e451a1137afdd7b9 (diff)
downloadFreeBSD-src-19d8742e12bdedd09f7d86fdd781a99dee8b7f34.zip
FreeBSD-src-19d8742e12bdedd09f7d86fdd781a99dee8b7f34.tar.gz
Enable wide character support in libdialog.
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/libdialog/Makefile2
-rw-r--r--gnu/lib/libdialog/dlg_config.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/gnu/lib/libdialog/Makefile b/gnu/lib/libdialog/Makefile
index 5d1c84b..0985d2d 100644
--- a/gnu/lib/libdialog/Makefile
+++ b/gnu/lib/libdialog/Makefile
@@ -12,7 +12,7 @@ SRCS= arrows.c buttons.c calendar.c checklist.c columns.c dlg_keys.c \
INCS= dialog.h dlg_colors.h dlg_config.h dlg_keys.h
MAN= dialog.3
-CFLAGS+= -I${.CURDIR} -I${DIALOG}
+CFLAGS+= -I${.CURDIR} -I${DIALOG} -D_XOPEN_SOURCE_EXTENDED
.PATH: ${DIALOG}
WARNS?= 3
diff --git a/gnu/lib/libdialog/dlg_config.h b/gnu/lib/libdialog/dlg_config.h
index ffe205b..4dd6ab4 100644
--- a/gnu/lib/libdialog/dlg_config.h
+++ b/gnu/lib/libdialog/dlg_config.h
@@ -5,12 +5,10 @@
* $FreeBSD$
*/
-
#define DIALOG_PATCHDATE 20100428
#define DIALOG_VERSION "1.1"
#define HAVE_ALLOCA 1
#define HAVE_COLOR 1
-#define HAVE_CURSES_H 1
#define HAVE_DIRENT_H 1
#define HAVE_DLG_FORMBOX 1
#define HAVE_DLG_GAUGE 1
@@ -41,6 +39,7 @@
#define HAVE_INTTYPES_H 1
#define HAVE_LANGINFO_CODESET 1
#define HAVE_LC_MESSAGES 1
+#define HAVE_LIBNCURSESW 1
#define HAVE_LIMITS_H 1
#define HAVE_LOCALE_H 1
#define HAVE_MBSTATE_T 1
@@ -89,3 +88,4 @@
#define SYSTEM_NAME "freebsd9.0"
#define TIME_WITH_SYS_TIME 1
#define TYPE_CHTYPE_IS_SCALAR 1
+#define USE_WIDE_CURSES 1
OpenPOWER on IntegriCloud