From nobody Mon May 29 17:22:01 2023 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 4QVMlY2TWCz4Y5dt for ; Mon, 29 May 2023 17:22:01 +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 4QVMlY0b8pz42pQ for ; Mon, 29 May 2023 17:22:01 +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=1685380921; 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=sk/G0IjpmG2Xi0O2CU8d1NvCPxF3v4biQaVfTl4uHro=; b=Jd3b1iNhCAhC6PbCzQW7pw7lZlHOQOYMgFX9S5LR7iQfMZ0loMprOlyAT46U3oEgeuUD1i g4ntPrxJMKRRljTRMfdc26dF8dIr1WR0D9fqzrcqRJfqelYAlzKGTmSSSDLE9sTF0UIihQ 1b66+xvbARX0xqhzdcWP0IHm1HCTlTo5xoC6YsyI/fdX4QvM+AjcrBUIcAVMB4yQ7pB0QJ J+HDVtcWz3B0u2BDJ3ho4aycsCe+j0/K2piGBDl4DMDqvfF/8c8pQr118DkHGABdIYoNhh E+W2aXmZGuYUFKCGsIFVCZ5P7U+0+/b+8XUggxDaf+Iuy5sDM+i29IKJ2UhTmA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685380921; a=rsa-sha256; cv=none; b=OCb1Afk/eG/jUvyxel54LlJKA3VLh3u+DFNZ9JJvaU6L8kHNkbVJ3e8Z5Nhtt2wTo1qonN VPx/RG4UjMkPZTWMx7YWPVZcNBRNlMr9YMvtnt+Bvg2oFbUXR7wLD2/hppECVSLZsDZLXq vvG6SJdAIo/HTMOX11FPI2lgnmSbDmza2FAhcWGASH3ZCWFXbOrXhWdpNmAKVANwhqAUsg KRNNX+m/FbqWBJKgm7d3vczhlYPiwfyOdXo8ant4dQacLd9xEDT+EH8BOnAMSXLJatSy1Y +mu5NBg3BmA0mSiWz/8B/BlYolzNbihmhx1+mX2lE/6P6tweETs1Aq9sUTwqWw== 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 4QVMlX6VVnzL13 for ; Mon, 29 May 2023 17:22:00 +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 34THM0dR013715 for ; Mon, 29 May 2023 17:22:00 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34THM0ue013714 for gnome@FreeBSD.org; Mon, 29 May 2023 17:22:00 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 271709] x11-toolkits/pangox-compat: fix build with clang 16 Date: Mon, 29 May 2023 17:22:01 +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=3D271709 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D1f905384aff97cb61995ae241e77261= bc109a865 commit 1f905384aff97cb61995ae241e77261bc109a865 Author: Dimitry Andric AuthorDate: 2023-05-29 16:44:45 +0000 Commit: Dimitry Andric CommitDate: 2023-05-29 17:20:12 +0000 x11-toolkits/pangox-compat: fix build with clang 16 Clang 16 has a new error about incompatible function types, which shows up when building x11-toolkits/pangox-compat: basic-x.c:687:23: error: incompatible function pointer types assigning = to 'void (*)(PangoEngineShape *, PangoFont *, const char *, unsigned int, const PangoAnalysis *, PangoGlyphString *, const char *, unsigned int)' (aka 'void (*)(struct _PangoEngineShape *, struct _PangoFont *, const char *, unsigned int, const struct _PangoAnalysis *, struct _PangoGlyphString *, const char = *, unsigned int)') from 'void (PangoEngineShape *, PangoFont *, const char *, gint, const PangoAnalysis *, PangoGlyphString *)' (aka 'void (struct _PangoEngineShape *, struct _PangoFont *, const char *, int, const struct _PangoAnalysis *, struct _PangoGlyphString *)') [-Wincompatible-function-pointer-types] class->script_shape =3D basic_engine_shape; ^ ~~~~~~~~~~~~~~~~~~ This is because the 'script_shape' callback function in pango 1.50 has the 'length' argument as 'unsigned int', and also two additional parameters 'paragraph_text' and 'paragraph_length'. Even though it looks like this callback function is never used, correct the arguments to fix the error. PR: 271709 Approved by: fluffy (maintainer) MFH: 2023Q2 x11-toolkits/pangox-compat/Makefile | 2 +- x11-toolkits/pangox-compat/files/patch-basic-x.c (new) | 16 ++++++++++++++= ++ 2 files changed, 17 insertions(+), 1 deletion(-) --=20 You are receiving this mail because: You are the assignee for the bug.=