From nobody Tue Apr 25 09:15:47 2023 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 4Q5GZD11H4z46vH3; Tue, 25 Apr 2023 09:15:48 +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 4Q5GZC4vJLz3rlv; Tue, 25 Apr 2023 09:15:47 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682414147; 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=cDWlIvkk4buQKJMkOCYcpgKjDXy92nqYue68dVDyXBU=; b=ytauFIXoaAECiLy/A28irMaT23MnqSeprIF8uSw4osiovSsX7qiEI1kDXbMngpI2tSFwjg D06UX/BWeXp1EyXAULse0SEzkzHA4Y2/lKuo/4iVPWtHTnHLtgsby0UyebFownPeloy5Mo cBecMKWxHzeSj7RzXPcwPAdipY4nhfR2whlUnT7/+5FJXoyrsWn+VHPuKPqI5YIam/niyU LaKcKDWVe3nPloiNV0jESzTQrLQGpof9VLFqIfK0O2KrxKwuMhFa0Aa2hKvRfY+CJGhRZn 6A2z3V3WO9441wImgyL+w09pf3Au6vJL3Gii/5dvPkyUikraunHkFLs5JjwM8w== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1682414147; 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=cDWlIvkk4buQKJMkOCYcpgKjDXy92nqYue68dVDyXBU=; b=FTMn7J+rxjvZ4iFmbIRocTRDUGIMWh0E+megBdc818Dnv+JMT1blk9Hya0S64rJ+3LkI5r 4dVhrpIsTKnwaS4LoOCqzebXmywOuyZA8VNuJHa3W156beQ6vQYpxzWKQEYi3MOBx04kY+ qsnl9oPKdYaH0+GoTsWoxxSTTugNwUHn3bcAfovDETOyoXyKTjbozYl62Ebz/cj+XwmhHY 7x8RZH80TDnxpA2roQLwammp/QF36/NpW0g07djae+w9gFjGJULrgtUYYbABKISiFbINeH 6z9rtdwh0WKKN9pRLBW6T/dIXSiT8vpSwLxg0C+aj9BLVEOBrOb5yqZBc+gpig== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1682414147; a=rsa-sha256; cv=none; b=OlxUrI8WG+G/HCh3eq9h9CSHeHG3lVoA3tk6FJs+1Bk7w760+MrI1bFfFFcwLdFoQ3kmT8 AVXV2qtm1t1F8yHGjy1YUWsAjKvm6tEQZAFwnYaaHxXspuWm5f7vFUYcr7zKJvFracqsXE /1waEr2N63jxj53eOIU6HMTkORnflmdMXIn3OBc2tZ8YfDBpXWjNdHDdVX8cS2D8eYUGEi 6Gm37CEPGQiE6lLFcM+vDmTAenBOWzEmxbTdWkJSnrPYvzUMrfVmnvfCl1HQvx2K7rqebT 3oGr0X5IPD7HbGRff7Ghx+glKXdBNioiOJKPVuiovNYJcBTxVyarvfcypIbSZA== 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 4Q5GZC40dlz12Dk; Tue, 25 Apr 2023 09:15:47 +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 33P9FlVC014184; Tue, 25 Apr 2023 09:15:47 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 33P9FlG1014183; Tue, 25 Apr 2023 09:15:47 GMT (envelope-from git) Date: Tue, 25 Apr 2023 09:15:47 GMT Message-Id: <202304250915.33P9FlG1014183@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 77eff838c2c3 - main - misc/silicon: fix build on ARM / POWER 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 77eff838c2c35bc1ee67fe824aa88ace83d7f9a4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=77eff838c2c35bc1ee67fe824aa88ace83d7f9a4 commit 77eff838c2c35bc1ee67fe824aa88ace83d7f9a4 Author: Piotr Kubaj AuthorDate: 2023-04-25 09:14:35 +0000 Commit: Piotr Kubaj CommitDate: 2023-04-25 09:15:31 +0000 misc/silicon: fix build on ARM / POWER error[E0308]: mismatched types --> src/hb_wrapper.rs:17:17 | 16 | hb_feature_from_string( | ---------------------- arguments to this function are incorrect 17 | tag.as_ptr() as *const i8, | ^^^^^^^^^^^^^^^^^^^^^^^^^ expected `u8`, found `i8` | = note: expected raw pointer `*const u8` found raw pointer `*const i8` --- misc/silicon/files/patch-src_hb__wrapper.rs | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) diff --git a/misc/silicon/files/patch-src_hb__wrapper.rs b/misc/silicon/files/patch-src_hb__wrapper.rs new file mode 100644 index 000000000000..9380bc9b5786 --- /dev/null +++ b/misc/silicon/files/patch-src_hb__wrapper.rs @@ -0,0 +1,28 @@ +--- src/hb_wrapper.rs.orig 2023-04-25 09:08:05 UTC ++++ src/hb_wrapper.rs +@@ -6,6 +6,7 @@ use font_kit::loaders::freetype::NativeFont; + // use harfbuzz for shaping ligatures + pub use harfbuzz::*; + use harfbuzz_sys as harfbuzz; ++use std::os::raw::c_char; + use std::mem; + + /// font feature tag +@@ -14,7 +15,7 @@ pub fn feature_from_tag(tag: &str) -> Result