From nobody Fri Oct 22 12:09:21 2021 X-Original-To: dev-commits-ports-all@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 52358181E7B7; Fri, 22 Oct 2021 12:09:25 +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 4HbNSN1HKJz4Rxd; Fri, 22 Oct 2021 12:09:24 +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 7FFC862BB; Fri, 22 Oct 2021 12:09:21 +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 19MC9Lek099195; Fri, 22 Oct 2021 12:09:21 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 19MC9Let099194; Fri, 22 Oct 2021 12:09:21 GMT (envelope-from git) Date: Fri, 22 Oct 2021 12:09:21 GMT Message-Id: <202110221209.19MC9Let099194@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: 4ccaa8c49329 - main - security/samhain: fix build on powerpc64 List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@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: 4ccaa8c493292a2e476bba44a144f959a8540495 Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=4ccaa8c493292a2e476bba44a144f959a8540495 commit 4ccaa8c493292a2e476bba44a144f959a8540495 Author: Piotr Kubaj AuthorDate: 2021-10-22 11:42:49 +0000 Commit: Piotr Kubaj CommitDate: 2021-10-22 11:42:49 +0000 security/samhain: fix build on powerpc64 x_sh_dbIO.c:229:36: error: initializer element is not a compile-time constant static unsigned short ooop = *iptr; --- security/samhain/files/patch-src_sh__dbIO.c | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/security/samhain/files/patch-src_sh__dbIO.c b/security/samhain/files/patch-src_sh__dbIO.c new file mode 100644 index 000000000000..0b8e77bd5e97 --- /dev/null +++ b/security/samhain/files/patch-src_sh__dbIO.c @@ -0,0 +1,12 @@ +--- src/sh_dbIO.c.orig 2021-10-22 01:34:14 UTC ++++ src/sh_dbIO.c +@@ -226,7 +226,8 @@ static unsigned short * swap_short (unsigned short * + else + { + /* alignment problem */ +- static unsigned short ooop = *iptr; ++ static unsigned short ooop; ++ ooop = *iptr; + unsigned short hi = (ooop & 0xff00); + unsigned short lo = (ooop & 0xff); + ooop = (lo << 8) | (hi >> 8);