From nobody Thu Jun 15 16:24:59 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 4Qhngw25HYz4fL6b; Thu, 15 Jun 2023 16:25:00 +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 4Qhngv7539z482Z; Thu, 15 Jun 2023 16:24:59 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686846300; 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=+mPuIq2WdbQl5x7sLvm7AHFDe5OU6w/37jIbamOXpos=; b=fnjJKwENx8asx40Ly7DmrkEwkfWwHFAC2hzSZvYvX9Yov88PJdXDRQbVWekKAKPLM/jaNS +gzMUOG3k7ZwI1sY0HdzaBRBSFtAInOF51PAXtlg4WkgTnE5A7uTyhwf7UV4jlZ8N99AVe 4FDPLq/KyHs+aVaXEMGRnI4G/LkV1O/zBTd6cVyyGAVTS4VOHWuQzo4dkotw9gAGwZG6H2 y+xdIIBmCingZV1FugBh+gWkqrQ/kyn+kVE+9G46qc4Fku2Hy1XsuZua+GdOnYsi3YboxV X7JdQvtwkyDTTJ+TMHTgzMtIkwKsXN3WHqWN7dD9tu6nphxeVa9++0Lc5wOiuw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1686846300; 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=+mPuIq2WdbQl5x7sLvm7AHFDe5OU6w/37jIbamOXpos=; b=PPjfAPAtTNvRDGciLkC9DghMs2QJwR1FschCCeHhrI3oIKIaWAR5+q6dqHa6+SRpMoqqw/ Blc43xwMlXgb75zWzLlMP/tpTHNF7WjUzGU4GTmeJg1C3jHuVR1dIkFz8aqYNCppEruGXH jx7kng1mxD7mkzBumiHWB8HcypuBkNI8+hx7j/HUYAxw75T9jyv3lfHD+6yzBmwtNQpnL4 HIlrZuN+PBhUX/3ckr7GVdTzI34VYioYpAuHP0IdxvKrDgKAGuJxDAMv5xWcvRCsYzEDee Z3uDAR/fcXK71HKtJ14O7vfw+VZ6H3AyBkU51Xg8bZxWcByOnjwv624KwnZFDA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686846300; a=rsa-sha256; cv=none; b=q2T3O2IulpC3xs8PAOGCse7ykVIBWsu7i45AwVasnrEjwoQ9Eu5TdsZ0j2UaUJtzW1tywC twKTA45vJsn+4T2vLuXxibOyRRQWZhXCdnXKxxFr7/46ehXYrtuG6SbDxpbbbgfviCEOX4 5oQ8KtVLLULADQSP3zlQ4ycNxhYSEshKKZM78QEc5jCtYZHlq008qtp3iB0FRAiGnUdCN7 AbkA+WG1nz1+UXnzz5uiAbNTnSmxKz5j3rjgXvDD4ld0dcZ0ZYoW9bbhJnZGRQMwtuwSLW X+hfSW9caatRwC2kzSQS1d8F5cbm7c0SGlmdn7lj2ZZkFFh6k1h4h1CGV18UHA== 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 4Qhngv62lVzstG; Thu, 15 Jun 2023 16:24:59 +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 35FGOxu1068510; Thu, 15 Jun 2023 16:24:59 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 35FGOxuh068509; Thu, 15 Jun 2023 16:24:59 GMT (envelope-from git) Date: Thu, 15 Jun 2023 16:24:59 GMT Message-Id: <202306151624.35FGOxuh068509@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: e78dc018f22d - main - sysutils/tracker3: 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: e78dc018f22d87c8a6e7b8b267e141b0161499d7 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim: URL: https://cgit.FreeBSD.org/ports/commit/?id=e78dc018f22d87c8a6e7b8b267e141b0161499d7 commit e78dc018f22d87c8a6e7b8b267e141b0161499d7 Author: Dimitry Andric AuthorDate: 2023-06-12 18:53:44 +0000 Commit: Dimitry Andric CommitDate: 2023-06-15 16:23:54 +0000 sysutils/tracker3: fix build with clang 16 Clang 16 has a new error about incompatible function types, which shows up when building sysutils/tracker3: ../src/libtracker-sparql/bus/tracker-bus.vala:20:56: error: incompatible function pointer types assigning to 'void (*)(TrackerSparqlConnection *, GCancellable *, GAsyncReadyCallback, gpointer)' (aka 'void (*)(struct _TrackerSparqlConnection *, struct _GCancellable *, void (*)(struct _GObject *, struct _GAsyncResult *, void *), void *)') from 'void (*)(TrackerSparqlConnection *, GAsyncReadyCallback, gpointer)' (aka 'void (*)(struct _TrackerSparqlConnection *, void (*)(struct _GObject *, struct _GAsyncResult *, void *), void *)') [-Wincompatible-function-pointer-types] ((TrackerSparqlConnectionClass *) klass)->close_async = (void (*) (TrackerSparqlConnection*, GAsyncReadyCallback, gpointer)) tracker_bus_connection_real_close_async; ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Since the error occurs in vala-generated code, it does not make sense to patch the .c file. Suppress the warning instead. PR: 271968 Approved by: vishwin, fernape MFH: 2023Q2 --- sysutils/tracker3/Makefile | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/sysutils/tracker3/Makefile b/sysutils/tracker3/Makefile index 3e89e2c11fec..75d07ea3df5f 100644 --- a/sysutils/tracker3/Makefile +++ b/sysutils/tracker3/Makefile @@ -1,6 +1,6 @@ PORTNAME= tracker PORTVERSION= 3.1.2 -PORTREVISION= 7 +PORTREVISION= 8 CATEGORIES= sysutils gnome MASTER_SITES= GNOME PKGNAMESUFFIX= 3 @@ -43,8 +43,14 @@ MAN_BUILD_DEPENDS= asciidoc:textproc/asciidoc MAN_MESON_TRUE= man MAN_DESC= Install manual pages +.include + +.if ${COMPILER_TYPE} == clang +CFLAGS+= -Wno-incompatible-function-pointer-types +.endif + post-patch: ${REINPLACE_CMD} -e 's|/etc/asciidoc|${PYTHONPREFIX_SITELIBDIR}/asciidoc/resources|' \ ${WRKSRC}/docs/manpages/meson.build -.include +.include