summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Eßer <se@FreeBSD.org>2020-09-19 14:10:08 +0000
committerStefan Eßer <se@FreeBSD.org>2020-09-19 14:10:08 +0000
commita905cf1e2170528ff7338047943a9ebb698c2d80 (patch)
tree532a91864ca9f9b91bbc1cdc4ce6f5fcc7a67c2d
parentFix build with -fno-common (diff)
Fix build with -fno-common
Notes
Notes: svn path=/head/; revision=548988
-rw-r--r--sysutils/ipa/Makefile1
-rw-r--r--sysutils/ipa/files/patch-src_ipa__cmd.h11
2 files changed, 12 insertions, 0 deletions
diff --git a/sysutils/ipa/Makefile b/sysutils/ipa/Makefile
index 60b4b9494379..ab013c1a3e09 100644
--- a/sysutils/ipa/Makefile
+++ b/sysutils/ipa/Makefile
@@ -3,6 +3,7 @@
PORTNAME= ipa
PORTVERSION= 2.1.2
+PORTREVISION= 1
CATEGORIES= sysutils
MASTER_SITES= SF/ipa-system
diff --git a/sysutils/ipa/files/patch-src_ipa__cmd.h b/sysutils/ipa/files/patch-src_ipa__cmd.h
new file mode 100644
index 000000000000..0d56957f4d6a
--- /dev/null
+++ b/sysutils/ipa/files/patch-src_ipa__cmd.h
@@ -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;
+