git: da8138aa53e8 - main - graphics/ogre3d19: fix build with libc++ 19
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 08 Nov 2024 16:07:03 UTC
The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=da8138aa53e8f11947a37cef7eb2d874fd3370e6 commit da8138aa53e8f11947a37cef7eb2d874fd3370e6 Author: Dmitry Marakasov <amdmi3@FreeBSD.org> AuthorDate: 2024-11-08 15:35:45 +0000 Commit: Dmitry Marakasov <amdmi3@FreeBSD.org> CommitDate: 2024-11-08 15:35:45 +0000 graphics/ogre3d19: fix build with libc++ 19 PR: 282527 Submitted by: dim --- .../ogre3d19/files/patch-OgreMain_include_OgreUTFString.h | 15 +++++++++++++++ 1 file changed, 15 insertions(+) diff --git a/graphics/ogre3d19/files/patch-OgreMain_include_OgreUTFString.h b/graphics/ogre3d19/files/patch-OgreMain_include_OgreUTFString.h new file mode 100644 index 000000000000..d621de049b5d --- /dev/null +++ b/graphics/ogre3d19/files/patch-OgreMain_include_OgreUTFString.h @@ -0,0 +1,15 @@ +--- OgreMain/include/OgreUTFString.h.orig 2013-12-01 17:28:12 UTC ++++ OgreMain/include/OgreUTFString.h +@@ -188,10 +188,10 @@ namespace Ogre { + static const size_type npos = static_cast<size_type>(~0); + + //! a single 32-bit Unicode character +- typedef uint32 unicode_char; ++ typedef char32_t unicode_char; + + //! a single UTF-16 code point +- typedef uint16 code_point; ++ typedef char16_t code_point; + + //! value type typedef for use in iterators + typedef code_point value_type;