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 4QVLxf5fXwz4Y3W9 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 4QVLxf0zSwz3yH5 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: in-reply-to:in-reply-to:references:references; bh=4zdOC9ZuqxBmLisANoKo5YqB0nTqPKBWXR0U5D8CkOg=; b=esgVgz5DrjpLaaLKpy/oiL1VTqxET3XBCUJlJD/Fsiv8XZDHYx1e/xL3LGRddAPZrY9fZV Wk/A5ykzmkNQsUnzv+4CiwKCeAjZc3J3g3X4RnQri86k/6Ag+m0lsQGS3Bxi3AqE6IBJ7O jjGMTq8UIL0iY+DtqHBrzIyKqfRfa1qAtKXMzBzeP3f7+TgRGDoXo3++jE4XJuHapBbis8 J5ivlBMX2oLehLSX/+gWZBbRZ4h+slQCDXvdiYRvuhJltwRce7R/Tcj1qzkL9tZcDrrtbm 9nRTRLHTK+jvOUuud8dpG2y2N8V3/zJYtoIU5TtXSz7NmKNJHNEZMuzkfFwZGA== 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=X7FCsu5ffekiNxlPgO2i1CPtRWTljKprdpFDCSdo2tsimk2MdXHQgS55od5y78ZbT1/Bmo JRfTfPulOEKa+KE1dumpEFQJ9KlOAJ/dAgMeLAz+t8bq0yutL287N+d6+6gIvEe2cd0UuM 1O+en7uiGG52IYcfuDjp5Zlb0h4aOOd5lAGieapMYjLVK9/s9H6wspwDxJDV9f/NH3VUD1 4pBTuzRW5UxzNwDGRoRjhdwaNi+S7WGmjZNNgxyeLpTZD4NFJskks9Q9y0Eq/HLDclTbHw AneUerfwWSD7mNWeYjDu1VX+m2StSwKm3LRZndFPagvEXe2cwmv7rEUgRTrIOw== 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 4QVLxf03GqzK05 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 34TGjf6k060496 for ; Mon, 29 May 2023 16:45:41 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34TGjfJS060495 for gnome@FreeBSD.org; Mon, 29 May 2023 16:45:41 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="UTF-8" From: bugzilla-noreply@freebsd.org To: gnome@FreeBSD.org Subject: maintainer-feedback requested: [Bug 271709] x11-toolkits/pangox-compat: fix build with clang 16 Date: Mon, 29 May 2023 16:45:42 +0000 X-Bugzilla-Type: request 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: X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: gnome@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback? Message-ID: In-Reply-To: References: 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 Bugzilla Automation has asked freebsd-gnome (Nobody) for maintainer-feedback: Bug 271709: x11-toolkits/pangox-compat: fix build with clang 16 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D271709 --- Description --- 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.