]> git.pld-linux.org Git - packages/pinfo.git/commitdiff
- added no-common patch (fixes build with -fno-common, gcc 10+ default) auto/th/pinfo-0.6.13-1
authorJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 Oct 2021 19:51:33 +0000 (21:51 +0200)
committerJakub Bogusz <qboosh@pld-linux.org>
Sat, 2 Oct 2021 19:51:33 +0000 (21:51 +0200)
pinfo-no-common.patch [new file with mode: 0644]
pinfo.spec

diff --git a/pinfo-no-common.patch b/pinfo-no-common.patch
new file mode 100644 (file)
index 0000000..a8d50a3
--- /dev/null
@@ -0,0 +1,11 @@
+--- pinfo-0.6.13/src/parse_config.h.orig       2019-02-16 21:23:32.000000000 +0100
++++ pinfo-0.6.13/src/parse_config.h    2021-10-02 21:41:54.698502930 +0200
+@@ -85,7 +85,7 @@ typedef struct colours
+ colours;
+ #endif /* HAVE_CURSES_COLOR */
+-int use_manual;
++extern int use_manual;
+ int parse_config (void);
+ int parse_line (char *line);
index 2b8b4661bdc6d93a15a3dc148a72d631e007cc21..f9dd1fdeace89154e1558bef16722db1bd24d017 100644 (file)
@@ -20,6 +20,7 @@ Patch2:               %{name}-pl.po-update.patch
 Patch3:                %{name}-info.patch
 Patch4:                %{name}-gettext.patch
 Patch5:                %{name}-color.patch
+Patch6:                %{name}-no-common.patch
 URL:           https://github.com/baszoetekouw/pinfo
 BuildRequires: autoconf >= 2.57
 BuildRequires: automake
@@ -64,6 +65,7 @@ Pinfo - це програма перегляду info-файлів та man-ст
 %patch3 -p1
 %patch4 -p1
 %patch5 -p1
+%patch6 -p1
 
 %build
 CPPFLAGS="-I%{_includedir}/ncursesw"
This page took 0.069388 seconds and 4 git commands to generate.