FreeBSD Bugzilla – Attachment 235440 Details for
Bug 265405
graphics/bonzomatic: fix build on armv6 armv7 arm64
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
graphics/bonzomatic: fix build on armv6 armv7 arm64
0001-graphics-bonzomatic-fix-build-on-armv6-armv7-arm64.patch (text/plain), 1.27 KB, created by
Robert Clausecker
on 2022-07-23 17:10:53 UTC
(
hide
)
Description:
graphics/bonzomatic: fix build on armv6 armv7 arm64
Filename:
MIME Type:
Creator:
Robert Clausecker
Created:
2022-07-23 17:10:53 UTC
Size:
1.27 KB
patch
obsolete
>From 642da51a0df9bd670a0222611bfc3aebedd6c218 Mon Sep 17 00:00:00 2001 >From: Robert Clausecker <fuz@fuz.su> >Date: Sat, 23 Jul 2022 18:57:31 +0200 >Subject: [PATCH] graphics/bonzomatic: fix build on armv6 armv7 arm64 > >Add a missing cast the compiler was complaining about. >--- > graphics/bonzomatic/files/patch-src_main.cpp | 11 +++++++++++ > 1 file changed, 11 insertions(+) > create mode 100644 graphics/bonzomatic/files/patch-src_main.cpp > >diff --git a/graphics/bonzomatic/files/patch-src_main.cpp b/graphics/bonzomatic/files/patch-src_main.cpp >new file mode 100644 >index 000000000000..92fc12ac2280 >--- /dev/null >+++ b/graphics/bonzomatic/files/patch-src_main.cpp >@@ -0,0 +1,11 @@ >+--- src/main.cpp.orig 2022-07-08 20:07:06 UTC >++++ src/main.cpp >+@@ -503,7 +503,7 @@ int main( int argc, const char * argv[] ) >+ if ( !consumed && Renderer::keyEventBuffer[ i ].character ) >+ { >+ char utf8[ 5 ] = { 0,0,0,0,0 }; >+- wchar_t utf16[ 2 ] = { Renderer::keyEventBuffer[ i ].character, 0 }; >++ wchar_t utf16[ 2 ] = { static_cast<wchar_t>(Renderer::keyEventBuffer[ i ].character), 0 }; >+ Scintilla::UTF8FromUTF16( utf16, 1, utf8, 4 * sizeof( char ) ); >+ mShaderEditor.AddCharUTF( utf8, (unsigned int) strlen( utf8 ) ); >+ } >-- >2.35.2 >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Flags:
fuz
:
maintainer-approval?
(
amdmi3
)
Actions:
View
|
Diff
Attachments on
bug 265405
: 235440