From 832b8f90f25faf6a61b598f0c53b20053db5763b Mon Sep 17 00:00:00 2001 From: Eugene Grosbein Date: Thu, 20 Aug 2020 10:32:50 +0000 Subject: [PATCH] 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 --- misc/pinfo/files/patch-parse_config.h | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 misc/pinfo/files/patch-parse_config.h diff --git a/misc/pinfo/files/patch-parse_config.h b/misc/pinfo/files/patch-parse_config.h new file mode 100644 index 000000000000..2ecddb1e78dd --- /dev/null +++ b/misc/pinfo/files/patch-parse_config.h @@ -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);