]> git.pld-linux.org Git - packages/ncurses.git/commitdiff
- fix building ada bindings with gcc 10.x auto/th/ncurses-6.1.20200118-4
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 19 May 2020 06:59:06 +0000 (08:59 +0200)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 19 May 2020 06:59:06 +0000 (08:59 +0200)
- rel 4

gcc10.patch [new file with mode: 0644]
ncurses.spec

diff --git a/gcc10.patch b/gcc10.patch
new file mode 100644 (file)
index 0000000..daa1ec2
--- /dev/null
@@ -0,0 +1,22 @@
+--- ncurses-6.1-20200118/aclocal.m4~   2020-01-18 18:30:44.000000000 +0100
++++ ncurses-6.1-20200118/aclocal.m4    2020-05-19 08:49:10.694013352 +0200
+@@ -1145,7 +1145,7 @@
+ [
+ AC_REQUIRE([CF_GNAT_VERSION])
+ case $cf_cv_gnat_version in
+-(3.1[[1-9]]*|3.[[2-9]]*|[[4-9]].*|20[[0-9]][[0-9]])
++(3.1[[1-9]]*|3.[[2-9]]*|[[4-9]].*|1[[0-9]].*|20[[0-9]][[0-9]])
+       cf_cv_prog_gnat_correct=yes
+       ;;
+ (*)
+--- ncurses-6.1-20200118/configure~    2020-01-12 01:10:58.000000000 +0100
++++ ncurses-6.1-20200118/configure     2020-05-19 08:52:57.975016517 +0200
+@@ -24346,7 +24346,7 @@
+ test -z "$cf_cv_gnat_version" && cf_cv_gnat_version=no
+ case $cf_cv_gnat_version in
+-(3.1[1-9]*|3.[2-9]*|[4-9].*|20[0-9][0-9])
++(3.1[1-9]*|3.[2-9]*|[4-9].*|1[0-9].*|20[0-9][0-9])
+       cf_cv_prog_gnat_correct=yes
+       ;;
+ (*)
index 63f168d3db577bfc3116699e1ea5fc2efb979256..c0ad995158b75f3105c01ae834d0b28041629ff6 100644 (file)
@@ -21,7 +21,7 @@ Summary(tr.UTF-8):    Terminal kontrol kitaplığı
 Summary(uk.UTF-8):     ncurses - нова бібліотека керування терміналами
 Name:          ncurses
 Version:       %{basever}.%{patchlevel}
-Release:       3
+Release:       4
 License:       distributable
 Group:         Libraries
 Source0:       ftp://ftp.invisible-island.net/ncurses/current/%{name}-%{basever}-%{patchlevel}.tgz
@@ -32,6 +32,7 @@ Patch100:     %{name}-xterm-home-end.patch
 Patch101:      %{name}-gnome-terminal.patch
 # disable rain demo; triggers gcc bug: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=14998
 Patch102:      %{name}-no-rain-demo.patch
+Patch103:      gcc10.patch
 URL:           http://dickey.his.com/ncurses/ncurses.html
 BuildRequires: automake
 %if %{with ada}
@@ -306,6 +307,7 @@ tworzenia aplikacji używających ncurses w języku Ada95.
 %patch100 -p1
 %patch101 -p1
 %patch102 -p1
+%patch103 -p1
 
 %build
 unset TERMINFO || :
This page took 0.090251 seconds and 4 git commands to generate.