]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 5.9 - patch 20130413
authorThomas E. Dickey <dickey@invisible-island.net>
Sun, 14 Apr 2013 00:01:10 +0000 (00:01 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Sun, 14 Apr 2013 00:01:10 +0000 (00:01 +0000)
+ add MinGW to cases where ncurses installs by default into /usr
  (prompted by discussion with Daniel Silva Ferreira).
+ add -D option to infocmp's usage-message (patch by Miroslav Lichvar).
+ add a missing 'int' type for main function in configure check for
  type of bool variable, to work with clang 3.2 (report by Dmitri
  Gribenko).
+ improve configure check for static_cast, to work with clang 3.2
  (report by Dmitri Gribenko).
+ re-order rule for demo.o and macros defining header dependencies in
  c++/Makefile.in to accommodate gmake (report by Dmitri Gribenko).

Ada95/aclocal.m4
Ada95/configure
NEWS
aclocal.m4
c++/Makefile.in
configure
dist.mk
package/debian/changelog
package/ncurses.spec
progs/infocmp.c

index b2ca414313b17e0ae9a19791eacefd31b02712fe..3f7ad84e5344f0e00fbccf8324a7d9f5e10cafe8 100644 (file)
@@ -28,7 +28,7 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey
 dnl
 dnl
 dnl Author: Thomas E. Dickey
 dnl
-dnl $Id: aclocal.m4,v 1.65 2013/03/09 21:39:08 tom Exp $
+dnl $Id: aclocal.m4,v 1.66 2013/04/13 23:00:18 tom Exp $
 dnl Macros used in NCURSES Ada95 auto-configuration script.
 dnl
 dnl These macros are maintained separately from NCURSES.  The copyright on
 dnl Macros used in NCURSES Ada95 auto-configuration script.
 dnl
 dnl These macros are maintained separately from NCURSES.  The copyright on
@@ -516,7 +516,7 @@ case "$CC" in #(vi
 esac
 ])dnl
 dnl ---------------------------------------------------------------------------
 esac
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_CFG_DEFAULTS version: 8 updated: 2011/06/04 20:09:13
+dnl CF_CFG_DEFAULTS version: 9 updated: 2013/04/13 18:58:32
 dnl ---------------
 dnl Determine the default configuration into which we'll install ncurses.  This
 dnl can be overridden by the user's command-line options.  There's two items to
 dnl ---------------
 dnl Determine the default configuration into which we'll install ncurses.  This
 dnl can be overridden by the user's command-line options.  There's two items to
@@ -534,7 +534,7 @@ AC_MSG_CHECKING(for prefix)
 if test "x$prefix" = "xNONE" ; then
        case "$cf_cv_system_name" in
                # non-vendor systems don't have a conflict
 if test "x$prefix" = "xNONE" ; then
        case "$cf_cv_system_name" in
                # non-vendor systems don't have a conflict
-       openbsd*|freebsd*|mirbsd*|linux*|cygwin*|k*bsd*-gnu)
+       openbsd*|freebsd*|mirbsd*|linux*|cygwin*|k*bsd*-gnu|mingw*)
                prefix=/usr
                ;;
        *)      prefix=$ac_default_prefix
                prefix=/usr
                ;;
        *)      prefix=$ac_default_prefix
index c298e45ed60724a8bbeea17182ea490518862937..f2a17e4c16f742e3ce8392b30daefe9f34c3e506 100644 (file)
@@ -1154,7 +1154,7 @@ echo $ECHO_N "checking for prefix... $ECHO_C" >&6
 if test "x$prefix" = "xNONE" ; then
        case "$cf_cv_system_name" in
                # non-vendor systems don't have a conflict
 if test "x$prefix" = "xNONE" ; then
        case "$cf_cv_system_name" in
                # non-vendor systems don't have a conflict
-       openbsd*|freebsd*|mirbsd*|linux*|cygwin*|k*bsd*-gnu)
+       openbsd*|freebsd*|mirbsd*|linux*|cygwin*|k*bsd*-gnu|mingw*)
                prefix=/usr
                ;;
        *)      prefix=$ac_default_prefix
                prefix=/usr
                ;;
        *)      prefix=$ac_default_prefix
diff --git a/NEWS b/NEWS
index 7b2554030b953bf69200dadc1de8c2712a33f300..e03eb4a268e2e0853a679ed1f8cae8d8ce02596f 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,7 +25,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.2043 2013/04/06 23:48:25 tom Exp $
+-- $Id: NEWS,v 1.2046 2013/04/13 22:51:41 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,18 @@ See the AUTHORS file for the corresponding full names.
 Changes through 1.9.9e did not credit all contributions;
 it is not possible to add this information.
 
 Changes through 1.9.9e did not credit all contributions;
 it is not possible to add this information.
 
+20130413
+       + add MinGW to cases where ncurses installs by default into /usr
+         (prompted by discussion with Daniel Silva Ferreira).
+       + add -D option to infocmp's usage-message (patch by Miroslav Lichvar).
+       + add a missing 'int' type for main function in configure check for
+         type of bool variable, to work with clang 3.2 (report by Dmitri
+         Gribenko).
+       + improve configure check for static_cast, to work with clang 3.2
+         (report by Dmitri Gribenko).
+       + re-order rule for demo.o and macros defining header dependencies in
+         c++/Makefile.in to accommodate gmake (report by Dmitri Gribenko).
+
 20130406
        + improve parameter checking in copywin().
        + modify configure script to work around OS X's "libtool" program, to
 20130406
        + improve parameter checking in copywin().
        + modify configure script to work around OS X's "libtool" program, to
index bd1700c798173cfb661093c4b84ab169bfecffa3..9a8c65ec1c21bbbf2d4ece74009136a984a3cee2 100644 (file)
@@ -28,7 +28,7 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey 1995-on
 dnl
 dnl
 dnl Author: Thomas E. Dickey 1995-on
 dnl
-dnl $Id: aclocal.m4,v 1.662 2013/04/06 22:06:57 tom Exp $
+dnl $Id: aclocal.m4,v 1.666 2013/04/13 22:59:35 tom Exp $
 dnl Macros used in NCURSES auto-configuration script.
 dnl
 dnl These macros are maintained separately from NCURSES.  The copyright on
 dnl Macros used in NCURSES auto-configuration script.
 dnl
 dnl These macros are maintained separately from NCURSES.  The copyright on
@@ -492,7 +492,7 @@ else        AC_MSG_RESULT(no)
 fi
 ])dnl
 dnl ---------------------------------------------------------------------------
 fi
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_BOOL_SIZE version: 12 updated: 2006/12/16 12:33:30
+dnl CF_BOOL_SIZE version: 13 updated: 2013/04/13 18:03:21
 dnl ------------
 dnl Test for the size of 'bool' in the configured C++ compiler (e.g., a type).
 dnl Don't bother looking for bool.h, since it's been deprecated.
 dnl ------------
 dnl Test for the size of 'bool' in the configured C++ compiler (e.g., a type).
 dnl Don't bother looking for bool.h, since it's been deprecated.
@@ -526,7 +526,7 @@ AC_CACHE_VAL(cf_cv_type_of_bool,[
 
 #endif
 
 
 #endif
 
-main()
+int main()
 {
        FILE *fp = fopen("cf_test.out", "w");
        if (fp != 0) {
 {
        FILE *fp = fopen("cf_test.out", "w");
        if (fp != 0) {
@@ -678,7 +678,7 @@ case "$CC" in #(vi
 esac
 ])dnl
 dnl ---------------------------------------------------------------------------
 esac
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_CFG_DEFAULTS version: 8 updated: 2011/06/04 20:09:13
+dnl CF_CFG_DEFAULTS version: 9 updated: 2013/04/13 18:58:32
 dnl ---------------
 dnl Determine the default configuration into which we'll install ncurses.  This
 dnl can be overridden by the user's command-line options.  There's two items to
 dnl ---------------
 dnl Determine the default configuration into which we'll install ncurses.  This
 dnl can be overridden by the user's command-line options.  There's two items to
@@ -696,7 +696,7 @@ AC_MSG_CHECKING(for prefix)
 if test "x$prefix" = "xNONE" ; then
        case "$cf_cv_system_name" in
                # non-vendor systems don't have a conflict
 if test "x$prefix" = "xNONE" ; then
        case "$cf_cv_system_name" in
                # non-vendor systems don't have a conflict
-       openbsd*|freebsd*|mirbsd*|linux*|cygwin*|k*bsd*-gnu)
+       openbsd*|freebsd*|mirbsd*|linux*|cygwin*|k*bsd*-gnu|mingw*)
                prefix=/usr
                ;;
        *)      prefix=$ac_default_prefix
                prefix=/usr
                ;;
        *)      prefix=$ac_default_prefix
@@ -1022,7 +1022,7 @@ fi
 test "$cf_cv_cpp_param_init" = yes && AC_DEFINE(CPP_HAS_PARAM_INIT,1,[Define to 1 if C++ has parameter initialization])
 ])dnl
 dnl ---------------------------------------------------------------------------
 test "$cf_cv_cpp_param_init" = yes && AC_DEFINE(CPP_HAS_PARAM_INIT,1,[Define to 1 if C++ has parameter initialization])
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_CPP_STATIC_CAST version: 2 updated: 2012/10/06 17:56:13
+dnl CF_CPP_STATIC_CAST version: 3 updated: 2013/04/13 18:03:21
 dnl ------------------
 dnl Check if the C++ compiler accepts static_cast in generics.  This appears to
 dnl not be supported in g++ before 3.0
 dnl ------------------
 dnl Check if the C++ compiler accepts static_cast in generics.  This appears to
 dnl not be supported in g++ before 3.0
@@ -1044,7 +1044,7 @@ public:
               int begin_x = 0)
   {
   }
               int begin_x = 0)
   {
   }
-
+  NCursesPanel();
   ~NCursesPanel();
 };
 
   ~NCursesPanel();
 };
 
index 04a7bf8c2d2098962cabf13ea262acf8a1bd930a..62fd4fab02400d2b31d78431c7b6b19ff0a06974 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.103 2013/03/30 21:03:33 tom Exp $
+# $Id: Makefile.in,v 1.104 2013/04/13 18:24:43 tom Exp $
 ##############################################################################
 # Copyright (c) 1998-2012,2013 Free Software Foundation, Inc.                #
 #                                                                            #
 ##############################################################################
 # Copyright (c) 1998-2012,2013 Free Software Foundation, Inc.                #
 #                                                                            #
@@ -157,25 +157,6 @@ depend :
 tags:
        $(CTAGS) *.[h] *.cc
 
 tags:
        $(CTAGS) *.[h] *.cc
 
-OBJS_DEMO = $(MODEL)/demo$o
-
-$(MODEL)/demo$o : $(srcdir)/demo.cc \
-               $(internal_h) \
-               $(cursesf_h) \
-               $(cursesm_h) \
-               $(cursesapp_h)
-       @echo 'compiling demo (obj_s)'
-       @$(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEFAULT) -c $(srcdir)/demo.cc -o $@
-
-demo$x:        $(OBJS_DEMO) \
-       $(LIBRARIES)  \
-       @TEST_DEPS@
-       @ECHO_LD@ $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS_DEFAULT)
-
-etip.h:        $(srcdir)/etip.h.in $(srcdir)/edit_cfg.sh
-       cp $(srcdir)/etip.h.in $@
-       sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@
-
 $(DESTDIR)$(libdir) :
        mkdir -p $@
 
 $(DESTDIR)$(libdir) :
        mkdir -p $@
 
@@ -234,6 +215,27 @@ $(INCDIR)/menu.h :
 $(INCDIR)/panel.h :
        cd ../panel && $(MAKE) $@
 
 $(INCDIR)/panel.h :
        cd ../panel && $(MAKE) $@
 
+###############################################################################
+
+OBJS_DEMO = $(MODEL)/demo$o
+
+$(MODEL)/demo$o : $(srcdir)/demo.cc \
+               $(internal_h) \
+               $(cursesf_h) \
+               $(cursesm_h) \
+               $(cursesapp_h)
+       @echo 'compiling demo (obj_s)'
+       @$(LIBTOOL_COMPILE) $(CXX) $(CFLAGS_DEFAULT) -c $(srcdir)/demo.cc -o $@
+
+demo$x:        $(OBJS_DEMO) \
+       $(LIBRARIES)  \
+       @TEST_DEPS@
+       @ECHO_LD@ $(LINK) -o $@ $(OBJS_DEMO) $(LDFLAGS_DEFAULT)
+
+etip.h:        $(srcdir)/etip.h.in $(srcdir)/edit_cfg.sh
+       cp $(srcdir)/etip.h.in $@
+       sh $(srcdir)/edit_cfg.sh ../include/ncurses_cfg.h $@
+
 ###############################################################################
 # The remainder of this file is automatically generated during configuration
 ###############################################################################
 ###############################################################################
 # The remainder of this file is automatically generated during configuration
 ###############################################################################
index 7057522092263698d73f14bc9128f9a947d259c6..6be66d436179cbc046c57710e45b3aaae1193d87 100755 (executable)
--- a/configure
+++ b/configure
@@ -1382,7 +1382,7 @@ echo $ECHO_N "checking for prefix... $ECHO_C" >&6
 if test "x$prefix" = "xNONE" ; then
        case "$cf_cv_system_name" in
                # non-vendor systems don't have a conflict
 if test "x$prefix" = "xNONE" ; then
        case "$cf_cv_system_name" in
                # non-vendor systems don't have a conflict
-       openbsd*|freebsd*|mirbsd*|linux*|cygwin*|k*bsd*-gnu)
+       openbsd*|freebsd*|mirbsd*|linux*|cygwin*|k*bsd*-gnu|mingw*)
                prefix=/usr
                ;;
        *)      prefix=$ac_default_prefix
                prefix=/usr
                ;;
        *)      prefix=$ac_default_prefix
@@ -18840,7 +18840,7 @@ else
 
 #endif
 
 
 #endif
 
-main()
+int main()
 {
        FILE *fp = fopen("cf_test.out", "w");
        if (fp != 0) {
 {
        FILE *fp = fopen("cf_test.out", "w");
        if (fp != 0) {
@@ -19061,7 +19061,7 @@ public:
               int begin_x = 0)
   {
   }
               int begin_x = 0)
   {
   }
-
+  NCursesPanel();
   ~NCursesPanel();
 };
 
   ~NCursesPanel();
 };
 
@@ -19204,7 +19204,7 @@ else
 
 #endif
 
 
 #endif
 
-main()
+int main()
 {
        FILE *fp = fopen("cf_test.out", "w");
        if (fp != 0) {
 {
        FILE *fp = fopen("cf_test.out", "w");
        if (fp != 0) {
diff --git a/dist.mk b/dist.mk
index 94d865e5ded6afa16a10f750ac2966f592b9a235..57b3b9f695671153f78af874fcc51cf869ffc807 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -25,7 +25,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.923 2013/04/06 16:40:39 tom Exp $
+# $Id: dist.mk,v 1.924 2013/04/13 14:36:35 tom Exp $
 # Makefile for creating ncurses distributions.
 #
 # This only needs to be used directly as a makefile by developers, but
 # Makefile for creating ncurses distributions.
 #
 # This only needs to be used directly as a makefile by developers, but
@@ -37,7 +37,7 @@ SHELL = /bin/sh
 # These define the major/minor/patch versions of ncurses.
 NCURSES_MAJOR = 5
 NCURSES_MINOR = 9
 # These define the major/minor/patch versions of ncurses.
 NCURSES_MAJOR = 5
 NCURSES_MINOR = 9
-NCURSES_PATCH = 20130406
+NCURSES_PATCH = 20130413
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index ee204f401ffa65f4a7343e1d3a860daac4eee473..f217b6ae2e670c88562d33e02c648e8073577f72 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (5.9-20130406) unstable; urgency=low
+ncurses6 (5.9-20130413) unstable; urgency=low
 
   * latest weekly patch
 
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 30 Mar 2013 09:50:26 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 13 Apr 2013 10:20:54 -0400
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
index 5c4be7b61b76fa1592718bcd1281c180a60e0d34..13d4ead787210bf85249787334640410571c0705 100644 (file)
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Release: 5.9
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Release: 5.9
-Version: 20130406
+Version: 20130413
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{release}-%{version}.tgz
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{release}-%{version}.tgz
index 506a374e40177d96c18e6582f495050282845de8..e58d691ece2a674d9a37caa47a2aaaf6ed6bf3a2 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
 /****************************************************************************
- * Copyright (c) 1998-2011,2012 Free Software Foundation, Inc.              *
+ * Copyright (c) 1998-2012,2013 Free Software Foundation, Inc.              *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
  * copy of this software and associated documentation files (the            *
@@ -42,7 +42,7 @@
 
 #include <dump_entry.h>
 
 
 #include <dump_entry.h>
 
-MODULE_ID("$Id: infocmp.c,v 1.123 2012/11/17 23:15:10 tom Exp $")
+MODULE_ID("$Id: infocmp.c,v 1.124 2013/04/13 22:15:14 Miroslav.Lichvar Exp $")
 
 #define L_CURL "{"
 #define R_CURL "}"
 
 #define L_CURL "{"
 #define R_CURL "}"
@@ -1165,6 +1165,7 @@ usage(void)
        ,"  -R subset (see manpage)"
        ,"  -T    eliminate size limits (test)"
        ,"  -U    eliminate post-processing of entries"
        ,"  -R subset (see manpage)"
        ,"  -T    eliminate size limits (test)"
        ,"  -U    eliminate post-processing of entries"
+       ,"  -D    print database locations"
        ,"  -V    print version"
 #if NCURSES_XNAMES
        ,"  -a    with -F, list commented-out caps"
        ,"  -V    print version"
 #if NCURSES_XNAMES
        ,"  -a    with -F, list commented-out caps"