• Skip to sidebar navigation
  • Skip to content

Bitbucket

  • More
    ProjectsRepositories
  • Help
    • Online help
    • Learn Git
    • Welcome to Bitbucket
    • Keyboard shortcuts
  • Log In
Alexander Dahl
  1. Alexander Dahl

buildroot

Public
Actions
  • Clone
  • Compare

Learn more about cloning repositories

You have read-only access

Navigation
  • Source
  • Commits
  • Branches
  • All Branches Graph
  • Forks
  1. Alexander Dahl
  2. buildroot

Source

buildroot/package/e2fsprogs/0001-libext2fs-fix-build-failure-in-swapfs.c-on-big-endia.patch
Baruch SiachBaruch Siach committed cfd1c939b7913 Jan 2018
Raw file
Source viewDiff to previous
 
1
From 876d9b0c8eac2fd80dd62bfa1b09adea62aa08f3 Mon Sep 17 00:00:00 2001
2
From: Theodore Ts'o <tytso@mit.edu>
3
Date: Wed, 3 Jan 2018 01:32:02 -0500
4
Subject: [PATCH] libext2fs: fix build failure in swapfs.c on big-endian
5
 systems
6
​
7
Addresses-Debian-Bug: #886119
8
​
9
Reported-by: James Clarke <jrtc27@debian.org>
10
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
11
Signed-off-by: Baruch Siach <baruch@tkos.co.il>
12
---
13
Patch status: upstream commit 876d9b0c8eac
14
​
15
 lib/ext2fs/swapfs.c | 3 ++-
16
 1 file changed, 2 insertions(+), 1 deletion(-)
17
​
18
diff --git a/lib/ext2fs/swapfs.c b/lib/ext2fs/swapfs.c
19
index 6e5cff97e505..b13dc4229225 100644
20
--- a/lib/ext2fs/swapfs.c
21
+++ b/lib/ext2fs/swapfs.c
22
@@ -19,6 +19,7 @@
23
 
24
 #include "ext2_fs.h"
25
 #include "ext2fs.h"
26
+#include "ext2fsP.h"
27
 #include <ext2fs/ext2_ext_attr.h>
28
 
29
 #ifdef WORDS_BIGENDIAN
30
@@ -358,7 +359,7 @@ void ext2fs_swap_inode_full(ext2_filsys fs, struct ext2_inode_large *t,
31
    if (inode_includes(inode_size, i_projid))
32
                 t->i_projid = ext2fs_swab16(f->i_projid);
33
    /* catch new static fields added after i_projid */
34
-   EXT2FS_BUILD_BUG_ON(sizeof(ext2_inode_large) != 160);
35
+   EXT2FS_BUILD_BUG_ON(sizeof(struct ext2_inode_large) != 160);
36
 
37
    i = sizeof(struct ext2_inode) + extra_isize + sizeof(__u32);
38
    if (bufsize < (int) i)
39
-- 
40
2.15.1
41
​
  • Git repository management for enterprise teams powered by Atlassian Bitbucket
  • Atlassian Bitbucket v6.7.2
  • Documentation
  • Request a feature
  • About
  • Contact Atlassian
Atlassian

Everything looks good. We'll let you know here if there's anything you should know about.