From nobody Thu Jun 15 19:37:47 2023 X-Original-To: ports-bugs@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 4QhsyN0Vmdz4dFMX for ; Thu, 15 Jun 2023 19:37:48 +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 4QhsyM5Wwgz3r3f for ; Thu, 15 Jun 2023 19:37:47 +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=1686857867; 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=PQHomF8fQbJvwRJnVzmVoFXyCu/TBtWGovcVD1fvtlg=; b=G73fYZYVVxF628CximQUnSvuagZAsrZ2RYXdyuL0qrChs5vjpli5nhGr2/SSSmyBORyhEh mHwZJ0ODBGmCelQPDauoAw5vILS+TmdWQjSmSZ/MALML99OmB1GFKN7YwguABfa7i1PTJ7 qQpA1gNrhmOMZ2/Qj2l8H08AA8WcOig4qzGRCxmlMcMadnSyjDkpEZ1kbKMGsKXIJBhd83 Ivp9EoijbfVY6OaqlLyMnvK+VopOpx1+/z9GzEd/9AU+ECaJZSN7wk0yKXyJ7LxJG/TuWc C8kvcChpIxpXewKyeex9/dKbrG+AFYbZAE6KMe0fQDg00go1vu+ULh9nX/BLyA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1686857867; a=rsa-sha256; cv=none; b=skQGt/z8JWmbhhFZi5prdmeSZKRIHIWvXYNLuZPJ6wIIoV1ncTZ6DZHLqxf0QOB5gCTeii UIw2BOQYivqLfT4QXxwx72IVE2vD6pi3PdVLNnYTzsIx1hJXZQ0WnUfRPMFQ+i21qAvxLM k5WkherBJthiat0240NSEnndrs3sqNZinVESx0FNlV3obFXon4bg7UnmOvE8cry9sSzpMq ufeq1fnCtv3JjQh052lwjMsaL2iwMTAwCTrgctggpIJ9NQjd5jMtJprXEezuWN4jVcABiw tJfYWyOhvxuTVrJFwNjNs2kroQtkdeWRjeHgYEvZr42ZIKzIYrYH4A4ePNLxog== 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 4QhsyM4bhrzyY4 for ; Thu, 15 Jun 2023 19:37:47 +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 35FJblRK004881 for ; Thu, 15 Jun 2023 19:37:47 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 35FJblBm004880 for ports-bugs@FreeBSD.org; Thu, 15 Jun 2023 19:37:47 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: ports-bugs@FreeBSD.org Subject: [Bug 272019] graphics/ocaml-lablgl: fix build with clang 16 Date: Thu, 15 Jun 2023 19:37:47 +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: ports-bugs@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version rep_platform op_sys bug_status bug_severity priority component assigned_to reporter 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: Ports bug reports List-Archive: https://lists.freebsd.org/archives/freebsd-ports-bugs List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-ports-bugs@freebsd.org X-BeenThere: freebsd-ports-bugs@freebsd.org MIME-Version: 1.0 X-ThisMailContainsUnwantedMimeParts: N https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D272019 Bug ID: 272019 Summary: graphics/ocaml-lablgl: 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: ports-bugs@FreeBSD.org Reporter: dim@FreeBSD.org Clang 16 has a new error about incompatible function types, which shows up when building graphics/ocaml-lablgl: togl.c:820:26: error: incompatible function pointer types assigning to 'v= oid (*)(Tk_Window, Tk_ClassProcs *, ClientData)' (aka 'void (*)(struct Tk_Windo= w_ *, struct Tk_ClassProcs *, void *)') from 'void (Tk_Window, const Tk_ClassP= rocs *, ClientData)' (aka 'void (struct Tk_Window_ *, const struct Tk_ClassProcs= *, void *)') [-Wincompatible-function-pointer-types] SetClassProcsPtr =3D Tk_SetClassProcs; ^ ~~~~~~~~~~~~~~~~ This is because Tk_SetClassProcs() now takes a const Tk_ClassProcs pointer as its second parameter. Fix the SetClassProcsPtr declaration to match. --=20 You are receiving this mail because: You are the assignee for the bug.=