]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 6.0 - patch 20160625
authorThomas E. Dickey <dickey@invisible-island.net>
Sun, 26 Jun 2016 01:11:40 +0000 (01:11 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Sun, 26 Jun 2016 01:11:40 +0000 (01:11 +0000)
+ build-fixes for ncurses "test_progs" rule.
+ amend change to CF_CC_ENV_FLAGS in 20160521 to make multilib build
  work (report by Sven Joachim).

18 files changed:
Ada95/aclocal.m4
Ada95/configure
NEWS
VERSION
aclocal.m4
configure
dist.mk
ncurses/Makefile.in
ncurses/base/MKlib_gen.sh
ncurses/tty/lib_mvcur.c
package/debian-mingw/changelog
package/debian-mingw64/changelog
package/debian/changelog
package/mingw-ncurses.nsi
package/mingw-ncurses.spec
package/ncurses.spec
test/aclocal.m4
test/configure

index 5992306746396c905a424b18d2e9010a2f0e697d..95471b2dd5ce890dd14d72cfd6b3d3cc70412f79 100644 (file)
@@ -28,7 +28,7 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey
 dnl
-dnl $Id: aclocal.m4,v 1.111 2016/05/21 22:23:56 tom Exp $
+dnl $Id: aclocal.m4,v 1.112 2016/06/25 20:30:41 tom Exp $
 dnl Macros used in NCURSES Ada95 auto-configuration script.
 dnl
 dnl These macros are maintained separately from NCURSES.  The copyright on
@@ -514,12 +514,15 @@ AC_SUBST(BUILD_EXEEXT)
 AC_SUBST(BUILD_OBJEXT)
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_CC_ENV_FLAGS version: 3 updated: 2016/05/21 18:10:17
+dnl CF_CC_ENV_FLAGS version: 4 updated: 2016/06/25 16:23:40
 dnl ---------------
 dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content
 dnl into CC.  This will not help with broken scripts that wrap the compiler with
 dnl options, but eliminates a more common category of user confusion.
 dnl
+dnl In particular, it addresses the problem of being able to run the C
+dnl preprocessor in a consistent manner.
+dnl
 dnl Caveat: this also disallows blanks in the pathname for the compiler, but
 dnl the nuisance of having inconsistent settings for compiler and preprocessor
 dnl outweighs that limitation.
@@ -535,7 +538,7 @@ case "$CC" in
        AC_MSG_WARN(your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options)
        # humor him...
        cf_flags=`echo "$CC" | sed -e 's/^[[^   ]]*[[   ]][[    ]]*//'`
-       CC=`echo "$CC" | sed -e 's/[[   ]].*//'`
+       CC=`echo "$CC " | sed -e 's/[[  ]]-[[IUD]][[^   ]][[^   ]]*//g' -e 's/[[        ]]*$//'`
        CF_ADD_CFLAGS($cf_flags)
        CF_VERBOSE(resulting CC: '$CC')
        CF_VERBOSE(resulting CFLAGS: '$CFLAGS')
index b71186cd2fbf4521b3e88373c4372bc4f60f3b93..74300c1bcb1d64b7cce6c60df80badcd6dc604d5 100755 (executable)
@@ -1838,7 +1838,7 @@ echo "${ECHO_T}broken" >&6
 echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
        # humor him...
        cf_flags=`echo "$CC" | sed -e 's/^[^    ]*[     ][      ]*//'`
-       CC=`echo "$CC" | sed -e 's/[    ].*//'`
+       CC=`echo "$CC " | sed -e 's/[   ]-[IUD][^       ][^     ]*//g' -e 's/[  ]*$//'`
 
 cf_fix_cppflags=no
 cf_new_cflags=
diff --git a/NEWS b/NEWS
index c246440f4450e1cf76f9b7391928a32ca2531652..140b0011d28e7e7155ab4aa1fe1ee92531618b38 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -25,7 +25,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.2621 2016/06/18 23:43:33 tom Exp $
+-- $Id: NEWS,v 1.2624 2016/06/25 21:23:38 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -45,6 +45,11 @@ 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.
 
+20160625
+       + build-fixes for ncurses "test_progs" rule.
+       + amend change to CF_CC_ENV_FLAGS in 20160521 to make multilib build
+         work (report by Sven Joachim).
+
 20160618
        + build-fixes for ncurses-examples with NetBSD curses.
        + improve test/list_keys.c, fixing column-widths and sorting the list
diff --git a/VERSION b/VERSION
index 78ed1b7e8bd80e78cf7a32e3c5bfa57fc15bbc0d..5c267827c236b79605767eca0ce5830230f51e47 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-5:0:9  6.0     20160618
+5:0:9  6.0     20160625
index 806dec1c92ec52213e5e298d9f5361d8a313adbc..4546836660c1bee9dcaf43b96d7aed88ece48cf3 100644 (file)
@@ -28,7 +28,7 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey 1995-on
 dnl
-dnl $Id: aclocal.m4,v 1.790 2016/05/29 00:35:34 tom Exp $
+dnl $Id: aclocal.m4,v 1.791 2016/06/25 20:25:03 tom Exp $
 dnl Macros used in NCURSES auto-configuration script.
 dnl
 dnl These macros are maintained separately from NCURSES.  The copyright on
@@ -711,12 +711,15 @@ AC_SUBST(BUILD_EXEEXT)
 AC_SUBST(BUILD_OBJEXT)
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_CC_ENV_FLAGS version: 3 updated: 2016/05/21 18:10:17
+dnl CF_CC_ENV_FLAGS version: 4 updated: 2016/06/25 16:23:40
 dnl ---------------
 dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content
 dnl into CC.  This will not help with broken scripts that wrap the compiler with
 dnl options, but eliminates a more common category of user confusion.
 dnl
+dnl In particular, it addresses the problem of being able to run the C
+dnl preprocessor in a consistent manner.
+dnl
 dnl Caveat: this also disallows blanks in the pathname for the compiler, but
 dnl the nuisance of having inconsistent settings for compiler and preprocessor
 dnl outweighs that limitation.
@@ -732,7 +735,7 @@ case "$CC" in
        AC_MSG_WARN(your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options)
        # humor him...
        cf_flags=`echo "$CC" | sed -e 's/^[[^   ]]*[[   ]][[    ]]*//'`
-       CC=`echo "$CC" | sed -e 's/[[   ]].*//'`
+       CC=`echo "$CC " | sed -e 's/[[  ]]-[[IUD]][[^   ]][[^   ]]*//g' -e 's/[[        ]]*$//'`
        CF_ADD_CFLAGS($cf_flags)
        CF_VERBOSE(resulting CC: '$CC')
        CF_VERBOSE(resulting CFLAGS: '$CFLAGS')
index 6770ce5e09db2053291a40841c23e37d0eaa4f23..b2f191922ed0f6184225e6ba4e3d180fc55e4f26 100755 (executable)
--- a/configure
+++ b/configure
@@ -2189,7 +2189,7 @@ echo "${ECHO_T}broken" >&6
 echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
        # humor him...
        cf_flags=`echo "$CC" | sed -e 's/^[^    ]*[     ][      ]*//'`
-       CC=`echo "$CC" | sed -e 's/[    ].*//'`
+       CC=`echo "$CC " | sed -e 's/[   ]-[IUD][^       ][^     ]*//g' -e 's/[  ]*$//'`
 
 cf_fix_cppflags=no
 cf_new_cflags=
diff --git a/dist.mk b/dist.mk
index 0c3f7a0fa2a3ef52b3e2f9a4c1af2fb905e3754c..b06bc4f8c61147dd13e3d64ea81f2a7b7b6a76f9 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -25,7 +25,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.1111 2016/06/18 17:50:50 tom Exp $
+# $Id: dist.mk,v 1.1112 2016/06/25 17:17:16 tom Exp $
 # 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 = 6
 NCURSES_MINOR = 0
-NCURSES_PATCH = 20160618
+NCURSES_PATCH = 20160625
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index 40380ea04d4b53ce7d8c8a2a92e4586c412d18bf..d761af1d5d7447a2af3988eea3a3d313636c3226 100644 (file)
@@ -1,4 +1,4 @@
-# $Id: Makefile.in,v 1.151 2016/05/21 21:28:51 tom Exp $
+# $Id: Makefile.in,v 1.152 2016/06/25 21:13:06 tom Exp $
 ##############################################################################
 # Copyright (c) 1998-2015,2016 Free Software Foundation, Inc.                #
 #                                                                            #
@@ -196,6 +196,8 @@ TEST_PROGS = \
        hashmap$x \
        lib_mvcur$x
 
+LOCAL_LIBDIR   = @top_builddir@/lib
+
 base    = $(srcdir)/base
 serial  = $(srcdir)/tty
 tinfo   = $(srcdir)/tinfo
index 71a478f6c195621f9ee1b0c0c892ee8dddf77451..4c35b73e50d9fa3edfbebff23aad3254757d7de1 100755 (executable)
@@ -2,10 +2,10 @@
 #
 # MKlib_gen.sh -- generate sources from curses.h macro definitions
 #
-# ($Id: MKlib_gen.sh,v 1.52 2015/10/10 19:36:47 tom Exp $)
+# ($Id: MKlib_gen.sh,v 1.53 2016/06/25 22:08:12 tom Exp $)
 #
 ##############################################################################
-# Copyright (c) 1998-2014,2015 Free Software Foundation, Inc.                #
+# Copyright (c) 1998-2015,2016 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 "Software"), #
@@ -231,7 +231,7 @@ $0 !~ /^P_/ {
        } else if ( $first == "bool" || $first == "NCURSES_BOOL" ) {
                returnType = "Bool";
        } else if ( $second == "*" ) {
-               returnType = "Ptr";
+               returnType = ($1 == "NCURSES_CONST") ? "CPtr" : "Ptr";
        } else {
                returnType = "Code";
        }
index ffd42bb1849e4f2e5ca052f47fe2307a73ae783d..08828ac6870230d5f7ce66fd4e21f55339ac979b 100644 (file)
 #define CUR SP_TERMTYPE
 #endif
 
-MODULE_ID("$Id: lib_mvcur.c,v 1.137 2016/05/28 23:32:40 tom Exp $")
+MODULE_ID("$Id: lib_mvcur.c,v 1.138 2016/06/25 20:49:00 tom Exp $")
 
 #define WANT_CHAR(sp, y, x) NewScreen(sp)->_line[y].text[x]    /* desired state */
 
@@ -1278,7 +1278,7 @@ main(int argc GCC_UNUSED, char *argv[]GCC_UNUSED)
                }
            }
        } else if (buf[0] == 'i') {
-           dump_init(NULL, F_TERMINFO, S_TERMINFO, 70, 0, 0, FALSE, FALSE);
+           dump_init(NULL, F_TERMINFO, S_TERMINFO, 70, 0, 0, FALSE, FALSE, 0);
            dump_entry(&cur_term->type, FALSE, TRUE, 0, 0);
            putchar('\n');
        } else if (buf[0] == 'o') {
index 697c51c97856f4415b1069e65e660c3e041508bd..c53f8a01d9c74988eab342de78198cc8d823c44a 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.0+20160618) unstable; urgency=low
+ncurses6 (6.0+20160625) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 18 Jun 2016 13:50:50 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 25 Jun 2016 13:17:16 -0400
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index 697c51c97856f4415b1069e65e660c3e041508bd..c53f8a01d9c74988eab342de78198cc8d823c44a 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.0+20160618) unstable; urgency=low
+ncurses6 (6.0+20160625) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 18 Jun 2016 13:50:50 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 25 Jun 2016 13:17:16 -0400
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index 5c1a309a72dfb9cc253d6f75caa8e6f519dab6d9..0d3c8ca0fd49da8d0ea5e1754ce1fe45f075e407 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.0+20160618) unstable; urgency=low
+ncurses6 (6.0+20160625) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 18 Jun 2016 13:50:50 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 25 Jun 2016 13:17:16 -0400
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
index 6c457967fe913bf4e5e61b6f6d392cbcb2c8690a..dbe5f266b92dd4283e3b3f904b587e5951963605 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: mingw-ncurses.nsi,v 1.163 2016/06/18 17:50:50 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.164 2016/06/25 17:17:16 tom Exp $\r
 \r
 ; TODO add examples\r
 ; TODO bump ABI to 6\r
@@ -10,7 +10,7 @@
 !define VERSION_MAJOR "6"\r
 !define VERSION_MINOR "0"\r
 !define VERSION_YYYY  "2016"\r
-!define VERSION_MMDD  "0618"\r
+!define VERSION_MMDD  "0625"\r
 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
 \r
 !define MY_ABI   "5"\r
index bc90f3d8dd94f8f202dddc234f1e6791eeb1abb8..5e46474ef268e4ee725733b7926bfe9b41e17ae8 100644 (file)
@@ -3,7 +3,7 @@
 Summary: shared libraries for terminal handling
 Name: mingw32-ncurses6
 Version: 6.0
-Release: 20160618
+Release: 20160625
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
index f0072c52f00925147c2b0f28526efe60ad908298..68400890e68b719daa7aab762bcf26875814c823 100644 (file)
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Version: 6.0
-Release: 20160618
+Release: 20160625
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
index fabcf72fd19a5690d2e6cdef5dcb58c4a4eb2980..81c1b9f05d7b560cf07d5a9fca414cc770be1e97 100644 (file)
@@ -26,7 +26,7 @@ dnl sale, use or other dealings in this Software without prior written       *
 dnl authorization.                                                           *
 dnl***************************************************************************
 dnl
-dnl $Id: aclocal.m4,v 1.129 2016/05/29 00:38:29 tom Exp $
+dnl $Id: aclocal.m4,v 1.130 2016/06/25 20:29:33 tom Exp $
 dnl
 dnl Author: Thomas E. Dickey
 dnl
@@ -376,12 +376,15 @@ ifelse([$3],,[    :]dnl
 ])dnl
 ])])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_CC_ENV_FLAGS version: 3 updated: 2016/05/21 18:10:17
+dnl CF_CC_ENV_FLAGS version: 4 updated: 2016/06/25 16:23:40
 dnl ---------------
 dnl Check for user's environment-breakage by stuffing CFLAGS/CPPFLAGS content
 dnl into CC.  This will not help with broken scripts that wrap the compiler with
 dnl options, but eliminates a more common category of user confusion.
 dnl
+dnl In particular, it addresses the problem of being able to run the C
+dnl preprocessor in a consistent manner.
+dnl
 dnl Caveat: this also disallows blanks in the pathname for the compiler, but
 dnl the nuisance of having inconsistent settings for compiler and preprocessor
 dnl outweighs that limitation.
@@ -397,7 +400,7 @@ case "$CC" in
        AC_MSG_WARN(your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options)
        # humor him...
        cf_flags=`echo "$CC" | sed -e 's/^[[^   ]]*[[   ]][[    ]]*//'`
-       CC=`echo "$CC" | sed -e 's/[[   ]].*//'`
+       CC=`echo "$CC " | sed -e 's/[[  ]]-[[IUD]][[^   ]][[^   ]]*//g' -e 's/[[        ]]*$//'`
        CF_ADD_CFLAGS($cf_flags)
        CF_VERBOSE(resulting CC: '$CC')
        CF_VERBOSE(resulting CFLAGS: '$CFLAGS')
index 1383c2f7cacef59d2d09f498291f7b82e61278c7..f12396bd386fc538111c031491f58d0ac3c40f0c 100755 (executable)
@@ -1943,7 +1943,7 @@ echo "${ECHO_T}broken" >&6
 echo "$as_me: WARNING: your environment misuses the CC variable to hold CFLAGS/CPPFLAGS options" >&2;}
        # humor him...
        cf_flags=`echo "$CC" | sed -e 's/^[^    ]*[     ][      ]*//'`
-       CC=`echo "$CC" | sed -e 's/[    ].*//'`
+       CC=`echo "$CC " | sed -e 's/[   ]-[IUD][^       ][^     ]*//g' -e 's/[  ]*$//'`
 
 cf_fix_cppflags=no
 cf_new_cflags=