forked from pool/ncurses
Update to 6.1-20200104
OBS-URL: https://build.opensuse.org/package/show/Base:System/ncurses?expand=0&rev=461
This commit is contained in:
parent
af18c868b8
commit
430a08e409
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:bb4b81383f1f2882930cba31b77e17f42b31c535f3fe3608bb53e07badf6154e
|
||||
size 1949169
|
||||
oid sha256:b58c0c1f395e26837ef5ac61108bfd63cb57f5be2ed1207b5099492d7773f11a
|
||||
size 2033554
|
||||
|
@ -31,7 +31,7 @@
|
||||
#include <stdio.h>
|
||||
|
||||
#if defined(__cplusplus)
|
||||
@@ -5279,12 +5279,15 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -5280,12 +5280,15 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
echo '? missing rename for '\$cf_source
|
||||
cf_target="\$cf_source"
|
||||
fi
|
||||
@ -49,7 +49,7 @@
|
||||
sed -f $cf_man_alias \\
|
||||
CF_EOF
|
||||
|
||||
@@ -5294,7 +5297,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -5295,7 +5298,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
CF_EOF
|
||||
else
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
@ -58,7 +58,7 @@
|
||||
CF_EOF
|
||||
fi
|
||||
|
||||
@@ -5334,7 +5337,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -5335,7 +5338,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
mv \$TMP.$cf_so_strip \$TMP
|
||||
fi
|
||||
fi
|
||||
@ -67,7 +67,7 @@
|
||||
CF_EOF
|
||||
fi
|
||||
|
||||
@@ -5343,23 +5346,23 @@ case "$MANPAGE_FORMAT" in
|
||||
@@ -5344,23 +5347,23 @@ case "$MANPAGE_FORMAT" in
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
if test \$form = format ; then
|
||||
# BSDI installs only .0 suffixes in the cat directories
|
||||
@ -97,7 +97,7 @@
|
||||
for cf_alias in \$aliases
|
||||
do
|
||||
if test \$section = 1 ; then
|
||||
@@ -5368,7 +5371,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -5369,7 +5372,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
|
||||
if test "$MANPAGE_SYMLINKS" = yes ; then
|
||||
if test -f \$cf_alias\${suffix} ; then
|
||||
@ -106,7 +106,7 @@
|
||||
then
|
||||
continue
|
||||
fi
|
||||
@@ -5378,18 +5381,18 @@ CF_EOF
|
||||
@@ -5379,18 +5382,18 @@ CF_EOF
|
||||
case "x$LN_S" in
|
||||
(*-f)
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
@ -128,7 +128,7 @@
|
||||
echo ".so \$cf_source" >\$TMP
|
||||
CF_EOF
|
||||
if test -n "$cf_compress" ; then
|
||||
@@ -5409,9 +5412,9 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -5410,9 +5413,9 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
)
|
||||
)
|
||||
elif test \$verb = removing ; then
|
||||
@ -141,7 +141,7 @@
|
||||
)
|
||||
test -d \$cf_subdir\${section} &&
|
||||
test -n "\$aliases" && (
|
||||
@@ -5431,6 +5434,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -5432,6 +5435,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
# echo ".hy 0"
|
||||
cat \$TMP
|
||||
fi
|
||||
@ -151,7 +151,7 @@
|
||||
done
|
||||
--- configure
|
||||
+++ configure 2019-11-11 09:30:23.210670661 +0000
|
||||
@@ -5590,7 +5590,7 @@ echo $ECHO_N "checking for an rpath opti
|
||||
@@ -5596,7 +5596,7 @@ echo $ECHO_N "checking for an rpath opti
|
||||
fi
|
||||
;;
|
||||
(linux*|gnu*|k*bsd*-gnu|freebsd*)
|
||||
@ -160,7 +160,7 @@
|
||||
;;
|
||||
(openbsd[2-9].*|mirbsd*)
|
||||
LD_RPATH_OPT="-Wl,-rpath,"
|
||||
@@ -14076,12 +14076,15 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -14082,12 +14082,15 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
echo '? missing rename for '\$cf_source
|
||||
cf_target="\$cf_source"
|
||||
fi
|
||||
@ -178,7 +178,7 @@
|
||||
sed -f $cf_man_alias \\
|
||||
CF_EOF
|
||||
|
||||
@@ -14091,7 +14094,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -14097,7 +14100,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
CF_EOF
|
||||
else
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
@ -187,7 +187,7 @@
|
||||
CF_EOF
|
||||
fi
|
||||
|
||||
@@ -14131,7 +14134,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -14137,7 +14140,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
mv \$TMP.$cf_so_strip \$TMP
|
||||
fi
|
||||
fi
|
||||
@ -196,7 +196,7 @@
|
||||
CF_EOF
|
||||
fi
|
||||
|
||||
@@ -14140,23 +14143,23 @@ case "$MANPAGE_FORMAT" in
|
||||
@@ -14146,23 +14149,23 @@ case "$MANPAGE_FORMAT" in
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
if test \$form = format ; then
|
||||
# BSDI installs only .0 suffixes in the cat directories
|
||||
@ -226,7 +226,7 @@
|
||||
for cf_alias in \$aliases
|
||||
do
|
||||
if test \$section = 1 ; then
|
||||
@@ -14165,7 +14168,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -14171,7 +14174,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
|
||||
if test "$MANPAGE_SYMLINKS" = yes ; then
|
||||
if test -f \$cf_alias\${suffix} ; then
|
||||
@ -235,7 +235,7 @@
|
||||
then
|
||||
continue
|
||||
fi
|
||||
@@ -14175,18 +14178,18 @@ CF_EOF
|
||||
@@ -14181,18 +14184,18 @@ CF_EOF
|
||||
case "x$LN_S" in
|
||||
(*-f)
|
||||
cat >>$cf_edit_man <<CF_EOF
|
||||
@ -257,7 +257,7 @@
|
||||
echo ".so \$cf_source" >\$TMP
|
||||
CF_EOF
|
||||
if test -n "$cf_compress" ; then
|
||||
@@ -14206,9 +14209,9 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -14212,9 +14215,9 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
)
|
||||
)
|
||||
elif test \$verb = removing ; then
|
||||
@ -270,7 +270,7 @@
|
||||
)
|
||||
test -d \$cf_subdir\${section} &&
|
||||
test -n "\$aliases" && (
|
||||
@@ -14228,6 +14231,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
@@ -14234,6 +14237,7 @@ cat >>$cf_edit_man <<CF_EOF
|
||||
# echo ".hy 0"
|
||||
cat \$TMP
|
||||
fi
|
||||
@ -278,7 +278,7 @@
|
||||
;;
|
||||
esac
|
||||
done
|
||||
@@ -25371,6 +25375,7 @@ if test "$with_termlib" != no ; then
|
||||
@@ -25378,6 +25382,7 @@ if test "$with_termlib" != no ; then
|
||||
TINFO_LDFLAGS="-L${LIB_DIR}"
|
||||
SHLIB_LIST="$SHLIB_LIST -l${TINFO_LIB_SUFFIX}"
|
||||
fi
|
||||
@ -359,8 +359,8 @@
|
||||
arrays of characters representing all or part of a CRT screen.
|
||||
--- misc/gen-pkgconfig.in
|
||||
+++ misc/gen-pkgconfig.in 2019-11-15 13:14:38.635601252 +0000
|
||||
@@ -84,6 +84,9 @@ do
|
||||
-l*) # LIBS is handled specially below
|
||||
@@ -88,6 +88,9 @@ do
|
||||
-specs*) # ignore linker specs-files which were used to build library
|
||||
continue
|
||||
;;
|
||||
+ -Wl,--hash-size=*) # ignore hash as gold linker can not do
|
||||
@ -369,7 +369,7 @@
|
||||
-Wl,-z,*) # ignore flags used to manipulate shared image
|
||||
continue
|
||||
;;
|
||||
@@ -127,6 +130,7 @@ do
|
||||
@@ -131,6 +134,7 @@ do
|
||||
LIBS="-l$name"
|
||||
|
||||
desc="ncurses @NCURSES_MAJOR@.@NCURSES_MINOR@"
|
||||
@ -377,7 +377,7 @@
|
||||
reqs=
|
||||
|
||||
if [ $name = $MAIN_LIBRARY ]; then
|
||||
@@ -137,9 +141,11 @@ do
|
||||
@@ -141,9 +145,11 @@ do
|
||||
desc="$desc terminal interface library"
|
||||
elif expr $name : ".*${CXX_NAME}.*" >/dev/null ; then
|
||||
reqs="$PANEL_LIBRARY${suffix}, $MENU_LIBRARY${suffix}, $FORM_LIBRARY${suffix}, $MAIN_LIBRARY${suffix}"
|
||||
@ -389,7 +389,7 @@
|
||||
desc="$desc add-on library"
|
||||
fi
|
||||
|
||||
@@ -149,6 +155,8 @@ do
|
||||
@@ -153,6 +159,8 @@ do
|
||||
[ $NEED_TINFO != yes ] ; then
|
||||
[ -n "$reqs" ] && reqs="$reqs, "
|
||||
reqs="${reqs}${SUB_LIBRARY}${suffix}"
|
||||
@ -795,7 +795,7 @@
|
||||
$(SHELL) -e $(base)/MKlib_gen.sh "$(CPP) $(CPPFLAGS)" "$(AWK)" generated <../include/curses.h >$@
|
||||
--- ncurses/curses.priv.h
|
||||
+++ ncurses/curses.priv.h 2019-11-11 09:30:23.214670585 +0000
|
||||
@@ -2248,6 +2248,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec
|
||||
@@ -2244,6 +2244,8 @@ extern NCURSES_EXPORT(char *) _nc_tracec
|
||||
extern NCURSES_EXPORT(char *) _nc_tracemouse (SCREEN *, MEVENT const *);
|
||||
extern NCURSES_EXPORT(char *) _nc_trace_mmask_t (SCREEN *, mmask_t);
|
||||
extern NCURSES_EXPORT(int) _nc_access (const char *, int);
|
||||
|
@ -1,3 +1,38 @@
|
||||
-------------------------------------------------------------------
|
||||
Tue Jan 7 09:12:06 UTC 2020 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add ncurses patch 20200104
|
||||
+ modify a couple of macros in aclocal.m4 to allow autoconf 2.69 to
|
||||
"work", to help illustrate discussion in
|
||||
https://invisible-island.net/autoconf/my-autoconf.html
|
||||
+ fix some warnings from autoheader-252
|
||||
- Correct include path for ncursesw5 and co
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Sun Dec 29 09:21:53 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add ncurses patch 20191228
|
||||
+ in gen-pkgconfig.in, move the RPATH_LIST and PRIVATE_LIBS assignments
|
||||
past the various prefix/libdir assignments, to allow for using those
|
||||
symbols, e.g., as done via CF_SHARED_OPTS.
|
||||
+ improve ncurses*-config and pc-files by filtering out linker-specs.
|
||||
+ modify test-package to more closely match Fedora's configuration
|
||||
for PIE/PIC feature and debug-packages.
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Thu Dec 26 14:15:16 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
- Add ncurses patch 20191221
|
||||
+ correct pathname used in Ada95 sample programs for explain.txt, to
|
||||
work with test-packages.
|
||||
+ improve tracemunch:
|
||||
+ keep track of TERMINAL* values
|
||||
+ if tracing was first turned on after initialization, attempt to
|
||||
show distinct screen, window and terminal names anyway.
|
||||
+ ensure that GCC_NORETURN is defined in term.h, because the prototype
|
||||
for exit_terminfo() uses it (report by Werner Fink).
|
||||
- Remove patch workaround-20191214.patch as fixed upstream
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Wed Dec 18 09:25:48 UTC 2019 - Dr. Werner Fink <werner@suse.de>
|
||||
|
||||
|
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package ncurses
|
||||
#
|
||||
# Copyright (c) 2019 SUSE LLC.
|
||||
# Copyright (c) 2020 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -75,7 +75,6 @@ Source7: baselibs.conf
|
||||
Patch0: ncurses-6.1.dif
|
||||
Patch1: ncurses-5.9-ibm327x.dif
|
||||
Patch2: ncurses-5.7-tack.dif
|
||||
Patch3: workaround-20191214.patch
|
||||
BuildRoot: %{_tmppath}/%{name}-%{version}-build
|
||||
%global _miscdir %{_datadir}/misc
|
||||
%global _incdir %{_includedir}
|
||||
@ -312,7 +311,6 @@ tar -xzf %{S:5}
|
||||
mv tack-* tack
|
||||
%patch1 -p0 -b .327x
|
||||
%patch2 -p0 -b .hs
|
||||
%patch3 -p0 -b .workaround
|
||||
%patch0 -p0 -b .p0
|
||||
|
||||
%build
|
||||
@ -831,7 +829,7 @@ includedir5=%{_incdir}/ncurses5' "$pc"
|
||||
base=${base##*/}
|
||||
sed -ri '\@includedir=@i\
|
||||
includedir5=%{_incdir}/ncurses5' "$pc"
|
||||
sed -ri 's@^(includedir=).*@\1${includedir5}/ncurses@' "$pc"
|
||||
sed -ri 's@^(includedir=).*@\1${includedir5}/ncursesw@' "$pc"
|
||||
sed -ri 's@^(libdir=).*@\1%{_libdir}/ncurses5@' "$pc"
|
||||
sed -ri 's@^(Libs: )(.*)@\1-L${libdir}\2@' "$pc"
|
||||
mv -f $pc pc/${base}5.pc
|
||||
|
@ -1,16 +0,0 @@
|
||||
---
|
||||
include/MKterm.h.awk.in | 3 +++
|
||||
1 file changed, 3 insertions(+)
|
||||
|
||||
--- include/MKterm.h.awk.in
|
||||
+++ include/MKterm.h.awk.in 2019-12-18 09:23:20.480600045 +0000
|
||||
@@ -376,6 +376,9 @@ END {
|
||||
print "/*"
|
||||
print " * Debugging features."
|
||||
print " */"
|
||||
+ print "#ifndef GCC_NORETURN"
|
||||
+ print "#define GCC_NORETURN /* nothing */"
|
||||
+ print "#endif"
|
||||
print "extern NCURSES_EXPORT(void) exit_terminfo(int) GCC_NORETURN;"
|
||||
print ""
|
||||
print "#ifdef __cplusplus"
|
Loading…
Reference in New Issue
Block a user