From nobody Sun Feb 12 00:59:03 2023 X-Original-To: dev-commits-ports-all@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 4PDpyH3cJ3z3ndmv; Sun, 12 Feb 2023 00:59:03 +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 4PDpyH2wcWz40Pp; Sun, 12 Feb 2023 00:59:03 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676163543; 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=czoyY2PgGHPZWa4itpLJSfGhV4/4l4oM1/Ce9MXmP78=; b=Db6AtKxEdpHzRVKkJnOrJZ/eUL5NlpPEjYR/6ZSQeA9QzX8TGRTMnjJJW95hJFCdA2e71A duFuiU+grS0qkRxRXaZWsTocXw+5tnYgckow39e0ebG5vs810zBY5V25iehSx2wmNm6wm/ X+cljoB8bjy0lhHLQRCKWeRQmL3IxhvmxNMQhMQFDw/FB215TVYNIlZ9a4BQwE0MYw2dCd NV6wQ3fHeQjycuUCl+6RqA6xpVCcg022GAH3NZtpuBIhVG0Hn4zVZECwn+gMZGu2s+PzWq LBLMgbVmMPiaTIH++5NdpzN4qQn74wLjXsdmUFkwYwQUGJwHg/rcyDCSz8YAVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1676163543; 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=czoyY2PgGHPZWa4itpLJSfGhV4/4l4oM1/Ce9MXmP78=; b=UioUKYAgfAKrxiVs7vgNz062LPU3jO0rkV+yJlGN8HvEJXNCBGXE5MPtw+BOP+Xa73NQWu v1nz+jUo8QFeikzFWtH2yifTzvB4gKJ2WcKqyrNOH+5Y/khNRGs2CDjyIrJwDuY63132q1 tRvybKAVGnTzzhTmqvKowwHKyLff/FMzwoNCrs2eWB9QXRrP55DrKanzW6+ozgI5rsNFoJ OmEpGaTSH3B2hfh3j6JiA0604tAfDdfcYxYO3nuSK5C3+cS4lmw1OneLU3VHIBi2aB2HyC kP9Bp5NSb1wF37JlIJneFAmOkKE3UAsJjDyWTteCbPL0ST0C046lp7PBr9/CrQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1676163543; a=rsa-sha256; cv=none; b=YtTGGRIR4eExZ0FnxVYfQhgyQfsPoDmI/PrRP35NfhJufbZmDO1+QrtaBCkoMMUrQMYXa6 y0eMsNYnvtg+v2u2a6rm3ej4dvwHRroJYaOWAnwGotWgO8TCfMpI/nQ3GanIzUtO0MN0e9 enPYjCJQCKhTuY07vGzoY6CSXMQ+9my2MNBnw49y0uO+nW/vyvRolr4g+gk4FQn4Sa1xlG VdqRNG1MjHZh/fK1uwIW5v0lN+Dw+XM32VuBNg5A6uobdWjOOxEUuIliwMcFIdPbm28ZBk 2uT7vPBiekQCs7FBm/DyFrm2JIr6BJsHQ34zk7D/D5e4z3TeE6F84pyEg+JFYA== 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 4PDpyH1vC5zJyp; Sun, 12 Feb 2023 00:59: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 31C0x3oP071111; Sun, 12 Feb 2023 00:59:03 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 31C0x3OH071110; Sun, 12 Feb 2023 00:59:03 GMT (envelope-from git) Date: Sun, 12 Feb 2023 00:59:03 GMT Message-Id: <202302120059.31C0x3OH071110@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Jan Beich Subject: git: d9ead0ea74a3 - main - x11/swaync: unbreak build with clang 15 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: d9ead0ea74a3b3b269a73eaa6847e388d6b32765 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=d9ead0ea74a3b3b269a73eaa6847e388d6b32765 commit d9ead0ea74a3b3b269a73eaa6847e388d6b32765 Author: Jan Beich AuthorDate: 2023-02-11 15:48:53 +0000 Commit: Jan Beich CommitDate: 2023-02-12 00:50:58 +0000 x11/swaync: unbreak build with clang 15 src/swaync.p/configModel/configModel.c:3810:46: error: incompatible integer to pointer conversion passing 'gboolean' (aka 'int') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion] g_hash_table_insert (_tmp24_, _tmp26_, json_node_get_boolean (_tmp27_)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glib-2.0/glib/ghash.h:73:61: note: passing argument to parameter 'value' here gpointer value); ^ src/swaync.p/configModel/configModel.c:4333:33: error: incompatible integer to pointer conversion passing 'gboolean' (aka 'int') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion] g_ptr_array_add (_tmp16_, json_node_get_boolean (_tmp17_)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glib-2.0/glib/garray.h:198:27: note: passing argument to parameter 'data' here gpointer data); ^ src/swaync.p/configModel/configModel.c:4342:33: error: incompatible integer to pointer conversion passing 'gint64' (aka 'long') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion] g_ptr_array_add (_tmp18_, json_node_get_int (_tmp19_)); ^~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glib-2.0/glib/garray.h:198:27: note: passing argument to parameter 'data' here gpointer data); ^ Reported by: pkg-fallout --- x11/swaync/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/x11/swaync/Makefile b/x11/swaync/Makefile index 4633c4e41317..1edcd0765599 100644 --- a/x11/swaync/Makefile +++ b/x11/swaync/Makefile @@ -22,6 +22,7 @@ GH_ACCOUNT= ErikReider GH_PROJECT= SwayNotificationCenter SHEBANG_FILES= build-aux/meson/postinstall.py GLIB_SCHEMAS= org.erikreider.swaync.gschema.xml +CFLAGS+= -Wno-error=int-conversion # https://github.com/ErikReider/SwayNotificationCenter/issues/209 OPTIONS_DEFINE= MANPAGES OPTIONS_DEFAULT=MANPAGES