From nobody Sun Jul 16 00:05:25 2023 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 4R3QTK3rjMz4myNT; Sun, 16 Jul 2023 00:05: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 4R3QTK3GKMz4csv; Sun, 16 Jul 2023 00:05:25 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689465925; 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=YBidD4SXjXZSXiPX0E93VE4acXFcJ45+VUA4SJQnPmQ=; b=KMd7VkPWf4PRrEuNSvU+FNQ7oh9aOSTtiF/OQTxIOWsFQoxkKcTSMdMFfRknHEHMS6l2My mDaj/7bBTeenpvhFvT2TIkqmYvEGiOszks6UYVAWAPnOsMZQRSNuh02IFNrVyliCImHToy QJtc7uWH6qYp5snFsUUL1Bmetk55+kRnlwJtn28WVgAgXOXc/50nP+D7F1Fwd1q4fUmOr4 tD8cfHa/gDNEFJ7tYudgxN2inZbIY0FGmdrXs4d/mDx/ZrMWLWAdLU0d+0juhOQVdDVP6O ter6mOwBGg0TE0Bhcrt4mLvfjv10/r+oldwE/cbrXlf7ZecqRlKPz9wXt/S6aQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689465925; 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=YBidD4SXjXZSXiPX0E93VE4acXFcJ45+VUA4SJQnPmQ=; b=epdbNXmgYam0Fd8QqFDQ+LnFWQXDxTWRr/s1NJgvtiNhTlKCbZQBHsh+ItseosFbkBVp6S 219h9ugM5oHjP68Jyuwb3XLTi152HnACk532rvxeowDqbMY2P0pojrmlc7fzj5qONUgFnM FM/Gpip4WW+U4vEP0GUdWmEwvBm89+DC033dTchostu9eACTmEaf7sr4JWaSIj/sSRtfUI hZiSASKx3imAZyZn9SQ+fz3iwO1O91ROg30SEvBfDIEMQdia0UGdexUX7Kx4KNKTb3u8CV o37s3utnVG6Ph2f4LAkupP11cEYKSBOLUWSDlfz4KTnOeYD7uge0ozPosYZxFA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689465925; a=rsa-sha256; cv=none; b=ii4K5602FgDsL/77yy+uHRLnIdADdXMDbv8lb4dJT4eNhjHe9KwLekJ/TKUR6HcfXf6pvP RN/dp/54S9d11d58Zxx3AEO9EVXYWaICWpkR+863sfKKb16VWBQo3J+Jdpcn/DKl0NUPdO Lx8P8hyoC82f+/2eKIrvaZ3YNgCWLtvvLn+mFsj+i4c0tidLnNdsf2zDzHX6MmQBsAqDSJ zq+VbnwwgyHh8mKl7Ky19a2UtTHv7uYtjwe1Y00YdxUFqjJLGmcUTSu/zAt28pla9SEOeG wSzQQtyI4YhGyZrPqEWCSunlU87Z7ApqN4iIxlg9+2ctQjeAc6CGPm7p3aO8tA== 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 4R3QTK2HsrzKJ5; Sun, 16 Jul 2023 00:05:25 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36G05PF0039516; Sun, 16 Jul 2023 00:05:25 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36G05PDF039515; Sun, 16 Jul 2023 00:05:25 GMT (envelope-from git) Date: Sun, 16 Jul 2023 00:05:25 GMT Message-Id: <202307160005.36G05PDF039515@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: 5cb5a21e3d25 - main - net-mgmt/driftnet: fix build on big-endian architectures 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: 5cb5a21e3d2535b85a413b77ee1d94cf7eec183b Auto-Submitted: auto-generated X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=5cb5a21e3d2535b85a413b77ee1d94cf7eec183b commit 5cb5a21e3d2535b85a413b77ee1d94cf7eec183b Author: Piotr Kubaj AuthorDate: 2023-07-15 23:51:36 +0000 Commit: Piotr Kubaj CommitDate: 2023-07-16 00:05:23 +0000 net-mgmt/driftnet: fix build on big-endian architectures In file included from display.c:32: ./img.h:72:5: error: "no endianness defined" ^ --- net-mgmt/driftnet/files/patch-src_display_img.h | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/net-mgmt/driftnet/files/patch-src_display_img.h b/net-mgmt/driftnet/files/patch-src_display_img.h new file mode 100644 index 000000000000..272fc42f0a6e --- /dev/null +++ b/net-mgmt/driftnet/files/patch-src_display_img.h @@ -0,0 +1,10 @@ +--- src/display/img.h.orig 2023-07-15 23:49:00 UTC ++++ src/display/img.h +@@ -69,6 +69,7 @@ typedef uint32_t pel; + # define GETB(p) ((chan)(((p) & (pel)0xff000000) >> 24)) + # define GETA(p) ((chan)(((p) & (pel)0x000000ff) )) + #endif ++#else + # error "no endianness defined" + #endif +