From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 45E87158020 for ; Sat, 3 Dec 2022 06:06:27 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DD478E0E8B; Sat, 3 Dec 2022 06:06:25 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C01BFE0E8B for ; Sat, 3 Dec 2022 06:06:25 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id D4E86340CD9 for ; Sat, 3 Dec 2022 06:06:24 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 72F4477C for ; Sat, 3 Dec 2022 06:06:22 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1670047568.07c880dd9d4270ac3932d13269b047a6d7678a95.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-misc/pwsafe/files/, app-misc/pwsafe/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-misc/pwsafe/files/pwsafe-0.2.0-modern-autoconf-automake.patch app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild app-misc/pwsafe/pwsafe-0.2.0-r6.ebuild X-VCS-Directories: app-misc/pwsafe/ app-misc/pwsafe/files/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 07c880dd9d4270ac3932d13269b047a6d7678a95 X-VCS-Branch: master Date: Sat, 3 Dec 2022 06:06:22 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 4dd133eb-2bb4-4470-8f42-9cfb61b64d6d X-Archives-Hash: dd6ddf88f0f2f0b90c5aeb8662807fbc commit: 07c880dd9d4270ac3932d13269b047a6d7678a95 Author: Sam James gentoo org> AuthorDate: Sat Dec 3 05:17:36 2022 +0000 Commit: Sam James gentoo org> CommitDate: Sat Dec 3 06:06:08 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=07c880dd app-misc/pwsafe: fix configure w/ clang 16 Signed-off-by: Sam James gentoo.org> .../pwsafe-0.2.0-modern-autoconf-automake.patch | 61 ++++++++++++++++++++++ ...safe-0.2.0-r5.ebuild => pwsafe-0.2.0-r6.ebuild} | 17 +++--- 2 files changed, 72 insertions(+), 6 deletions(-) diff --git a/app-misc/pwsafe/files/pwsafe-0.2.0-modern-autoconf-automake.patch b/app-misc/pwsafe/files/pwsafe-0.2.0-modern-autoconf-automake.patch new file mode 100644 index 000000000000..a10940fd5716 --- /dev/null +++ b/app-misc/pwsafe/files/pwsafe-0.2.0-modern-autoconf-automake.patch @@ -0,0 +1,61 @@ +https://github.com/nsd20463/pwsafe/commit/7a960f21eed6e3e8b74bf32628c38a5d8c963587 +https://github.com/nsd20463/pwsafe/commit/0bc444c8caadcbd93143e5dba77db3abfd3e51d2 + +From 7a960f21eed6e3e8b74bf32628c38a5d8c963587 Mon Sep 17 00:00:00 2001 +From: "Nicolas S. Dade" +Date: Sat, 13 Jun 2015 16:49:20 -0700 +Subject: [PATCH] update ac input files to fix warnings from modern (version + 1.14.1) aclocal + +--- a/acinclude.m4 ++++ b/acinclude.m4 +@@ -6,7 +6,7 @@ dnl Define HAVE_STRUCT_UTIMBUF if `struct utimbuf' is declared -- + dnl usually in . + dnl Some systems have utime.h but don't declare the struct anywhere. + +-AC_DEFUN(jm_CHECK_TYPE_STRUCT_UTIMBUF, ++AC_DEFUN([jm_CHECK_TYPE_STRUCT_UTIMBUF], + [ + AC_CHECK_HEADERS(utime.h) + AC_REQUIRE([AC_HEADER_TIME]) +--- a/configure.ac ++++ b/configure.ac +@@ -146,7 +146,7 @@ AC_CHECK_TYPE(socklen_t,[AC_DEFINE(HAVE_SOCKLEN_T, 1, [Define to 1 if the type s + + + dnl Checks for library functions. +-AM_SYS_POSIX_TERMIOS ++AC_SYS_POSIX_TERMIOS + if test "$am_cv_sys_posix_termios" != yes -a "$ac_cv_sys_posix_termios" != yes; then + AC_MSG_ERROR("POSIX termios operations are required") + fi + +From 0bc444c8caadcbd93143e5dba77db3abfd3e51d2 Mon Sep 17 00:00:00 2001 +From: "Nicolas S. Dade" +Date: Sat, 13 Jun 2015 17:02:04 -0700 +Subject: [PATCH] Update configure.ac and INSTALL for a modern (1.14.1) + automake + +It seems fine to let automake symlink to its default versions +of files it wants (like 'compile' and 'test-driver'), so for +now I do that. + +Maybe instead I should regenerate everything. After all most +of the autoXxx bits date from 2004. +--- a/configure.ac ++++ b/configure.ac +@@ -3,10 +3,10 @@ dnl confgure.ac for pwsafe + dnl $Id$ + + AC_PREREQ(2.5) +-AC_INIT(pwsafe.cpp) + +-dnl Every other copy of the package version number gets its value from here +-AM_INIT_AUTOMAKE(pwsafe, 0.2.0) ++dnl Every other copy of the package version number gets its value from the following line ++AC_INIT([pwsafe.cpp], [0.2.0]) ++AM_INIT_AUTOMAKE + + dnl create a config.h file (Automake will add -DHAVE_CONFIG_H) + AM_CONFIG_HEADER(config.h) + diff --git a/app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild b/app-misc/pwsafe/pwsafe-0.2.0-r6.ebuild similarity index 79% rename from app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild rename to app-misc/pwsafe/pwsafe-0.2.0-r6.ebuild index ae32ba74d73e..04977864b35b 100644 --- a/app-misc/pwsafe/pwsafe-0.2.0-r5.ebuild +++ b/app-misc/pwsafe/pwsafe-0.2.0-r6.ebuild @@ -1,7 +1,9 @@ -# Copyright 1999-2021 Gentoo Authors +# Copyright 1999-2022 Gentoo Authors # Distributed under the terms of the GNU General Public License v2 -EAPI=7 +EAPI=8 + +inherit autotools DESCRIPTION="A Password Safe compatible command-line password manager" HOMEPAGE="https://github.com/nsd20463/pwsafe" @@ -10,12 +12,12 @@ SRC_URI="https://web.archive.org/web/20171006105548if_/http://nsd.dyndns.org/pws LICENSE="GPL-2" SLOT="0" KEYWORDS="amd64 x86" - IUSE="X readline" -DEPEND="sys-libs/ncurses:0= - dev-libs/openssl:0= - readline? ( sys-libs/readline:0= ) +DEPEND=" + dev-libs/openssl:= + sys-libs/ncurses:= + readline? ( sys-libs/readline:= ) X? ( x11-libs/libSM x11-libs/libICE @@ -31,7 +33,10 @@ src_prepare() { eapply -p0 "${FILESDIR}/${P}-fake-readline.patch" eapply -p0 "${FILESDIR}/${P}-man-page-option-syntax.patch" eapply -p0 "${FILESDIR}/${P}-XChangeProperty.patch" + eapply "${FILESDIR}/${P}-modern-autoconf-automake.patch" eapply_user + # Clang 16 + eautoreconf } src_configure() {