svn commit: r545467 - head/security/ykpers/files

Niclas Zeising zeising at FreeBSD.org
Wed Aug 19 23:15:49 UTC 2020


Author: zeising
Date: Wed Aug 19 23:15:48 2020
New Revision: 545467
URL: https://svnweb.freebsd.org/changeset/ports/545467

Log:
  security/ykpers: Fix build with -fno-common
  
  Add a patch from upstream to fix the build with -fno-common, which is the
  default with llvm 11.
  
  MFH:		2020Q3

Added:
  head/security/ykpers/files/patch-09ea16d9.c   (contents, props changed)

Added: head/security/ykpers/files/patch-09ea16d9.c
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/security/ykpers/files/patch-09ea16d9.c	Wed Aug 19 23:15:48 2020	(r545467)
@@ -0,0 +1,15 @@
+diff --git a/ykpers-args.h b/ykpers-args.h
+index 2a63268..9ff455a 100644
+--- ykpers-args.h
++++ ykpers-args.h
+@@ -33,8 +33,8 @@
+ 
+ #include "ykpers.h"
+ 
+-const char *usage;
+-const char *optstring;
++extern const char *usage;
++extern const char *optstring;
+ 
+ int args_to_config(int argc, char **argv, YKP_CONFIG *cfg, char *oathid,
+ 		   size_t oathid_len, const char **infname,


More information about the svn-ports-head mailing list