From nobody Thu Aug 17 04:27:50 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 4RRBnM1bpbz4q9mV; Thu, 17 Aug 2023 04:27:51 +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 4RRBnM0VvXz3NmF; Thu, 17 Aug 2023 04:27:51 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692246471; 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=/7YQ1BUU+ghkwP9rfQHoPBgzeKVzzMvYk6lrJOD2bK8=; b=oXQqVmlgB3HSfU/iMqffpTKu1UqkFwyDoh36FG/I926P6XJJQNPiycxBtIQ1/Z6rkWsus0 Z72NkBtROcNbP/eFw8QCz8XS+kfA+YtwN0Wxittk2IfuMB3027A7Oro58IQWi0avCkOy2G 3qvq1CX8ntaEuKAsnE32y9VuMzjca5/qNfF+o1rvQ/MTFyeev3ZaJtBetmXsTS0NHYIyvP MMxYx/M/26Fe0Wi5K3TAxmP1jjJXCYZ/MGsRNZj6gnM2Nx47YDAsslwTEAkbojAc/wo6mA L8DhiHGaONDniV5Qkq8D4m4A1lEFMJkB50NxBr4NX18K7AxJObfwkrqp8RFnqg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1692246471; 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=/7YQ1BUU+ghkwP9rfQHoPBgzeKVzzMvYk6lrJOD2bK8=; b=JrcRBAvtG7z3MgfTCoD8wzu4aLQxpJlLV4O9PIQYzfmdu8Ax2c5Ubvbs6hHd949Hm2yP6R jsmaQqtBJ0IIykaw5EzoPpWUh6bHiSTcvP5d0EK7bHGJ6N0uWdudl32hSSR8fnL4BActNR CGTlk4DM2z6puhBTz5p7r+K+xZFVCrQr0XzTDpK7yJ0VEP+pCFSALZY4MnCdwiEPduxQ5q vpiQUrSpu4etXVLMLEpK/ijtZczijtyNTC4HDV/epezn4y2knzrCu+7QPYa78tWQxgNNmO xx89/P03pzH2Bf/qYg641FBOr7JGyFmOF4f//+EX+RttKk7Hxvo0jjb1mpngtw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1692246471; a=rsa-sha256; cv=none; b=NB5bIIwfYkkfHV3Xph+8fZyXQyLRsMdBsHirTxzEfme7UkhbI60XARPXIHn/trCWwzejY0 559enluA/zA8Y1KaeK5+O9ExHvBFzP2Gg9tYOMBGb8CCLY1W4Fl300bKILfMBYsWP+4fwT OzGnvJfL790DaVaFEoywZUpxalEkO9TJ/CALuic1Lb3iKgfDOHvIiRmKcUgaLTFf/n7hEB jrv2AvGVZ6UWJebI0L0kvYkBGdl/Awa69MYMQqUNmEf5e6+PZS0kw8QQpxv+8AYrvVLCSu xhzIN9mZ7V+hmB8AHeyj/sRYfNnpH9pff2r2Vgd2jFZgS/WD6WWVuNFh7Dk4GA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none 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 4RRBnL6Z5yz502; Thu, 17 Aug 2023 04:27:50 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 37H4Ro4Q029669; Thu, 17 Aug 2023 04:27:50 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 37H4RoG5029665; Thu, 17 Aug 2023 04:27:50 GMT (envelope-from git) Date: Thu, 17 Aug 2023 04:27:50 GMT Message-Id: <202308170427.37H4RoG5029665@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: e831eb778210 - main - x11-toolkits/gtk40: unbreak with clang 16 on i386 after c7b4ee785e1d 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: jbeich X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: e831eb7782105dd069dcc77c69d27b0d012eb060 Auto-Submitted: auto-generated The branch main has been updated by jbeich: URL: https://cgit.FreeBSD.org/ports/commit/?id=e831eb7782105dd069dcc77c69d27b0d012eb060 commit e831eb7782105dd069dcc77c69d27b0d012eb060 Author: Jan Beich AuthorDate: 2023-08-17 04:24:30 +0000 Commit: Jan Beich CommitDate: 2023-08-17 04:27:09 +0000 x11-toolkits/gtk40: unbreak with clang 16 on i386 after c7b4ee785e1d ../gdk/gdkvulkancontext.c:1158:3: error: incompatible pointer to integer conversion returning 'void *' from a function with result type 'VkPipelineCache' (aka 'unsigned long long') [-Wint-conversion] g_return_val_if_fail (GDK_IS_VULKAN_CONTEXT (self), NULL); ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /usr/local/include/glib-2.0/glib/gmessages.h:660:16: note: expanded from macro 'g_return_val_if_fail' return (val); \ ^~~~~ ../gdk/gdkvulkancontext.c:1653:30: error: incompatible pointer to integer conversion passing 'gpointer' (aka 'void *') to parameter of type 'VkShaderModule' (aka 'unsigned long long') [-Wint-conversion] value, ^~~~~ /usr/local/include/vulkan/vulkan_core.h:4410:49: note: passing argument to parameter 'shaderModule' here VkShaderModule shaderModule, ^ ../gdk/gdkvulkancontext.c:1693:10: error: incompatible pointer to integer conversion assigning to 'VkShaderModule' (aka 'unsigned long long') from 'gpointer' (aka 'void *') [-Wint-conversion] shader = g_hash_table_lookup (self->vk_shader_modules, resource_name); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ../gdk/gdkvulkancontext.c:1714:79: error: incompatible integer to pointer conversion passing 'VkShaderModule' (aka 'unsigned long long') to parameter of type 'gpointer' (aka 'void *') [-Wint-conversion] g_hash_table_insert (self->vk_shader_modules, g_strdup (resource_name), shader); ^~~~~~ /usr/local/include/glib-2.0/glib/ghash.h:74:61: note: passing argument to parameter 'value' here gpointer value); ^ Reported by: pkg-fallout --- x11-toolkits/gtk40/Makefile | 1 + 1 file changed, 1 insertion(+) diff --git a/x11-toolkits/gtk40/Makefile b/x11-toolkits/gtk40/Makefile index ad4b1922a71d..eefea6b5298e 100644 --- a/x11-toolkits/gtk40/Makefile +++ b/x11-toolkits/gtk40/Makefile @@ -71,6 +71,7 @@ VULKAN_BUILD_DEPENDS= glslc:graphics/shaderc \ VULKAN_LIB_DEPENDS= libvulkan.so:graphics/vulkan-loader VULKAN_RUN_DEPENDS= vulkan-headers>0:graphics/vulkan-headers VULKAN_MESON_ENABLED= vulkan +VULKAN_CFLAGS= -Wno-error=int-conversion # https://gitlab.gnome.org/GNOME/gtk/-/issues/6033 WAYLAND_DESC= GDK Wayland backend WAYLAND_MESON_TRUE= wayland-backend