Fix build with -fno-common

This commit is contained in:
se
2020-09-19 14:10:08 +00:00
parent 943ed010b9
commit ba568b5c47
2 changed files with 12 additions and 0 deletions
+1
View File
@@ -3,6 +3,7 @@
PORTNAME= ipa
PORTVERSION= 2.1.2
PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/ipa-system
+11
View File
@@ -0,0 +1,11 @@
--- src/ipa_cmd.h.orig 2011-01-23 18:42:34 UTC
+++ src/ipa_cmd.h
@@ -165,7 +165,7 @@ extern char *shell_path_default;
extern char *shell_arg1;
extern char *shell_arg1_default;
-const char *const rc_sect_name[2];
+extern const char *const rc_sect_name[2];
extern ipa_mzone *cmd_mzone;