From nobody Mon Dec 12 15:18:36 2022 X-Original-To: gnome@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 4NW4yh1kWMz4kc95 for ; Mon, 12 Dec 2022 15:18:36 +0000 (UTC) (envelope-from bugzilla-noreply@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 4NW4yh0jLVz3C0y for ; Mon, 12 Dec 2022 15:18:36 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1670858316; 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: in-reply-to:in-reply-to:references:references; bh=Y+2i+FkbEMRe2sebHNxK/ogShjhU+I0D7mgZk7zEznQ=; b=HeReedR44EGv54oL1O9SkKmpo74nzAVrqtCou7G6cRd3hdExE64Fxud2qGlQ5m4qFjMPNi Lo+8E8C56St/u7HzYwAoI4MpmzXv5s3IleJvG5ujDzk5C3yrIUsR02LzDDG4Zz2EHL6bRz xWWp6DmUnDwFm8DDkvHU4RmeY5UnKbjS+NTXUCRDQh7MJxnJ3dFC0smftOFEABb/knbVhi 65uo3qCuCEVr2zM/VwD0rqmOarzwnbe7jVa89EAsPj8SBgbgqniuOtWG7jGZDUniVQBp2S da8YFvAdTotCuk0AuozQKPm0cT+44iPHaOa86/2Zg4mtIgJIYypEbNzMvZlJ5g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1670858316; a=rsa-sha256; cv=none; b=s4e1U3ivddIbbnQdY0a77rsG5S6CeS+Xpn1S/jVo7VHXQQw7ZtpzK3EYtAx0POH5G9jtLm 821gK+2x36CATWQ2xzi7l1MAtKelaMXvuItoPs+vEVsnKHHKGykXzS0f9M1ghUUssx/agQ xUHwlIeh1XNUq1qbr0oxlmpdsLTYBZ/DIMhBzEuURPalnagnUqPNc2tArilBzyQYP/HnLl 0YcQvrd5C3XzoFt8Qc13nEMvdjhfdfUQrU6611ziulXaOkBywWTjqE+eKTrkmEVLVVUAEA H9iScAMXVpND+fgdf5Q0T+4W4lnuIVFUq7eBtgxV27KYlNuvm8bxcV3ApNIUOA== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (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 4NW4yg6tB2zfJY for ; Mon, 12 Dec 2022 15:18:35 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 2BCFIZqi061430 for ; Mon, 12 Dec 2022 15:18:35 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 2BCFIZFB061429 for gnome@FreeBSD.org; Mon, 12 Dec 2022 15:18:35 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: [Bug 268301] x11-toolkits/pangox-compat: fix build with clang 15 Date: Mon, 12 Dec 2022 15:18:36 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Ports & Packages X-Bugzilla-Component: Individual Port(s) X-Bugzilla-Version: Latest X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Some People X-Bugzilla-Who: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: GNOME for FreeBSD -- porting and maintaining List-Archive: https://lists.freebsd.org/archives/freebsd-gnome List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-gnome@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D268301 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3Dc7823054d431d2e7a0ff064b8c40d51= b97156220 commit c7823054d431d2e7a0ff064b8c40d51b97156220 Author: Dimitry Andric AuthorDate: 2022-12-10 16:30:35 +0000 Commit: Dimitry Andric CommitDate: 2022-12-12 15:17:02 +0000 x11-toolkits/pangox-compat: fix build with clang 15 During an exp-run for llvm 15 (see bug 265425), it turned out that x11-toolkits/pangox-compat failed to build with clang 15: pangox.c:983:15: error: incompatible integer to pointer conversion assigning to 'PangoFontMetrics *' (aka 'struct _PangoFontMetrics *') from '= int' [-Wint-conversion] metrics =3D pango_font_metrics_new (); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~ pangox-fontmap.c:944:9: error: incompatible integer to pointer conver= sion initializing 'char *' with an expression of type 'int' [-Wint-conversion] char *files_str =3D pango_config_key_get ("PangoX/AliasFiles"); ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ This is because pangox-compat uses two private functions from the main pango library, which are not declared in the public pango headers. Fix the errors by adding the two private functions in pango-impl-utils.h, copying the declarations from pango-font-private.h and pango-utils-private.h. PR: 268301 Approved by: fluffy (maintainer) MFH: 2022Q4 .../pangox-compat/files/patch-pango-impl-utils.h (new) | 14 ++++++++++= ++++ 1 file changed, 14 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=