File: gcc10.patch

package info (click to toggle)
poa 2.0+20060928-8
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 480 kB
  • sloc: ansic: 4,644; xml: 276; makefile: 91; perl: 35; sh: 16
file content (20 lines) | stat: -rw-r--r-- 631 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
Description: fix FTBFS with gcc10 
Author: Etienne Mollier <etienne.mollier@mailoo.org>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=957696
Forwarded: no
Last-Update: 2020-05-01
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
--- poa.orig/black_flag.h
+++ poa/black_flag.h
@@ -236,8 +236,8 @@
 	       int sourceline,
 	       char sourcefile_revision[]);
 
-char *Program_name;
-char *Program_version;
+extern char *Program_name;
+extern char *Program_version;
 
 void black_flag_init(char progname[],char progversion[]);
 void black_flag_init_args(int narg,char *arg[],char progversion[]);