From nobody Mon May 29 16:45:42 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 4QVLxf5fz4z4Y3RY for ; Mon, 29 May 2023 16:45:42 +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 4QVLxf2G6sz3yWh for ; Mon, 29 May 2023 16:45:42 +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=1685378742; 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=zLJGlt3jWMN0ow3i+RHuD3ZeFgv5yHn2SBlf6c4acEk=; b=bUtZXFar5yHZrgrvpZWNMkzJapM2egHCHBKi9W/JDnSdijgkb8KTVeKjj4WLAH71QU2unz 49f0R3p/3113PaGNeFdtNFNWF8UTN3hcJLktqilinzFKp7NiNQXzWlZFJReuRyg5QpnjTe MrGLJsZB+FHIxRvi4tjly8XQ9f5D6UVQwsDkKaQq0yE6TM/eNtNgkq6sLXcFKND4ZdD69p 8B7r+AyGiDSAmDdPdVSzglmdZXe8Th2fAjQUNzY7IqPDH9aK+q46MJl2dju16UhxNx5iU2 Nn2fr4lni7UzT4+FtJspTJKf71cOwzFIVOutq7NCzHaVxaOm1uDWpdZWkui4Fw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1685378742; a=rsa-sha256; cv=none; b=KFsp60pnRlrAasq7kNA4wjIvqQ+Kim3u5ahvTzx6pY0SBvNfq5mEvQ1FqFeitwPjLmcD1l Zs5RWSgzSjdrl0NHZTPD7N0XMj3yWRtOQoEgJS1GcuEiIY8c7jliMsdZ4zEJP9X517hpFb sD7QlzLGQ2Q3vSEaKW8rGfkxEJhJGetx85699lYA/81JvN0symDdQBvcrIvrUwbe+hq8e5 dxaWMfukKMH1hOa7MNy4TSXAjVbDWs+CFDNaDCd3G1+2fXl7RBu30pkldYqkOGgfjtmxA2 ULKsTY8YMLlCuGFG7XSLQ7vcHodX0SLzPbLaOfxbBT/jPKOxHJixEhNEwTf9nA== 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 4QVLxf1J3YzK7g for ; Mon, 29 May 2023 16:45:42 +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 34TGjgq4060500 for ; Mon, 29 May 2023 16:45:42 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34TGjge3060499 for gnome@FreeBSD.org; Mon, 29 May 2023 16:45:42 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www 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 16:45:42 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: new 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: dim@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: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter flagtypes.name Message-ID: 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 Bug ID: 271709 Summary: x11-toolkits/pangox-compat: fix build with clang 16 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: gnome@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(gnome@FreeBSD.org) Assignee: gnome@FreeBSD.org 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. --=20 You are receiving this mail because: You are the assignee for the bug.=