Date: Tue, 22 Sep 2020 11:23:52 +0000 (UTC) From: =?UTF-8?Q?Stefan_E=c3=9fer?= <se@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549574 - in head/security/pwman: . files Message-ID: <202009221123.08MBNqAK040685@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: se Date: Tue Sep 22 11:23:52 2020 New Revision: 549574 URL: https://svnweb.freebsd.org/changeset/ports/549574 Log: Fix build with -fno-common Added: head/security/pwman/files/patch-src_actions.c (contents, props changed) Modified: head/security/pwman/Makefile head/security/pwman/files/patch-src__pwman.h Modified: head/security/pwman/Makefile ============================================================================== --- head/security/pwman/Makefile Tue Sep 22 11:19:54 2020 (r549573) +++ head/security/pwman/Makefile Tue Sep 22 11:23:52 2020 (r549574) @@ -3,6 +3,7 @@ PORTNAME= pwman DISTVERSION= 0.4.5 +PORTREVISION= 1 CATEGORIES= security MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION} Modified: head/security/pwman/files/patch-src__pwman.h ============================================================================== --- head/security/pwman/files/patch-src__pwman.h Tue Sep 22 11:19:54 2020 (r549573) +++ head/security/pwman/files/patch-src__pwman.h Tue Sep 22 11:23:52 2020 (r549574) @@ -1,5 +1,5 @@ ---- ./src/pwman.h.orig 2009-08-26 16:18:55.000000000 +0000 -+++ ./src/pwman.h 2010-09-14 02:40:40.029593205 +0000 +--- src/pwman.h.orig 2017-05-01 16:59:03 UTC ++++ src/pwman.h @@ -26,6 +26,7 @@ #include <string.h> #include <config.h> @@ -8,3 +8,22 @@ #include <stdarg.h> #define CONF_FILE ".pwmanrc" +@@ -112,12 +113,12 @@ typedef struct { + int sign_db; + } Options; + +-Options *options; +-int write_options; +-PWList *pwlist; +-PWList *current_pw_sublist; +-PWSearchResult *search_results; +-time_t time_base; ++extern Options *options; ++extern int write_options; ++extern PWList *pwlist; ++extern PWList *current_pw_sublist; ++extern PWSearchResult *search_results; ++extern time_t time_base; + + char *trim_ws(char*); + void debug(char*, ...); Added: head/security/pwman/files/patch-src_actions.c ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/security/pwman/files/patch-src_actions.c Tue Sep 22 11:23:52 2020 (r549574) @@ -0,0 +1,16 @@ +--- src/actions.c.orig 2017-05-01 16:59:03 UTC ++++ src/actions.c +@@ -23,6 +23,13 @@ + #include <pwman.h> + #include <gnupg.h> + ++Options *options; ++int write_options; ++PWList *pwlist; ++PWList *current_pw_sublist; ++PWSearchResult *search_results; ++time_t time_base; ++ + extern Pw * uilist_get_highlighted_item(); + extern PWList * uilist_get_highlighted_sublist(); + extern PWList * pwlist_new(char*);
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202009221123.08MBNqAK040685>