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 33A9915ACFB for ; Sat, 15 Apr 2023 06:17:12 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 1C2ADE0837; Sat, 15 Apr 2023 06:17:11 +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 F3B59E0837 for ; Sat, 15 Apr 2023 06:17:10 +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 11E56340F99 for ; Sat, 15 Apr 2023 06:17:10 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 283C1A45 for ; Sat, 15 Apr 2023 06:17:06 +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: <1681539125.5eb71eb142a2a51e52580bb81fa42834bf3a7e96.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-crypt/seahorse/, app-crypt/seahorse/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-crypt/seahorse/files/seahorse-43.0-clang16.patch app-crypt/seahorse/seahorse-43.0-r1.ebuild app-crypt/seahorse/seahorse-43.0-r2.ebuild X-VCS-Directories: app-crypt/seahorse/files/ app-crypt/seahorse/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 5eb71eb142a2a51e52580bb81fa42834bf3a7e96 X-VCS-Branch: master Date: Sat, 15 Apr 2023 06:17:06 +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: 65dffd01-f82c-4ca0-a3d6-4bb2c6066c1b X-Archives-Hash: 4e1f2c93a9041bdb3a91a29cd6b1fccd commit: 5eb71eb142a2a51e52580bb81fa42834bf3a7e96 Author: Sam James gentoo org> AuthorDate: Sat Apr 15 06:12:05 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Apr 15 06:12:05 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5eb71eb1 app-crypt/seahorse: fix build w/ clang 16 Signed-off-by: Sam James gentoo.org> .../seahorse/files/seahorse-43.0-clang16.patch | 35 ++++++++++++++++++++++ ...orse-43.0-r1.ebuild => seahorse-43.0-r2.ebuild} | 1 + 2 files changed, 36 insertions(+) diff --git a/app-crypt/seahorse/files/seahorse-43.0-clang16.patch b/app-crypt/seahorse/files/seahorse-43.0-clang16.patch new file mode 100644 index 000000000000..c31fc42709e1 --- /dev/null +++ b/app-crypt/seahorse/files/seahorse-43.0-clang16.patch @@ -0,0 +1,35 @@ +https://gitlab.gnome.org/GNOME/seahorse/-/merge_requests/214 + +From 3887ba07ccab4aa970c24a22a183b97e255e6ece Mon Sep 17 00:00:00 2001 +From: Florian Weimer +Date: Fri, 14 Apr 2023 14:37:23 +0200 +Subject: [PATCH] Avoid C99 incompatibility around + seahorse_pkcs11_backend_initialize + +Move the prototype for seahorse_pkcs11_backend_initialize into the +header file, so C code generated from Vala sources will use it. +This avoids an implicit function declaration during the C-build +of src/application.vala, and resulting build failures with future +compilers. +--- a/pkcs11/seahorse-pkcs11-backend.c ++++ b/pkcs11/seahorse-pkcs11-backend.c +@@ -43,8 +43,6 @@ enum { + PROP_LOADED, + }; + +-void seahorse_pkcs11_backend_initialize (void); +- + static SeahorsePkcs11Backend *pkcs11_backend = NULL; + + struct _SeahorsePkcs11Backend { +--- a/pkcs11/seahorse-pkcs11-backend.h ++++ b/pkcs11/seahorse-pkcs11-backend.h +@@ -43,4 +43,6 @@ SeahorsePkcs11Backend * seahorse_pkcs11_backend_get (void); + GcrCollection * seahorse_pkcs11_backend_get_writable_tokens (SeahorsePkcs11Backend *self, + gulong with_mechanism); + ++void seahorse_pkcs11_backend_initialize (void); ++ + #endif /* SEAHORSE_PKCS11_BACKEND_H_ */ +-- +GitLab diff --git a/app-crypt/seahorse/seahorse-43.0-r1.ebuild b/app-crypt/seahorse/seahorse-43.0-r2.ebuild similarity index 98% rename from app-crypt/seahorse/seahorse-43.0-r1.ebuild rename to app-crypt/seahorse/seahorse-43.0-r2.ebuild index 876b56992f86..54b472f9d3d2 100644 --- a/app-crypt/seahorse/seahorse-43.0-r1.ebuild +++ b/app-crypt/seahorse/seahorse-43.0-r2.ebuild @@ -50,6 +50,7 @@ BDEPEND=" PATCHES=( "${FILESDIR}"/${P}-gnupg-2.4.patch "${FILESDIR}"/${P}-musl-stdout.patch + "${FILESDIR}"/${P}-clang16.patch ) src_prepare() {