From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A53C6138330 for ; Sun, 7 Jan 2018 17:08:46 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 85085E086F; Sun, 7 Jan 2018 17:08:45 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 5F611E086F for ; Sun, 7 Jan 2018 17:08:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 0F1ED340D39 for ; Sun, 7 Jan 2018 17:08:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 8EC89198 for ; Sun, 7 Jan 2018 17:08:42 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1515344911.4f6eacce878ca6eaed9a72f57826de872704f294.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-fs/e2fsprogs/files/, sys-fs/e2fsprogs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-fs/e2fsprogs/e2fsprogs-1.43.8.ebuild sys-fs/e2fsprogs/files/e2fsprogs-1.43.8-big-endian.patch X-VCS-Directories: sys-fs/e2fsprogs/files/ sys-fs/e2fsprogs/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 4f6eacce878ca6eaed9a72f57826de872704f294 X-VCS-Branch: master Date: Sun, 7 Jan 2018 17:08:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: b4ee53ff-777e-42d1-95e1-59709d9c0728 X-Archives-Hash: 7882be2f31a57fb298b7006d026e565a commit: 4f6eacce878ca6eaed9a72f57826de872704f294 Author: Mike Gilbert gentoo org> AuthorDate: Sun Jan 7 17:08:31 2018 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sun Jan 7 17:08:31 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4f6eacce sys-fs/e2fsprogs: fix build on big endian Closes: https://bugs.gentoo.org/643570 Package-Manager: Portage-2.3.19_p3, Repoman-2.3.6_p37 sys-fs/e2fsprogs/e2fsprogs-1.43.8.ebuild | 1 + .../files/e2fsprogs-1.43.8-big-endian.patch | 37 ++++++++++++++++++++++ 2 files changed, 38 insertions(+) diff --git a/sys-fs/e2fsprogs/e2fsprogs-1.43.8.ebuild b/sys-fs/e2fsprogs/e2fsprogs-1.43.8.ebuild index ba0347721fd..3637e695028 100644 --- a/sys-fs/e2fsprogs/e2fsprogs-1.43.8.ebuild +++ b/sys-fs/e2fsprogs/e2fsprogs-1.43.8.ebuild @@ -38,6 +38,7 @@ PATCHES=( "${FILESDIR}"/${PN}-1.42.13-fix-build-cflags.patch #516854 # Upstream patches (can usually removed with next version bump) + "${FILESDIR}"/${PN}-1.43.8-big-endian.patch ) src_prepare() { diff --git a/sys-fs/e2fsprogs/files/e2fsprogs-1.43.8-big-endian.patch b/sys-fs/e2fsprogs/files/e2fsprogs-1.43.8-big-endian.patch new file mode 100644 index 00000000000..8b3482f6d5f --- /dev/null +++ b/sys-fs/e2fsprogs/files/e2fsprogs-1.43.8-big-endian.patch @@ -0,0 +1,37 @@ +From 876d9b0c8eac2fd80dd62bfa1b09adea62aa08f3 Mon Sep 17 00:00:00 2001 +From: Theodore Ts'o +Date: Wed, 3 Jan 2018 01:32:02 -0500 +Subject: libext2fs: fix build failure in swapfs.c on big-endian systems + +Addresses-Debian-Bug: #886119 + +Reported-by: James Clarke +Signed-off-by: Theodore Ts'o +--- + lib/ext2fs/swapfs.c | 3 ++- + 1 file changed, 2 insertions(+), 1 deletion(-) + +diff --git a/lib/ext2fs/swapfs.c b/lib/ext2fs/swapfs.c +index 6e5cff9..b13dc42 100644 +--- a/lib/ext2fs/swapfs.c ++++ b/lib/ext2fs/swapfs.c +@@ -19,6 +19,7 @@ + + #include "ext2_fs.h" + #include "ext2fs.h" ++#include "ext2fsP.h" + #include + + #ifdef WORDS_BIGENDIAN +@@ -358,7 +359,7 @@ void ext2fs_swap_inode_full(ext2_filsys fs, struct ext2_inode_large *t, + if (inode_includes(inode_size, i_projid)) + t->i_projid = ext2fs_swab16(f->i_projid); + /* catch new static fields added after i_projid */ +- EXT2FS_BUILD_BUG_ON(sizeof(ext2_inode_large) != 160); ++ EXT2FS_BUILD_BUG_ON(sizeof(struct ext2_inode_large) != 160); + + i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32); + if (bufsize < (int) i) +-- +cgit v1.1 +