From 49f332d8e4fe88a9723b5ef9bae28965061cef32 Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Mon, 24 Feb 2020 16:04:18 +0100 Subject: [PATCH] Fixed FTBFS --- pinfo-0.6.10-gcc10.patch | 12 ++++++++++++ pinfo.spec | 6 +++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 pinfo-0.6.10-gcc10.patch diff --git a/pinfo-0.6.10-gcc10.patch b/pinfo-0.6.10-gcc10.patch new file mode 100644 index 0000000..5973ad8 --- /dev/null +++ b/pinfo-0.6.10-gcc10.patch @@ -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); diff --git a/pinfo.spec b/pinfo.spec index bf8bf83..43a84ce 100644 --- a/pinfo.spec +++ b/pinfo.spec @@ -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 - 0.6.10-25 +- Fixed FTBFS + * Thu Jan 30 2020 Fedora Release Engineering - 0.6.10-24 - Rebuilt for https://fedoraproject.org/wiki/Fedora_32_Mass_Rebuild