From nobody Fri Aug 12 12:29:23 2022 X-Original-To: dev-commits-ports-main@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 4M42zl3Vf5z4Z28m; Fri, 12 Aug 2022 12:29:23 +0000 (UTC) (envelope-from git@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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4M42zl2ySbz3WWb; Fri, 12 Aug 2022 12:29:23 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660307363; 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=alDUUpav2rsQByvY2JwzeNsEctotYM3m5Bi7aDUeV20=; b=o0XzsOWrROAMD9CHv9VOntC7lB+qqFRrcifLNuaXC/GA8jbVZt3xpfRmayMUAqDcXxFryg Tt83ImFRskv1p9vNEU0lZHnu5aYXowZmp6/31li4wSD24394mxfG6/ct7kzQf2sVdfP7Wb OcNFiEhMNE3GT+J+Rn0IRngsnMgOwsK2kjWuyTanE9tG4QAQmk7+ba6LHnkSn3IrP4fGj5 qfFMDNkRjpG0v+jAji+JPiU7rwWa4epTwJUECkxgn6FBqvjHx3W1esgfHW5dpjrKMKfh3g IHmsDFVfla0ZD6P5ErLWEF1S1P8UkY/ncpQmV5k+SREIMU/cldUv1zKFV5YXuA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 4M42zl1z79zWWx; Fri, 12 Aug 2022 12:29:23 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 27CCTNk4084348; Fri, 12 Aug 2022 12:29:23 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 27CCTNMC084347; Fri, 12 Aug 2022 12:29:23 GMT (envelope-from git) Date: Fri, 12 Aug 2022 12:29:23 GMT Message-Id: <202208121229.27CCTNMC084347@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Dmitry Marakasov Subject: git: a811d270e825 - main - graphics/bonzomatic: fix build on arm* List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a811d270e8259c51e78878a2f04f962555f9cf90 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1660307363; 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=alDUUpav2rsQByvY2JwzeNsEctotYM3m5Bi7aDUeV20=; b=RVzxjMmIm/xaCg5L5L5S9UMfhsZ5aqlP8i6bWeuuSNdppR9TdsEirLVDAqN5y63yGUV9SI pzTqSpEoIeGKt4gcf9Ct3p7uqNuQ/xoYeCSuv8rIRj4cVLOL+kmGiA4spr1mTwIjHivrf/ gO1k/3AX/pvSIfaZTSJ3FXksKb8rUtGrKpxRoE3v425kMMppz2wGo8OpfXNNAARjuvq7H1 81EJEjprv2/O3/AroZmjR9cP/DZ8zPmz2j1xuQo+6Eu5SBW/9Gll2Yc6TXkUozqe2T/iUQ SJE0khoegvy6+wVdElQUnYHbyYlZ2yXSFn5DTMWO7aV81J+4D5PfeD4FrzY3Sg== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1660307363; a=rsa-sha256; cv=none; b=lyugdg/13E/5huYZQ443+sV6riOeU2/9AVi3ZWDuRJag/HHssWm8CLqs7t00ULKHJcdavr 2db8XkjlEEJZDjgpHnOFO0mO/BP5H8UmoE7QzsJzKLni1ZpSMxHBdkGmC7mZeBAVbELjcV PKhs/LUdazp/GRyyoJHdF74BZ4fLHyvQ1hWvxJBHVyjq6+gS0biI11OxhykouIDoeqRQ1W Q8WX112bDhiITr0DCd2TIeASovMor7sE7vmbP9Aa2OlwtiTk0K8T4t5kY0ScArtKg+sSrv rKy+YW1tUAF/3TNItjaBW+7+xfw9kB9JL/qhuDgdBIEDy1nM/GCNsWJ60zNIxQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=a811d270e8259c51e78878a2f04f962555f9cf90 commit a811d270e8259c51e78878a2f04f962555f9cf90 Author: Dmitry Marakasov AuthorDate: 2022-08-12 12:23:12 +0000 Commit: Dmitry Marakasov CommitDate: 2022-08-12 12:23:50 +0000 graphics/bonzomatic: fix build on arm* PR: 265405 Submitted by: fuz@fuz.su --- graphics/bonzomatic/files/patch-src_main.cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) 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(Renderer::keyEventBuffer[ i ].character), 0 }; + Scintilla::UTF8FromUTF16( utf16, 1, utf8, 4 * sizeof( char ) ); + mShaderEditor.AddCharUTF( utf8, (unsigned int) strlen( utf8 ) ); + }