mirror of
https://git.freebsd.org/ports.git
synced 2025-07-17 01:09:24 -04:00
misc/pinfo: fix build with -fno-common (clang 11 and gcc 10)
PORTREVISION not bumped as it fixes build for FreeBSD 13. Reported by: pkg-fallout
This commit is contained in:
parent
143dbe641f
commit
832b8f90f2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=545522
1 changed files with 11 additions and 0 deletions
11
misc/pinfo/files/patch-parse_config.h
Normal file
11
misc/pinfo/files/patch-parse_config.h
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- src/parse_config.h.orig 2020-08-21 00:28:18.377783000 +0700
|
||||
+++ src/parse_config.h 2020-08-21 00:28:12.579209000 +0700
|
||||
@@ -85,7 +85,7 @@
|
||||
colours;
|
||||
#endif /* NO_COLOR_CURSES */
|
||||
|
||||
-int use_manual;
|
||||
+extern int use_manual;
|
||||
|
||||
int parse_config (void);
|
||||
int parse_line (char *line);
|
Loading…
Add table
Reference in a new issue