From nobody Thu May 18 11:41:03 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4QMSjD2Vl1z4BSX6; Thu, 18 May 2023 11:41:04 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4QMSjC7102z3wjB; Thu, 18 May 2023 11:41:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684410064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VaYcLAaV/ljdIEaD8UBw38f0nBLPF0KEi6aN10QtwBg=; b=Rhyg8pcxeox+TphdQ225TVkHqgqEgpU3KgoKsPidNdxdll+raCDYhPDCI90lQupfIe68pl 0wjkkqAg7VelZ3DoXERmxUUMN68Oi+Pw4+quEb+3QKwRAaK1/bLlw0gcdSdncp3/jExN0v Pn0mBzrBXnUtBQiSO7Vya8MBXaiYuor9kPfHGPP9/ZEySSgptBlCZ6j6JBV00moXQHIbmo GTb8h8CWtgsqrqFqW4SCgWfXa/XtqwJVOa91e9I+vRJ8dEpAv/vLt1giEjRm61QDLZ9YZa MN+Mae8ocEZ/XPwWQvBg+ZxWXk5PusU4wAJozhNTg6wrp/29QAZmIjcxlAPmDg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1684410064; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=VaYcLAaV/ljdIEaD8UBw38f0nBLPF0KEi6aN10QtwBg=; b=QsF9HKMByYzVQBOurPpl3+iV5c9Jkym9ADphLODRiYkW43kfjdlOZ9X9KbZ4qw58d9gOSv KeDFzIxCGE8lst0kBl/MgDpFQhhFrt7ezF2SerC7slvhZF0a9PcoIAOLKtDZYgtDQ2/S9z lCseeDCfgXZ3FdPnd79emdey92W4+xO1Q3qWzyp0CXw3YNV6KsW9ed3l7Gk2aIoGiz5vEg nhqeYJ2tXQdWH9+8fVALOcq1vOa2sUhrsp8kTHGNOwt7qmoyBWdF05aFDxELx1y8qx5ncj QZPVc5BujUzMqImv9bfoh8tPjVLaMezo2GHQ5P3CUMFtTPZDHqwSIHss4JLNHQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684410064; a=rsa-sha256; cv=none; b=yLvfsZUyyecZ87RBBNU/rSdQgzlb8aaNbSf7Khbeu+OseGip8y893jOcnm01XnXbSrgqbG v5jRaI4lMXqWBukQQcRYk27womsu+0os/9ywSHDONYIiqdXzfyLV7MW6u1jxTMdyZQ3Vn9 A90/qx44klQFF0ZRGEKAhHgC5BvmtpzqmdtonX/krQLGFZCafS/KYaW49fGJUXM2N6/k6Q r7l6C8Xd9dWst20vlKQfPl6/xJKaLcDFSA3X2BQK15qOGyhAEP0Xg1HvXgaJv3pmr5m3Nw aL2amVjnlsayGf9O+D5mENj3jD2LSxAwgM4zVnzz/B0pDWi8C6bJiTkhAbPqhw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4QMSjC64N1zkvW; Thu, 18 May 2023 11:41:03 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 34IBf3CC086287; Thu, 18 May 2023 11:41:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 34IBf3ZF086278; Thu, 18 May 2023 11:41:03 GMT (envelope-from git) Date: Thu, 18 May 2023 11:41:03 GMT Message-Id: <202305181141.34IBf3ZF086278@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dimitry Andric Subject: git: baf5218c3bf2 - main - security/libsecret: fix build with clang 16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: dim X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: baf5218c3bf238c5feea231a3c587b416b689016 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=baf5218c3bf238c5feea231a3c587b416b689016 commit baf5218c3bf238c5feea231a3c587b416b689016 Author: Dimitry Andric AuthorDate: 2023-05-08 20:12:30 +0000 Commit: Dimitry Andric CommitDate: 2023-05-18 11:34:09 +0000 security/libsecret: fix build with clang 16 Clang 16 has a new error about incompatible function types, which shows up when building security/libsecret: libsecret/test-vala-lang.p/test-vala-lang.c:1166:51: error: incompatible function pointer types passing 'void (gpointer)' (aka 'void (void *)') to parameter of type 'GTestDataFunc' (aka 'void (*)(const void *)') [-Wincompatible-function-pointer-types] g_test_add_data_func ("/vala/lookup/sync", NULL, _test_lookup_sync_gtest_data_func); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glib-2.0/glib/gtestutils.h:337:58: note: passing argument to parameter 'test_func' here GTestDataFunc test_func); ^ Since the errors all occur in vala-generated code, it does not make sense to patch the .c files. Suppress the warning instead. PR: 271320 Approved by: portmgr (build fix blanket) MFH: 2023Q2 --- security/libsecret/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/security/libsecret/Makefile b/security/libsecret/Makefile index 08b778bb54a3..b6807abddf2f 100644 --- a/security/libsecret/Makefile +++ b/security/libsecret/Makefile @@ -1,6 +1,6 @@ PORTNAME= libsecret PORTVERSION= 0.20.5 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= security gnome MASTER_SITES= GNOME @@ -15,7 +15,13 @@ BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}gi-docgen>0:textproc/py-gi-docgen@${PY_FLA LIB_DEPENDS= libgcrypt.so:security/libgcrypt \ libgpg-error.so:security/libgpg-error -USES= gnome meson pkgconfig python:3.8+ tar:xz vala:build +USES= compiler gnome meson pkgconfig python:3.8+ tar:xz vala:build USE_GNOME= glib20 intltool introspection:build libxslt:build -.include +.include + +.if ${COMPILER_TYPE} == clang +CFLAGS+= -Wno-incompatible-function-pointer-types +.endif + +.include