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
_______________________________________________
svn-src-head@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to