From nobody Sun Dec 12 18:41:30 2021 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 C42C918CF6FF; Sun, 12 Dec 2021 18:41:30 +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 4JBtlG3sQjz3p6n; Sun, 12 Dec 2021 18:41:30 +0000 (UTC) (envelope-from git@FreeBSD.org) 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 669A625FC7; Sun, 12 Dec 2021 18:41:30 +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 1BCIfU1j003609; Sun, 12 Dec 2021 18:41:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 1BCIfU1P003608; Sun, 12 Dec 2021 18:41:30 GMT (envelope-from git) Date: Sun, 12 Dec 2021 18:41:30 GMT Message-Id: <202112121841.1BCIfU1P003608@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: 6bcd9d2f051d - main - x11-wm/leftwm: fix build on powerpc*, probably also 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 6bcd9d2f051da55e897d17ad5add3c91268faa4f Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1639334490; 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=gTNvWfCe09Xtw1vD7Lu/+thJyqL7OkR1fFVlcV3XM3k=; b=NAPMnlK8zQFVLYNSfM8JgoQ4wXk4KFh8ybCSVMjdt/sNtNyIAsie7JQ3pyWlyBwRptApkO 3jB6XWfe79fxNS1aTyVKMWwRK+LOyMY7fVEICCfgsg8xIHLOgaEqC1WwFzr+8qQ5NZTrgA OYQ5f60r6suWoaNZc0XCs4XSTS+cg4Fu4ycTCDrOHISTVB5RW0DrjCxrxj100TveKC4vXn ivtxO0ENYoVeKlRQsGS4ZCCMS6mEHypL3xOdXPzbxYusnA2PDnc8tGagX2RV/tvOqYMxs2 +TPE8RxEK6/I73PWSCATh4XELezqW1wZQis3HnVXuafZs22pdEWOvDZ4gvc0Aw== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1639334490; a=rsa-sha256; cv=none; b=rScbdLheFUqJu3Avx8SAdhTQ71OAqVYrLH4NHjTh/pOjHt4RH9g62pYGxRRmUK5Jro3sCG xIURbeFRizhPa3NDWvSiPDqqiBsCuru6FfqXAYqt9dIzSNzlmU2hOKaJ+0kCyErPSdCKHH S9JHyRPlJvyjQdFS8fD4NquuM27Oc9iVyZm0NWJFYgJznaRz83k3GFWZ3yfqdrdtDKrMof 15s03s1T7hy0d1VPe8N05XvZwcyPaj98QTqTi9xsNwEzhAlu8e5HNM6XkdfsxEqYeeaOvw XZWlyhoqR/hlVg6nto/IVL9FsVMU9VYZDFJfrjM6wkPGcedPjxWfT1qCNDzaEQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=6bcd9d2f051da55e897d17ad5add3c91268faa4f commit 6bcd9d2f051da55e897d17ad5add3c91268faa4f Author: Piotr Kubaj AuthorDate: 2021-12-12 18:36:11 +0000 Commit: Piotr Kubaj CommitDate: 2021-12-12 18:36:11 +0000 x11-wm/leftwm: fix build on powerpc*, probably also arm* char is unsigned on powerpc*. --- ...rc_display__servers_xlib__display__server_xwrap_getters.rs | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/x11-wm/leftwm/files/patch-leftwm-core_src_display__servers_xlib__display__server_xwrap_getters.rs b/x11-wm/leftwm/files/patch-leftwm-core_src_display__servers_xlib__display__server_xwrap_getters.rs new file mode 100644 index 000000000000..9b88f79804b0 --- /dev/null +++ b/x11-wm/leftwm/files/patch-leftwm-core_src_display__servers_xlib__display__server_xwrap_getters.rs @@ -0,0 +1,11 @@ +--- leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs.orig 2021-12-12 17:42:31 UTC ++++ leftwm-core/src/display_servers/xlib_display_server/xwrap/getters.rs +@@ -575,7 +575,7 @@ impl XWrap { + if status == 0 { + return Err(XlibError::FailedStatus); + } +- if let Ok(s) = CString::from_raw(text_prop.value.cast::()).into_string() { ++ if let Ok(s) = CString::from_raw(text_prop.value.cast::()).into_string() { + return Ok(s); + } + };