From nobody Sun Nov 27 15:03:11 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 4NKsKq2YG8z4j2gg; Sun, 27 Nov 2022 15:03:11 +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 4NKsKq21Jgz3pNQ; Sun, 27 Nov 2022 15:03:11 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669561391; 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=xhR99wFyzHmLBnXGjYz/uZcKxwQD4+EAsFd3O3b1iAg=; b=d9inUrlyGlGm2RrNpi4f4y1GQ/a4PIN6LOo0sJRDamfYEf082RvpXO7jT7wYBxfwbzz84D ZyEuU9xtd0RHmV0MsUt6e4BUWjJThQ+/fiRscHnkJ94lln614lYRr9Y0BULfKxLBpc8OKh UBXSH+0rHqx66b/GMn+9UP7pifjBfEyDMsPo+rQ7gSQ+VQ/TY/9IGjpITSr5RNdFhl2s51 Jtypdpklh6RYHqYDBzWYs30fSvaMBEx84jpuIn8R8UPWyMaxPImUaOu97yZYI9X+dI16oV MOrVSsK7/sNNye2yfmFMCmA21O1CMaYxX8Gtdq5uh5d/dlTl7jR7mOqU4l2NFg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1669561391; 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=xhR99wFyzHmLBnXGjYz/uZcKxwQD4+EAsFd3O3b1iAg=; b=CNAfusWq1LgXMWdvn0gSW6l+EYoS6PfteVtWfWLG499xTrXB4mMO8CQAV+eJlBLN18hcAc K+cvqe+mnPKMm4GMbOpH7bxF/ibQwbLpIxIJa2X3SWMI3d/6q3RPD2nGAPQFx9X3KTN+FZ NrF1Z0mydLvQ7pCfzHWHM8TMIWGdZQjY/R8hxrheSjZbuqPgOhzA6nhtob8HCi619Hfy4L /wowamMINRgxrbL2X03e2gI7KlKdZosQBe0BhRtCOXf3MemE7VnwIrQjvjkSSm7yQ2nx2t 86OW2f3+nH1Wx/pQzAhjF9EgDvnyXXUE3kT/F6nnYSlGYp0ZEnSWLiCiq6T9pQ== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1669561391; a=rsa-sha256; cv=none; b=Jjk2Nfwo/VtP5eTL+8b2QzoWO6Vqymq3vmt60YWA4/qSEo0QjkoMBBUp/MGMJVF6eYCyPV eu1I3Nh5uq4BNZ75eFvPFEJD3Fyjqjc+uTx0se7f588XqrId3UzxbTKCcCWfkk8hXiRkVK vMhRMzgNhTMAnnMFSrwXim38DgUg1aytmPuVXJ80CiQ4Clsc0oH/lT1OcSYGnxL8MK8pdD jhKsP4Y9fQWtPUM5SL273X8KYhmnB+EGJjR8iy00NL4pKNlTh35ae0uDgr4gk9JHj7wzNC Pm9fH8ITpyY9PxmE/wePFfE3eiRkz5IhabW71YxAJe3bTJEz8ypb3RnZRkwWeQ== 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 4NKsKq11x6z132w; Sun, 27 Nov 2022 15:03:11 +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 2ARF3B1l041440; Sun, 27 Nov 2022 15:03:11 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2ARF3BJ2041439; Sun, 27 Nov 2022 15:03:11 GMT (envelope-from git) Date: Sun, 27 Nov 2022 15:03:11 GMT Message-Id: <202211271503.2ARF3BJ2041439@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: b1292e723484 - main - editors/lite-xl: fix build on powerpc* 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: b1292e72348480bc37ac09d9d4f099462ce67eb4 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=b1292e72348480bc37ac09d9d4f099462ce67eb4 commit b1292e72348480bc37ac09d9d4f099462ce67eb4 Author: Piotr Kubaj AuthorDate: 2022-11-27 14:38:41 +0000 Commit: Piotr Kubaj CommitDate: 2022-11-27 14:38:41 +0000 editors/lite-xl: fix build on powerpc* --- editors/lite-xl/files/patch-src_main.c | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/editors/lite-xl/files/patch-src_main.c b/editors/lite-xl/files/patch-src_main.c index e4d075bd477b..bb491c8ac542 100644 --- a/editors/lite-xl/files/patch-src_main.c +++ b/editors/lite-xl/files/patch-src_main.c @@ -27,3 +27,14 @@ #else strcpy(buf, "./lite"); #endif +@@ -91,6 +98,10 @@ void set_macos_bundle_resources(lua_State *L); + #define ARCH_PROCESSOR "aarch64" + #elif __arm__ + #define ARCH_PROCESSOR "arm" ++ #elif __powerpc64__ ++ #define ARCH_PROCESSOR "ppc64" ++ #elif __powerpc__ ++ #define ARCH_PROCESSOR "ppc" + #endif + + #if _WIN32