svn commit: r218331 - head/gnu/lib/libdialog
Nathan Whitehorn
nwhitehorn at FreeBSD.org
Sat Feb 5 16:23:32 UTC 2011
Author: nwhitehorn
Date: Sat Feb 5 16:23:32 2011
New Revision: 218331
URL: http://svn.freebsd.org/changeset/base/218331
Log:
Enable wide character support in libdialog.
Modified:
head/gnu/lib/libdialog/Makefile
head/gnu/lib/libdialog/dlg_config.h
Modified: head/gnu/lib/libdialog/Makefile
==============================================================================
--- head/gnu/lib/libdialog/Makefile Sat Feb 5 16:03:08 2011 (r218330)
+++ head/gnu/lib/libdialog/Makefile Sat Feb 5 16:23:32 2011 (r218331)
@@ -12,7 +12,7 @@ SRCS= arrows.c buttons.c calendar.c che
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
Modified: head/gnu/lib/libdialog/dlg_config.h
==============================================================================
--- head/gnu/lib/libdialog/dlg_config.h Sat Feb 5 16:03:08 2011 (r218330)
+++ head/gnu/lib/libdialog/dlg_config.h Sat Feb 5 16:23:32 2011 (r218331)
@@ -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
More information about the svn-src-head
mailing list