From nobody Sun May 14 13:51:56 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 4QK3p42vtBz4Bk5l for ; Sun, 14 May 2023 13:51:56 +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 4QK3p41kLXz4CqM for ; Sun, 14 May 2023 13:51:56 +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=1684072316; 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=no5siAomH+yxin6e4r9PB73Zh4lwhDXnL3UBPDU3iNE=; b=PO/ljA0NvlFBw5tu3vs46rKCiFBCEUrrkdDaMAa5JW+nHwEQ7PJGqdwsRUfAsRfbkFEVYY kytReoYi1DP0iYxd+4VdxHlPXJXzUssk/fe5rl2sbWNsH/q4Yc/ntzVKf9sFGE2LFhuSDX 75Xy8jcgsfa2t2x3Xbw1dw/akL+Q+bKvhW4ffhVMlNIqIBOlyb3RlsC69dWvfNh0y41uof ivbV0swwlltJsewOmb+t5qvdVhChK9iKoGhBeXGazeu2+6MZxCJfQAQaVHVdCXHYL8B+zC jVVVHFEH8+R4D9ioAjwa4TyX7vgTjpumw2ZhUcER04gcLffmHZTpvIMYuwGChg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1684072316; a=rsa-sha256; cv=none; b=Kq/0vy0VkCZISWO1VR5B7ehWsyk5ON2LwYMVabiEx3fSDkjmXMnMJXXodp507+G7uPViBU L+cCy1puLa0/FvCjhrip2AlQpJuBMnsgDwRtbWpOKyxeT6BW5pzhuSW8xwjP67IIMC3ibQ K1WcCSaL+ByDho5A/gzxVB5dd2KhdieCxo0wy5t8jUy3DvyttFPWcNoeZLqa1mVq6D4Fay 6rPct76UPvR8YkdDNM+L3Uz9gKbaD6Hu1/JIBDYNd2dK/9oBKSdwf2/CXJgp3FaIe5G+Pt t2Zk+Tw3GZ+EBYHvX/wl+ZCYAAET+hXUmp75t/HMFODLtd0YD8KOetnbchLuuA== 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 4QK3p40kmwz11GN for ; Sun, 14 May 2023 13:51:56 +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 34EDpuOw058203 for ; Sun, 14 May 2023 13:51:56 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 34EDputa058202 for ports-bugs@FreeBSD.org; Sun, 14 May 2023 13:51:56 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 271413] textproc/xmlstarlet: fix build with clang 16 Date: Sun, 14 May 2023 13:51:56 +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: hrs@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=3D271413 Bug ID: 271413 Summary: textproc/xmlstarlet: 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: hrs@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: hrs@FreeBSD.org Flags: maintainer-feedback?(hrs@FreeBSD.org) Clang 16 has a new error about incompatible function types, which shows up when building textproc/xmlstarlet: src/xml_elem.c:271:27: error: incompatible function pointer types passing 'void (void *, void *, xmlChar *)' (aka 'void (void *, void *, unsigned char *)') to parameter of type 'xmlHashScanner' (aka 'void (*)(void *, void *, c= onst unsigned char *)') [-Wincompatible-function-pointer-types] xmlHashScan(uniq, hash_key_put, &lines); ^~~~~~~~~~~~ /usr/local/include/libxml2/libxml/hash.h:213:22: note: passing argument to parameter 'f' here xmlHashScanner f, ^ In this case, the libxml2 callback function requires a const xmlChar pointer, so fix the parameter in the definition. --=20 You are receiving this mail because: You are the assignee for the bug.=