From owner-svn-ports-all@freebsd.org Tue Sep 22 11:23:53 2020 Return-Path: Delivered-To: svn-ports-all@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 560893E5787; Tue, 22 Sep 2020 11:23:53 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Bwf891Zjpz3bbL; Tue, 22 Sep 2020 11:23:53 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 010F61E86D; Tue, 22 Sep 2020 11:23:53 +0000 (UTC) (envelope-from se@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 08MBNqPl040687; Tue, 22 Sep 2020 11:23:52 GMT (envelope-from se@FreeBSD.org) Received: (from se@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 08MBNqAK040685; Tue, 22 Sep 2020 11:23:52 GMT (envelope-from se@FreeBSD.org) Message-Id: <202009221123.08MBNqAK040685@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: se set sender to se@FreeBSD.org using -f From: =?UTF-8?Q?Stefan_E=c3=9fer?= Date: Tue, 22 Sep 2020 11:23:52 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r549574 - in head/security/pwman: . files X-SVN-Group: ports-head X-SVN-Commit-Author: se X-SVN-Commit-Paths: in head/security/pwman: . files X-SVN-Commit-Revision: 549574 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Sep 2020 11:23:53 -0000 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 #include @@ -8,3 +8,22 @@ #include #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 + #include + ++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*);