From nobody Fri Jan 06 18:05:01 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 4NpWTB0ssqz2p5YH; Fri, 6 Jan 2023 18:05:02 +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 4NpWTB0PBjz3JwT; Fri, 6 Jan 2023 18:05:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673028302; 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=GoScAtQYv+cXxJgKr4iaZnNhpe/7+lcvMzYmsgDw9KI=; b=GZYjoMWErEWW/1U6IBXf0sD7LJFZcbiT61S2OCyFss8BUvUaHq4IdmyeSnSdW0+9tKyWWw xR9Cyt5VoIwp45173GUFmQN29AA2fvR3AjUEz1FQA7ArbGU038KI4r7/m+36BWG8Sz0I68 6N/YU2t7HN08DNEaFP7g9LIBJYOe7F77Hm/HZY8p2Gu5JahBEhOEfnDU4umNFz38bMRexf J5WDkCbj1N3yirny4JGK185FbfT2zAwGeYBU46E2q+/3RpmVTW4LHCPJQ2UU72jM9YQ+ki rqstTnFapEiZJI3BOsW+UAJY9MYYOlnIgz5gpeOzYXY/cYdg0121e8NyJo0KGQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1673028302; 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=GoScAtQYv+cXxJgKr4iaZnNhpe/7+lcvMzYmsgDw9KI=; b=V/hTdl0lEkmfq8C+v2UheLteltDuO9etEeXoWNN7mzDKkSbE/oxWAgNnXhiaodvtNF9wRv NriIWVR7wJEODkxIQET2dplM9tlpYynHyXCVSs8AlA66qJLSXS5MYV0UjeDCdyJh83FWTj XdK+K4sF/y6g4ODGBjtW434pyeeqsBNHMMui9COG3Y3/qf9NnonA0T9bGQFf0vbD8juWt8 g8MK+2flFyMlS/YyS+Ry6iH5KYPfBa4itxTaPvZLqqRfmoovx/1yeRvRctwVV2DyAFy37M l83XfnV4oj+eX4k79HxIRqHbH9tz7jUzlFBUA6ZJ915Zk+SnnkLjCUj812KQpA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1673028302; a=rsa-sha256; cv=none; b=bJK0hR2wtAUbzE83GBBtSi87AHvgqAPqZxobAWesYmUGpjxd1RcrAEc9YQLZS0lu9TuA4d a9lLM7rgpohXNMPVxW9cXNc25li/uoCxrTMnwvXQwHs5OEKIBBE0zjJUnvQTfTVFYfEW72 OzVsqUK3y3NGpT0k54DI13BYX/dbUvw7/r2I93QbG+bgUDpIuHNz6hNWQRo0l7eAkkXKMK jknxSzthbd/v63Ps0dFiDo/SEDkE48Iudyq29CMXev9T+yrsgg+O7xLiGz8z+++3z2nl6o CQHt1pYUOPVk70gA/q71rdRE81jWwVxvH5KvXYBBo38xyXrjuvjSMTdFp5rhYQ== 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 4NpWT96TRHzfZ7; Fri, 6 Jan 2023 18:05:01 +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 306I514X009885; Fri, 6 Jan 2023 18:05:01 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 306I51hs009884; Fri, 6 Jan 2023 18:05:01 GMT (envelope-from git) Date: Fri, 6 Jan 2023 18:05:01 GMT Message-Id: <202301061805.306I51hs009884@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: 9dc57dd478b1 - main - sysutils/tracker: fix build with clang 15 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: 9dc57dd478b1a87e34dfac04274646e907296818 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by dim (src committer): URL: https://cgit.FreeBSD.org/ports/commit/?id=9dc57dd478b1a87e34dfac04274646e907296818 commit 9dc57dd478b1a87e34dfac04274646e907296818 Author: Dimitry Andric AuthorDate: 2023-01-06 16:02:07 +0000 Commit: Dimitry Andric CommitDate: 2023-01-06 18:03:58 +0000 sysutils/tracker: fix build with clang 15 During an exp-run for llvm 15 (see bug 265425), it turned out that sysutils/tracker failed to build with clang 15: src/tracker-store/tracker-store.p/tracker-resources.c:1685:14: error: incompatible pointer to integer conversion assigning to 'gint' (aka 'int') from 'gconstpointer' (aka 'const void *') [-Wint-conversion] subject_id = _tmp1_; ^ ~~~~~~ This is because in this vala-generated C code, the glib hash table iterator code always returns pointers, even for integer keys. However, vala is inflexible in the C expressions it generates to store the outcome. Suppress -Wint-conversion to get rid of the compile error. PR: 268787 Approved by: tcberner (maintainer) MFH: 2023Q1 --- sysutils/tracker/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/sysutils/tracker/Makefile b/sysutils/tracker/Makefile index 9bb4bb43419c..8a46426eb5a8 100644 --- a/sysutils/tracker/Makefile +++ b/sysutils/tracker/Makefile @@ -35,6 +35,7 @@ GLIB_SCHEMAS= org.freedesktop.Tracker.DB.gschema.xml \ org.freedesktop.Tracker.enums.xml \ org.freedesktop.Tracker.gschema.xml BINARY_ALIAS= python3=${PYTHON_CMD} +CFLAGS+= -Wno-int-conversion PLIST_SUB= LIBVER=0.304.0