Fixed FTBFS

This commit is contained in:
Than Ngo 2020-02-24 16:04:18 +01:00
parent 3f4fe73555
commit 49f332d8e4
2 changed files with 17 additions and 1 deletions

12
pinfo-0.6.10-gcc10.patch Normal file
View File

@ -0,0 +1,12 @@
diff -up pinfo-0.6.10/src/parse_config.h.me pinfo-0.6.10/src/parse_config.h
--- pinfo-0.6.10/src/parse_config.h.me 2020-02-24 16:01:08.119884715 +0100
+++ pinfo-0.6.10/src/parse_config.h 2020-02-24 16:01:19.396990442 +0100
@@ -85,7 +85,7 @@ typedef struct colours
colours;
#endif /* NO_COLOR_CURSES */
-int use_manual;
+extern int use_manual;
int parse_config (void);
int parse_line (char *line);

View File

@ -1,7 +1,7 @@
Summary: An info file viewer
Name: pinfo
Version: 0.6.10
Release: 24%{?dist}
Release: 25%{?dist}
License: GPLv2
URL: http://pinfo.alioth.debian.org
Source: http://alioth.debian.org/frs/download.php/3351/pinfo-0.6.10.tar.bz2
@ -12,6 +12,7 @@ Patch4: pinfo-0.6.9-mansection.patch
Patch5: pinfo-0.6.9-infopath.patch
Patch6: pinfo-0.6.10-man.patch
Patch7: pinfo-0.6.9-as-needed.patch
Patch8: pinfo-0.6.10-gcc10.patch
BuildRequires: ncurses-devel
BuildRequires: automake gettext-devel libtool texinfo
@ -51,6 +52,9 @@ rm -f $RPM_BUILD_ROOT%{_infodir}/dir
# %{_mandir}/man1/pman.1*
%changelog
* Mon Feb 24 2020 Than Ngo <than@redhat.com> - 0.6.10-25
- Fixed FTBFS
* Thu Jan 30 2020 Fedora Release Engineering <releng@fedoraproject.org> - 0.6.10-24
- Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild