]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 5.9 - patch 20130921
authorThomas E. Dickey <dickey@invisible-island.net>
Sat, 21 Sep 2013 22:57:50 +0000 (22:57 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Sat, 21 Sep 2013 22:57:50 +0000 (22:57 +0000)
+ fix typo in curs_attr.3x (patch by Sven Joachim, cf: 20130831).
+ build-fix for --with-shared option for DragonFly and FreeBSD (report
  by Rong-En Fan, cf: 20130727).

12 files changed:
Ada95/aclocal.m4
Ada95/configure
NEWS
aclocal.m4
configure
dist.mk
man/curs_attr.3x
ncurses/base/lib_mouse.c
package/debian/changelog
package/mingw-ncurses.spec
package/ncurses.spec
test/demo_forms.c

index b1679f5935a1b50d31cebf60e81bd9d30d324e6e..9614524e8fe17f7d358570001a4297d6afd98aa9 100644 (file)
@@ -28,7 +28,7 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey
 dnl
-dnl $Id: aclocal.m4,v 1.71 2013/09/07 18:07:26 Alexey.Pavlov Exp $
+dnl $Id: aclocal.m4,v 1.72 2013/09/21 21:37:42 tom Exp $
 dnl Macros used in NCURSES Ada95 auto-configuration script.
 dnl
 dnl These macros are maintained separately from NCURSES.  The copyright on
@@ -2836,7 +2836,7 @@ define([CF_REMOVE_LIB],
 $1=`echo "$2" | sed -e 's/-l$3[[       ]]//g' -e 's/-l$3[$]//'`
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_SHARED_OPTS version: 82 updated: 2013/09/07 13:54:05
+dnl CF_SHARED_OPTS version: 83 updated: 2013/09/21 17:34:53
 dnl --------------
 dnl --------------
 dnl Attempt to determine the appropriate CC/LD options for creating a shared
@@ -3087,7 +3087,7 @@ CF_EOF
                        EXTRA_LDFLAGS="${cf_ld_rpath_opt}\${RPATH_LIST} $EXTRA_LDFLAGS"
                fi
                CF_SHARED_SONAME
-               MK_SHARED_LIB='${CC} -Wl,-shared -Wl,-Bshareable -soname=`basename $[@]` -o $[@]'
+               MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $[@]` -o $[@]'
                ;;
        netbsd*) #(vi
                CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
index b3584d873e2e763b4ba049e3637530b1cab27287..8a699bb684119a94efe6deb92f7527ff37e48b92 100644 (file)
@@ -7567,7 +7567,7 @@ CF_EOF
                cf_cv_shared_soname='`basename $@`'
        fi
 
-               MK_SHARED_LIB='${CC} -Wl,-shared -Wl,-Bshareable -soname=`basename $@` -o $@'
+               MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $@` -o $@'
                ;;
        netbsd*) #(vi
                CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
diff --git a/NEWS b/NEWS
index 5caa6dfd9fd33358afb6dc10c9c33debe110ffbb..35342b53db7a20934009c44d54e39787d11558a6 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.2101 2013/09/07 23:16:19 tom Exp $
+-- $Id: NEWS,v 1.2104 2013/09/21 20:41:37 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.
 
+20130921
+       + fix typo in curs_attr.3x (patch by Sven Joachim, cf: 20130831).
+       + build-fix for --with-shared option for DragonFly and FreeBSD (report
+         by Rong-En Fan, cf: 20130727).
+
 20130907
        + build-fixes for MSYS for two test-programs (patches by Ray Donnelly,
          Alexey Pavlov).
index 5dccc76716c911f1634975107dcb95876f88bc00..77ff8ba648453608cca0fe23e7cbb0eedbf1e6d9 100644 (file)
@@ -28,7 +28,7 @@ dnl***************************************************************************
 dnl
 dnl Author: Thomas E. Dickey 1995-on
 dnl
-dnl $Id: aclocal.m4,v 1.676 2013/09/07 18:00:53 Alexey.Pavlov Exp $
+dnl $Id: aclocal.m4,v 1.678 2013/09/21 21:36:28 tom Exp $
 dnl Macros used in NCURSES auto-configuration script.
 dnl
 dnl These macros are maintained separately from NCURSES.  The copyright on
@@ -2141,7 +2141,7 @@ fi
 AC_SUBST(PRAGMA_UNREF)
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_GNAT_PROJECTS version: 3 updated: 2013/09/07 13:54:05
+dnl CF_GNAT_PROJECTS version: 4 updated: 2013/09/07 14:05:46
 dnl ----------------
 dnl GNAT projects are configured with ".gpr" project files.
 dnl GNAT libraries are a further development, using the project feature.
@@ -2158,7 +2158,7 @@ case $cf_gnat_version in #(vi
        ;;
 *)
        case $cf_cv_system_name in #(vi
-       cygwin* | msys*) #(vi
+       cygwin*|msys*) #(vi
                ;;
        *)
                mkdir conftest.src conftest.bin conftest.lib
@@ -4696,7 +4696,7 @@ else
 fi
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_OBJ_SUBDIR version: 5 updated: 2013/09/07 13:54:05
+dnl CF_OBJ_SUBDIR version: 6 updated: 2013/09/07 14:06:10
 dnl -------------
 dnl Compute the object-directory name from the given model name
 AC_DEFUN([CF_OBJ_SUBDIR],
@@ -4708,7 +4708,7 @@ AC_DEFUN([CF_OBJ_SUBDIR],
        profile) $2='obj_p' ;;
        shared)
                case $cf_cv_system_name in #(vi
-               cygwin | msys) #(vi
+               cygwin|msys) #(vi
                        $2='objects' ;;
                *)
                        $2='obj_s' ;;
@@ -5345,7 +5345,7 @@ CF_VERBOSE(...checked $1 [$]$1)
 AC_SUBST(EXTRA_LDFLAGS)
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_SHARED_OPTS version: 82 updated: 2013/09/07 13:54:05
+dnl CF_SHARED_OPTS version: 83 updated: 2013/09/21 17:34:53
 dnl --------------
 dnl --------------
 dnl Attempt to determine the appropriate CC/LD options for creating a shared
@@ -5596,7 +5596,7 @@ CF_EOF
                        EXTRA_LDFLAGS="${cf_ld_rpath_opt}\${RPATH_LIST} $EXTRA_LDFLAGS"
                fi
                CF_SHARED_SONAME
-               MK_SHARED_LIB='${CC} -Wl,-shared -Wl,-Bshareable -soname=`basename $[@]` -o $[@]'
+               MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $[@]` -o $[@]'
                ;;
        netbsd*) #(vi
                CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
@@ -7092,7 +7092,7 @@ CF_NO_LEAKS_OPTION(valgrind,
        [USE_VALGRIND])
 ])dnl
 dnl ---------------------------------------------------------------------------
-dnl CF_XOPEN_SOURCE version: 44 updated: 2013/09/07 13:54:05
+dnl CF_XOPEN_SOURCE version: 45 updated: 2013/09/07 14:06:25
 dnl ---------------
 dnl Try to get _XOPEN_SOURCE defined properly that we can use POSIX functions,
 dnl or adapt to the vendor's definitions to get equivalent functionality,
@@ -7112,7 +7112,7 @@ case $host_os in #(vi
 aix[[4-7]]*) #(vi
        cf_xopen_source="-D_ALL_SOURCE"
        ;;
-cygwin | msys) #(vi
+cygwin|msys) #(vi
        cf_XOPEN_SOURCE=600
        ;;
 darwin[[0-8]].*) #(vi
index 73718da49ad9b2adf79b9b0bbb9c2f202279c61d..c07c067a65c3b2138361fb3f14d8fd23ddfd627a 100755 (executable)
--- a/configure
+++ b/configure
@@ -5879,7 +5879,7 @@ CF_EOF
                cf_cv_shared_soname='`basename $@`'
        fi
 
-               MK_SHARED_LIB='${CC} -Wl,-shared -Wl,-Bshareable -soname=`basename $@` -o $@'
+               MK_SHARED_LIB='${LD} -shared -Bshareable -soname=`basename $@` -o $@'
                ;;
        netbsd*) #(vi
                CC_SHARED_OPTS="$CC_SHARED_OPTS -DPIC"
@@ -7224,7 +7224,7 @@ case $host_os in #(vi
 aix[4-7]*) #(vi
        cf_xopen_source="-D_ALL_SOURCE"
        ;;
-cygwin | msys) #(vi
+cygwin|msys) #(vi
        cf_XOPEN_SOURCE=600
        ;;
 darwin[0-8].*) #(vi
@@ -19661,7 +19661,7 @@ case $cf_gnat_version in #(vi
        ;;
 *)
        case $cf_cv_system_name in #(vi
-       cygwin* | msys*) #(vi
+       cygwin*|msys*) #(vi
                ;;
        *)
                mkdir conftest.src conftest.bin conftest.lib
@@ -20304,7 +20304,7 @@ echo $ECHO_N "checking default object directory... $ECHO_C" >&6
        profile) DFT_OBJ_SUBDIR='obj_p' ;;
        shared)
                case $cf_cv_system_name in #(vi
-               cygwin | msys) #(vi
+               cygwin|msys) #(vi
                        DFT_OBJ_SUBDIR='objects' ;;
                *)
                        DFT_OBJ_SUBDIR='obj_s' ;;
@@ -20802,7 +20802,7 @@ do
        profile) cf_subdir='obj_p' ;;
        shared)
                case $cf_cv_system_name in #(vi
-               cygwin | msys) #(vi
+               cygwin|msys) #(vi
                        cf_subdir='objects' ;;
                *)
                        cf_subdir='obj_s' ;;
@@ -22437,7 +22437,7 @@ echo "${as_me:-configure}:22370: testing overriding CXX_MODEL to SHARED ..." 1>&
        profile) cf_subdir='obj_p' ;;
        shared)
                case $cf_cv_system_name in #(vi
-               cygwin | msys) #(vi
+               cygwin|msys) #(vi
                        cf_subdir='objects' ;;
                *)
                        cf_subdir='obj_s' ;;
diff --git a/dist.mk b/dist.mk
index a9fdd5db5abff4c92735267638c4585c245bcf58..72ec539badc265a195c8592769a700730081a2d6 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.944 2013/09/07 14:39:24 tom Exp $
+# $Id: dist.mk,v 1.945 2013/09/21 15:25:41 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 = 5
 NCURSES_MINOR = 9
-NCURSES_PATCH = 20130907
+NCURSES_PATCH = 20130921
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index cd49844861b3329b7caa8464c126e358b52a697e..7a0d1588d516c8c3163418f3df8cea9adc2e2ee2 100644 (file)
@@ -27,7 +27,7 @@
 .\" authorization.                                                           *
 .\"***************************************************************************
 .\"
-.\" $Id: curs_attr.3x,v 1.38 2013/08/31 12:30:55 tom Exp $
+.\" $Id: curs_attr.3x,v 1.39 2013/09/21 20:39:49 Sven.Joachim Exp $
 .TH curs_attr 3X ""
 .na
 .hy 0
@@ -242,7 +242,7 @@ This implementation provides the \fBA_ITALIC\fP attribute for terminals
 which have the \fIenter_italics_mode\fP (sitm) and \fIexit_italics_mode\fP (ritm) capabilities.
 Italics are not mentioned in X/Open Curses.
 Unlike the other video attributes, \fBI_ITALIC\fP is unrelated
-to the \fIset_attributes\fP capabilites.
+to the \fIset_attributes\fP capabilities.
 This implementation makes the assumption that
 \fIexit_attribute_mode\fP may also reset italics.
 .PP
index e84a964c1ccd63b8920518a3abf472b8ceb9cc9a..b0e0f613ebc3175d09566018928dbb616d8ffb56 100644 (file)
@@ -84,7 +84,7 @@
 #define CUR SP_TERMTYPE
 #endif
 
-MODULE_ID("$Id: lib_mouse.c,v 1.140 2013/01/12 16:35:34 tom Exp $")
+MODULE_ID("$Id: lib_mouse.c,v 1.141 2013/09/21 19:09:19 tom Exp $")
 
 #include <tic.h>
 
@@ -112,7 +112,7 @@ make an error
 #undef buttons                 /* symbol conflict in consio.h */
 #undef mouse_info              /* symbol conflict in consio.h */
 #include <osreldate.h>
-#if (__FreeBSD_version >= 400017)
+#if defined(__DragonFly_version) || (defined(__FreeBSD__) && (__FreeBSD_version >= 400017))
 #include <sys/consio.h>
 #include <sys/fbio.h>
 #else
index 83f4365c819f39cd5488f58be1bc7c08ebc5956d..7fffcb81ee4a4ce289f050c05bc1f3958477c42f 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (5.9-20130907) unstable; urgency=low
+ncurses6 (5.9-20130921) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 07 Sep 2013 10:39:24 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 21 Sep 2013 11:25:41 -0400
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
index 6cb7a23f6250a4503c09e57e2106935bea47c5aa..a663f722b8d47cb4f81ecad1fe6a71a3df9bdfc9 100644 (file)
@@ -3,7 +3,7 @@
 Summary: shared libraries for terminal handling
 Name: mingw32-ncurses6
 Release: 5.9
-Version: 20130907
+Version: 20130921
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{release}-%{version}.tgz
index f3b4c6eed87c0df354e6b51485d7a564e41b5642..6e7865f6d82e8a50c708a701c1cc0ec4f9406498 100644 (file)
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Release: 5.9
-Version: 20130907
+Version: 20130921
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{release}-%{version}.tgz
index a1dd592381ff1b2454c1348951a187adc7adf7ff..585ddb90275b176693eb71f5888ed54c6f7a3fec 100644 (file)
@@ -26,7 +26,7 @@
  * authorization.                                                           *
  ****************************************************************************/
 /*
- * $Id: demo_forms.c,v 1.44 2013/06/08 15:21:26 tom Exp $
+ * $Id: demo_forms.c,v 1.45 2013/09/21 22:51:50 tom Exp $
  *
  * Demonstrate a variety of functions from the form library.
  * Thomas Dickey - 2003/4/26
@@ -103,7 +103,7 @@ static int
 trimmed(const char *value)
 {
     int result = (int) strlen(value);
-    while (result > 0 && isspace(value[result - 1])) {
+    while (result > 0 && isspace(UChar(value[result - 1]))) {
        --result;
     }
     return result;