From nobody Fri May 19 20:35:20 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 4QNJWD5Bz7z4CLcL for ; Fri, 19 May 2023 20:35:20 +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 4QNJWD4BYgz3Q22 for ; Fri, 19 May 2023 20:35:20 +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=1684528520; 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=cbBe3DCyzkoO6aQnypVdUP8zcrb0+8BZlT17/q3bmHw=; b=TRGU/Q4ZjYPo5Fsl+oIKL1PcJozRteqgsrcKL5S78UvcQ+lTAZnHVBGbJmLyzsg16ZqLzw EMmYKsmV/0sXVASwQGc68Qb281cegvLzYENLp5AmUJQj0Qk40wOe2eUm51STBrRDdP5GIj EfZOJhvIwOsqy5PRQCCueG/eBFgOoY16UCD3KDykdWkf6naq/ig2vZ3C/YDZoWc9riCHad zjVNhR3S9x2pZx4cgOxvoHCknU1lxVGgj/US2i3Y5qndkWem8pWalO3NE/gzOXA+Do90nM jMxDZJbj1yDXJUOEUopcFo36FfWV4/m4NAKUUfykQNXqQrgE4ZtadHpcpxUhvQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684528520; a=rsa-sha256; cv=none; b=ve5P4Bjgj3J9ykonYPdkDSK9zt8CSet9dGy/GhgF3Tlx60tIiuvblz/1W0afnMvlxsQN/K 3uV+8I8R5J4qiFB/vxU9F39aTIu9D1wuHxbh6cVtgN6ck71JL22bPlEaCL26osn4Sps3hW zfQP1dQuwvueTidNp54YQNDDsjw346Q9wAvN8pYrEwRq0JubeuyTl27N58l0evGKQ6pMZA dxGqVbra7+FkbVeuPaTpTPl2LsorBbPMOgW5ejgqq10moGwp9hvPdMzJoPBw0HrELxSBDy AW+YAjQuUZc8eeqdScwK6XHYb0/baC+Zc305zlW6XVEyL4EqD5J7b17IRAXJMA== 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 4QNJWD3GJkzj7s for ; Fri, 19 May 2023 20:35:20 +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 34JKZKHR064133 for ; Fri, 19 May 2023 20:35:20 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34JKZKDF064132 for ports-bugs@FreeBSD.org; Fri, 19 May 2023 20:35:20 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 271521] x11-toolkits/p5-Tk: fix build with clang 16 Date: Fri, 19 May 2023 20:35:20 +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: pi@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: 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=3D271521 Bug ID: 271521 Summary: x11-toolkits/p5-Tk: 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: pi@FreeBSD.org Reporter: dim@FreeBSD.org Flags: maintainer-feedback?(pi@FreeBSD.org) Assignee: pi@FreeBSD.org Clang 16 has a new error about incompatible function types, which shows up when building x11-toolkits/p5-Tk: ./Xlib.t:334:14: error: incompatible function pointer types initializing 'KeySym (*)(Display *, unsigned int, int)' (aka 'unsigned long (*)(struct _XDisplay *, unsigned int, int)') with an expression of type 'KeySym (Displ= ay *, KeyCode, int)' (aka 'unsigned long (struct _XDisplay *, unsigned char, int)') [-Wincompatible-function-pointer-types] VFUNC(KeySym,XKeycodeToKeysym,V_XKeycodeToKeysym,_ANSI_ARGS_((Display *, unsigned int, int))) ^~~~~~~~~~~~~~~~ Indeed, the XKeycodeToKeysum function takes a 'KeyCode' as its second parameter. Patch Xlib.t to make it so. --=20 You are receiving this mail because: You are the assignee for the bug.=