]> ncurses.scripts.mit.edu Git - ncurses.git/commitdiff
ncurses 6.3 - patch 20221112
authorThomas E. Dickey <dickey@invisible-island.net>
Sun, 13 Nov 2022 01:28:14 +0000 (01:28 +0000)
committerThomas E. Dickey <dickey@invisible-island.net>
Sun, 13 Nov 2022 01:28:14 +0000 (01:28 +0000)
+ build-fixes for AdaCurses RPM test-package.

12 files changed:
Ada95/package/AdaCurses.spec
Ada95/src/c_threaded_variables.c
NEWS
VERSION
dist.mk
package/debian-mingw/changelog
package/debian-mingw64/changelog
package/debian/changelog
package/mingw-ncurses.nsi
package/mingw-ncurses.spec
package/ncurses.spec
package/ncursest.spec

index 9b39110eb842dea294fc77950a175a55bdaf7b3a..9c34cad4742b13c285b012f379a1d9e73adb4ba2 100644 (file)
@@ -2,7 +2,7 @@ Summary: Ada95 binding for ncurses
 %define AppProgram AdaCurses
 %define AppVersion MAJOR.MINOR
 %define AppRelease YYYYMMDD
-# $Id: AdaCurses.spec,v 1.25 2019/11/23 21:15:31 tom Exp $
+# $Id: AdaCurses.spec,v 1.29 2022/11/13 00:35:00 tom Exp $
 Name: %{AppProgram}
 Version: %{AppVersion}
 Release: %{AppRelease}
@@ -20,6 +20,10 @@ In addition to a library, this package installs sample programs in
 "bin/%{AppProgram}" to avoid conflict with other packages.
 %prep
 
+%global is_mandriva %(test -f /etc/mandriva-release && echo 1 || echo 0)
+%global is_redhat   %(test -f /etc/redhat-release && echo 1 || echo 0)
+%global is_suse     %(if grep -E -i '(opensuse)' /etc/issue >/dev/null; then echo 1; else echo 0; fi)
+
 %define debug_package %{nil}
 
 %define need_filter %(if grep -E -i '(mageia|red hat|fedora)' /etc/issue >/dev/null; then echo 1; elif test -f /etc/fedora-release; then echo 1; else echo 0; fi)
@@ -37,6 +41,17 @@ In addition to a library, this package installs sample programs in
 %define ada_libdir %{_prefix}/lib/ada/adalib
 %define ada_include %{_prefix}/share/ada/adainclude
 
+%if %{is_mandriva}
+# Mageia 8 lacks gprbuild, needed for building shared libraries.
+%else
+%if %{is_redhat}
+# Fedora 36 LTO does not work with gprbuild system configuration.
+unset CFLAGS
+unset LDFLAGS
+unset LT_SYS_LIBRARY_PATH
+%endif
+%endif
+
 INSTALL_PROGRAM='${INSTALL}' \
        ./configure \
                --target %{_target_platform} \
@@ -48,6 +63,9 @@ INSTALL_PROGRAM='${INSTALL}' \
                --mandir=%{_mandir} \
                --datadir=%{_datadir} \
                --disable-rpath-link \
+               --disable-echo \
+               --verbose \
+               --enable-warnings \
                --with-shared \
                --with-ada-sharedlib
 
@@ -80,6 +98,9 @@ exit 0
 %if %{need_filter} == 1
 %{_libdir}/lib%{AppProgram}.*
 %endif
+%if %{is_suse}
+%{_libdir}/lib%{AppProgram}.*
+%endif
 %{_mandir}/man1/adacurses*-config.1*
 %{_datadir}/%{AppProgram}/*
 %{ada_include}/
@@ -87,6 +108,10 @@ exit 0
 %changelog
 # each patch should add its ChangeLog entries here
 
+* Sat Nov 12 2022 Thomas Dickey
+- unset environment variables to work around Fedora LTO bugs.
+- build-fix for OpenSUSE with gprbuild.
+
 * Sat Nov 16 2019 Thomas Dickey
 - modify clean-rule to work around Fedora NFS bugs.
 
index 4c13153ed095d579750d68c2f34b4c2cb4ac3f01..44b4bcbc9e131d78d308c0c7019f459940c68abf 100644 (file)
@@ -1,5 +1,5 @@
 /****************************************************************************
- * Copyright 2020 Thomas E. Dickey                                          *
+ * Copyright 2020,2022 Thomas E. Dickey                                     *
  * Copyright 2014 Free Software Foundation, Inc.                            *
  *                                                                          *
  * Permission is hereby granted, free of charge, to any person obtaining a  *
@@ -35,7 +35,7 @@
 
 #define WRAP(type, name)        \
   type                          \
-  name ## _as_function ()       \
+  name ## _as_function (void)   \
   {                             \
     return name;                \
   }
diff --git a/NEWS b/NEWS
index 3818c210d0450b38a99e8fb5bb510dc7960d83e4..df4763899a9e6d976e0f21b42314927fbf18d706 100644 (file)
--- a/NEWS
+++ b/NEWS
@@ -26,7 +26,7 @@
 -- sale, use or other dealings in this Software without prior written        --
 -- authorization.                                                            --
 -------------------------------------------------------------------------------
--- $Id: NEWS,v 1.3875 2022/11/05 22:24:03 tom Exp $
+-- $Id: NEWS,v 1.3877 2022/11/13 00:20:41 tom Exp $
 -------------------------------------------------------------------------------
 
 This is a log of changes that ncurses has gone through since Zeyd started
@@ -46,6 +46,9 @@ 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.
 
+20221112
+       + build-fixes for AdaCurses RPM test-package.
+
 20221105
        + regenerate configure scripts with autoconf 2.52.20221009
        + modify "--with-manpage-format" to support bzip2 and xz compression
diff --git a/VERSION b/VERSION
index 459ae7cbe8886412e88d887b07b9263dbdf9ba94..e5315330fc7db4d45950149ca3b9573cfa2a2802 100644 (file)
--- a/VERSION
+++ b/VERSION
@@ -1 +1 @@
-5:0:10 6.3     20221105
+5:0:10 6.3     20221112
diff --git a/dist.mk b/dist.mk
index c4b46a38458887c82ba072f9aa2b5fbb878f1910..15cd1ee1470beea0186c6ae155744eccedf40cb9 100644 (file)
--- a/dist.mk
+++ b/dist.mk
@@ -26,7 +26,7 @@
 # use or other dealings in this Software without prior written               #
 # authorization.                                                             #
 ##############################################################################
-# $Id: dist.mk,v 1.1511 2022/11/05 12:24:12 tom Exp $
+# $Id: dist.mk,v 1.1512 2022/11/12 10:24:16 tom Exp $
 # Makefile for creating ncurses distributions.
 #
 # This only needs to be used directly as a makefile by developers, but
@@ -38,7 +38,7 @@ SHELL = /bin/sh
 # These define the major/minor/patch versions of ncurses.
 NCURSES_MAJOR = 6
 NCURSES_MINOR = 3
-NCURSES_PATCH = 20221105
+NCURSES_PATCH = 20221112
 
 # We don't append the patch to the version, since this only applies to releases
 VERSION = $(NCURSES_MAJOR).$(NCURSES_MINOR)
index bc6c9d31536df5d87e1e79a913726b8e6ed0116a..dcef95ea354f4896b76e163bf1416641effc26f1 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20221105) unstable; urgency=low
+ncurses6 (6.3+20221112) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 05 Nov 2022 08:24:12 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 12 Nov 2022 05:24:16 -0500
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index bc6c9d31536df5d87e1e79a913726b8e6ed0116a..dcef95ea354f4896b76e163bf1416641effc26f1 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20221105) unstable; urgency=low
+ncurses6 (6.3+20221112) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 05 Nov 2022 08:24:12 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 12 Nov 2022 05:24:16 -0500
 
 ncurses6 (5.9-20131005) unstable; urgency=low
 
index 81391ccdaa9ee313cc76fa94c68d7abd65313c44..03b761ee8bd57e7067fbda84ebf6eba7db140218 100644 (file)
@@ -1,8 +1,8 @@
-ncurses6 (6.3+20221105) unstable; urgency=low
+ncurses6 (6.3+20221112) unstable; urgency=low
 
   * latest weekly patch
 
- -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 05 Nov 2022 08:24:12 -0400
+ -- Thomas E. Dickey <dickey@invisible-island.net>  Sat, 12 Nov 2022 05:24:16 -0500
 
 ncurses6 (5.9-20120608) unstable; urgency=low
 
index 588c1d6bc1776ef2ab97015f277873d020a022d7..93312c164e57dd2a2fc9c42621bbff4be301ba96 100644 (file)
@@ -1,4 +1,4 @@
-; $Id: mingw-ncurses.nsi,v 1.550 2022/11/05 12:24:12 tom Exp $\r
+; $Id: mingw-ncurses.nsi,v 1.551 2022/11/12 10:24: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 "3"\r
 !define VERSION_YYYY  "2022"\r
-!define VERSION_MMDD  "1105"\r
+!define VERSION_MMDD  "1112"\r
 !define VERSION_PATCH ${VERSION_YYYY}${VERSION_MMDD}\r
 \r
 !define MY_ABI   "5"\r
index 8acce52e404d4393f2422942835be204f00f445e..29276cd428ae27fce2fe19be7b3e21fc66bd37df 100644 (file)
@@ -3,7 +3,7 @@
 Summary: shared libraries for terminal handling
 Name: mingw32-ncurses6
 Version: 6.3
-Release: 20221105
+Release: 20221112
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
index 160dcc9e3768aac9840147a9482d269f86e0bd66..334922ff2547006f9f7ea1912586d936ab8422a2 100644 (file)
@@ -1,7 +1,7 @@
 Summary: shared libraries for terminal handling
 Name: ncurses6
 Version: 6.3
-Release: 20221105
+Release: 20221112
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz
index 0ce25250f6cd271077672c56f7620700536f115b..663fb0e04627a4a0699513ee9abb7648da8573cc 100644 (file)
@@ -1,7 +1,7 @@
 Summary: Curses library with POSIX thread support.
 Name: ncursest6
 Version: 6.3
-Release: 20221105
+Release: 20221112
 License: X11
 Group: Development/Libraries
 Source: ncurses-%{version}-%{release}.tgz