aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2024-11-08 15:35:45 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2024-11-08 15:35:45 +0000
commitda8138aa53e8f11947a37cef7eb2d874fd3370e6 (patch)
treee373a9125bd33e08f4a0c1705e3a59a21425bca1
parenta4be34bc81a30016a9a7eb22ae0509fb505775ee (diff)
downloadports-da8138aa53e8f11947a37cef7eb2d874fd3370e6.tar.gz
ports-da8138aa53e8f11947a37cef7eb2d874fd3370e6.zip
graphics/ogre3d19: fix build with libc++ 19
PR: 282527 Submitted by: dim
-rw-r--r--graphics/ogre3d19/files/patch-OgreMain_include_OgreUTFString.h15
1 files changed, 15 insertions, 0 deletions
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;