From nobody Thu Nov 21 23:10:34 2024 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 4XvYqZ1dnnz5dk4N for ; Thu, 21 Nov 2024 23:10:34 +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 "R10" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4XvYqY6mWWz4P0k for ; Thu, 21 Nov 2024 23:10:33 +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=1732230634; 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=9LV2CBljoIo9u1p+HYjASvWAYR0+0cD9twuWAPlB4f0=; b=gvCx5IUDhraQp+wOddzf5XSgd6QsDRRs8aXpaX69trUDvXXJf1vlI1lpQZLBp0ObUwmUjX fqn9WPxvtWVJf/NF9hh5pM0oy5897T0ywe5euobt+Q2ryF9aiVmtlUNNspmeDAaLHYiz9m JnrBe50gHIWMzPGtcyDtR+GwtVcONU4y0ThlhxdrF3rAj3yb2Z7ZiDBlEoyNhEGwKFbvpA CYKn+kDFPqNf60FgMf/f00rXsDCWBMLaDSjj1ODlVyKsLBCpvvKTq9RklfDAgHw6ZL1jF0 GuK8bYy7oOEW3hXDV2yDwV9GPpG997ODPgGNbf6jkUfacEMTjfaapKwMR8A+Nw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1732230634; a=rsa-sha256; cv=none; b=LnNYk6hgRGyQ1M2NWwAWebT6FlK85nh/c8GWTxn/sB4Pxew8f8a2/6ujJKCuPdZigd6+Cv UjicKV9iQ1UHNBJggZG4Pug9wq4SynGWbUOrgbl99kbLPPywgQaDklACWyE2rZiPngomfF yvO0fCZHDTk9TRzroBP1ZEn5iKZratiue0odYuKzbNX8jICFri+y21AcCL4nC93kgyYBZ5 oWYTBqvbb/0YdJviTx40BMEDJvROu97dTphRk/YEE+r3jppF7yPwT7BRq1qzxcc72Pm6S2 kAGszfiVaHKdb0tyMDzUYC4A+tGBm4AtbC4Ipm1gUyRNFGQ+IhfMNgw80TwysA== 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 4XvYqY6My0z10Mp for ; Thu, 21 Nov 2024 23:10:33 +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 4ALNAXIi097128 for ; Thu, 21 Nov 2024 23:10:33 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from bugzilla@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4ALNAX7m097127 for ports-bugs@FreeBSD.org; Thu, 21 Nov 2024 23:10:33 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: bugzilla set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 282645] graphics/povray37: fix build with libc++ 19 Date: Thu, 21 Nov 2024 23:10:34 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed 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: commit-hook@FreeBSD.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: ports-bugs@FreeBSD.org X-Bugzilla-Flags: maintainer-feedback+ X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: 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: X-BeenThere: freebsd-ports-bugs@freebsd.org Sender: owner-freebsd-ports-bugs@FreeBSD.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D282645 --- Comment #3 from commit-hook@FreeBSD.org --- A commit in branch main references this bug: URL: https://cgit.FreeBSD.org/ports/commit/?id=3D6133473e4227abbfcf023bea6ab5eee= d9c17e55b commit 6133473e4227abbfcf023bea6ab5eeed9c17e55b Author: Dimitry Andric AuthorDate: 2024-11-09 12:04:23 +0000 Commit: Dimitry Andric CommitDate: 2024-11-21 23:06:15 +0000 graphics/povray37: fix build with libc++ 19 As noted in the libc++ 19 release notes [1], std::char_traits<> is now only provided for char, char8_t, char16_t, char32_t and wchar_t, and any instantiation for other types will fail. This causes graphics/povray37 to fail to compile with clang 19 and libc++ 19, resulting in errors similar to: /usr/include/c++/v1/string:820:42: error: implicit instantiation of undefined template 'std::char_traits' 820 | static_assert(is_same<_CharT, typename traits_type::char_type>::value, | ^ ./base/configbase.h:159:19: note: in instantiation of template class 'std::basic_string' requested here 159 | inline UCS2String ASCIItoUCS2String(const char *s) | ^ /usr/include/c++/v1/__fwd/string.h:23:29: note: template is declared = here 23 | struct _LIBCPP_TEMPLATE_VIS char_traits; | ^ This can be fixed by defining `POVMSUCS2` as `char16_t` instead of `unsigned short`, `UCS2` as `char16_t` instead of `unsigned short`, and `UCS4` as `char32_t` instead of `unsigned int` in the passed-in `CPPFLAGS` variable. Also, patch up `vfe.cpp` and `vfeconf.h` to use `char16_t` and `u16string` instead of the non-standard types. [1] https://libcxx.llvm.org/ReleaseNotes/19.html#deprecations-and-remov= als PR: 282645 Approved by: bsd@philippost.de (maintainer) MFH: 2024Q4 graphics/povray37/Makefile | 3 +++ graphics/povray37/files/patch-vfe_vfe.cpp (new) | 26 +++++++++++++++++++= ++++ graphics/povray37/files/patch-vfe_vfeconf.h (new) | 19 +++++++++++++++++ 3 files changed, 48 insertions(+) --=20 You are receiving this mail because: You are the assignee for the bug.=