From nobody Sat Nov 9 12:04:06 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 4Xlvc74np7z5c3G4 for ; Sat, 09 Nov 2024 12:04:07 +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 4Xlvc73nSwz4q4L for ; Sat, 9 Nov 2024 12:04:07 +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=1731153847; 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=Zfd7ikM4WyzGVoeOwIsC7kH4cNmmfTz6fZ6Z7TvR8u8=; b=uo87DmT3jSMc/d6xVQZGM19b9AN5V2GhCxahe6dtJjt/uVzHvwztDLsA8vBFXn4jREQ0yC S1xtEUaEdjKsGiTJZp0MIf2N34ah4dRT3NO0g59CO5R8FSnsEoUYZuqp9BOPDnMJgI+8f0 /mPKU2/AuYu1LdbEXGxV0UAfCOQaDdukGD4NQq0W/TgWGhJgYQVCYelURrHXxn/HPhaOUv J4PjHgoJ+Me/X6GGbzXNAEkKd7gjCu3WOqQlONV3yj/5vZuMlr/UeI4zctP37WvP4c3usP S/6Qi9LkoL5enCWB86m1TVv40ZXVDbC0sGBVpm73v89BQbK3b9i5iHrzp0p9fg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1731153847; a=rsa-sha256; cv=none; b=INC1W6mp2ASCx+yR5+oqUgMbFdHvXt9QwBCE0oA+bsRsxjzSmPOCOx0X9zFc21DxD3cykz 7xn2cUqQ3MCbeB5vHdUXx9JfsdiErbSViKFskFzvkUOx9wLOoMpSQDkpyn+0FwJv1an6iO isx6n/O5XHVHbzuZ31glYq46kSvk1QtTXtpxhpqJPzVNsbTydg+jY2zNwxs5wln1d2ny97 uhSVq8vWFoHPvBqL5KOWkyNM7jFlTqAWIC8BCZGGeoKR//bp9KaqXO9oHC5ctgeZD/neXZ mEaVp8TmLivAJGwewuJcQYQrfYnWrNEDuEz5QUZPuc1A4n8USM7Fy9CUIarW8Q== 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 4Xlvc73PNPz1CRl for ; Sat, 9 Nov 2024 12:04:07 +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 4A9C47jw016527 for ; Sat, 9 Nov 2024 12:04:07 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 4A9C47Iq016526 for ports-bugs@FreeBSD.org; Sat, 9 Nov 2024 12:04:07 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 282645] graphics/povray37: fix build with libc++ 19 Date: Sat, 09 Nov 2024 12:04:06 +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: 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 cc 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: 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 Bug ID: 282645 Summary: graphics/povray37: fix build with libc++ 19 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 CC: bsd@philippost.de Flags: maintainer-feedback?(bsd@philippost.de) CC: bsd@philippost.de 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 undef= ined 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-removals --=20 You are receiving this mail because: You are the assignee for the bug.=