Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 19 Aug 2020 23:15:48 +0000 (UTC)
From:      Niclas Zeising <zeising@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r545467 - head/security/ykpers/files
Message-ID:  <202008192315.07JNFmtU038642@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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,



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202008192315.07JNFmtU038642>