Hello community, here is the log from the commit of package f2fs-tools for openSUSE:Factory checked in at 2014-09-23 10:42:50 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/f2fs-tools (Old) and /work/SRC/openSUSE:Factory/.f2fs-tools.new (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Package is "f2fs-tools" Changes: -------- --- /work/SRC/openSUSE:Factory/f2fs-tools/f2fs-tools.changes 2014-07-21 22:34:49.000000000 +0200 +++ /work/SRC/openSUSE:Factory/.f2fs-tools.new/f2fs-tools.changes 2014-09-23 10:43:22.000000000 +0200 @@ -1,0 +2,9 @@ +Fri Sep 19 10:18:57 UTC 2014 - jengelh@inai.de + +- Update to new upstream release 1.4.0 +* fsck: add the -a option (auto-fix errors) [bnc#856645] +* fsck: remove corrupted xattr blocks and corrupted orphan inodes; + remove dentry if inode block is corrupted +- Add 0001-build-provide-definitions-for-byteswapping-on-big-en.patch + +------------------------------------------------------------------- Old: ---- f2fs-tools-1.3.0.g22.tar.xz New: ---- 0001-build-provide-definitions-for-byteswapping-on-big-en.patch f2fs-tools-1.4.0.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ f2fs-tools.spec ++++++ --- /var/tmp/diff_new_pack.RUd80o/_old 2014-09-23 10:43:22.000000000 +0200 +++ /var/tmp/diff_new_pack.RUd80o/_new 2014-09-23 10:43:22.000000000 +0200 @@ -18,17 +18,18 @@ Name: f2fs-tools %define lname libf2fs0 -Version: 1.3.0.g22 +Version: 1.4.0 Release: 0 Summary: Utilities for the Flash-friendly Filesystem (F2FS) License: GPL-2.0 and LGPL-2.1 Group: System/Filesystems Url: http://f2fs-tools.sf.net/_(disused) -#Snapshot: v1.3.0-22-g092e3d9 +#Snapshot: v1.4.0 #Git-Clone: git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools -#DL-URL: no tarballs provided +#DL-URL: no location known - no tarballs provided Source: %name-%version.tar.xz +Patch1: 0001-build-provide-definitions-for-byteswapping-on-big-en.patch BuildRoot: %{_tmppath}/%{name}-%{version}-build BuildRequires: autoconf BuildRequires: automake @@ -42,6 +43,7 @@ %prep %setup -qn %name +%patch -P 1 -p1 %build if [ ! -e configure ]; then ++++++ 0001-build-provide-definitions-for-byteswapping-on-big-en.patch ++++++
From 96c932cab4eeeb54a18782fd903f1977779d6921 Mon Sep 17 00:00:00 2001 From: Jan Engelhardt
Date: Tue, 23 Sep 2014 01:04:38 +0200 Subject: [PATCH] build: provide definitions for byteswapping on big-endian
[ 31s] /bin/sh ../libtool --tag=CC --mode=link gcc -Wall -DWITH_BLKDISCARD -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -o mkfs.f2fs f2fs_format_main.o f2fs_format.o f2fs_format_utils.o -luuid ../lib/libf2fs.la [ 31s] libtool: link: gcc -Wall -DWITH_BLKDISCARD -fmessage-length=0 -grecord-gcc-switches -O2 -Wall -D_FORTIFY_SOURCE=2 -fstack-protector -funwind-tables -fasynchronous-unwind-tables -g -o .libs/mkfs.f2fs f2fs_format_main.o f2fs_format.o f2fs_format_utils.o -luuid ../lib/.libs/libf2fs.so [ 31s] f2fs_format.o: In function `f2fs_prepare_super_block': [ 31s] /home/abuild/rpmbuild/BUILD/f2fs-tools/mkfs/f2fs_format.c:108: undefined reference to `bswap_32' [ 31s] /home/abuild/rpmbuild/BUILD/f2fs-tools/mkfs/f2fs_format.c:109: undefined reference to `bswap_16' [ 31s] /home/abuild/rpmbuild/BUILD/f2fs-tools/mkfs/f2fs_format.c:110: undefined reference to `bswap_16' --- include/f2fs_fs.h | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) diff --git a/include/f2fs_fs.h b/include/f2fs_fs.h index 6367e05..da1d5c0 100644 --- a/include/f2fs_fs.h +++ b/include/f2fs_fs.h @@ -34,6 +34,28 @@ typedef unsigned long pgoff_t; #define cpu_to_le32(x) ((__u32)(x)) #define cpu_to_le64(x) ((__u64)(x)) #elif __BYTE_ORDER == __BIG_ENDIAN +static inline uint16_t bswap_16(uint16_t x) +{ + return ((x << 8) & 0xff00) | ((x >> 8) & 0x00ff); +} +static inline uint32_t bswap_32(uint32_t x) +{ + return ((x << 24) & 0xff000000 ) | + ((x << 8) & 0x00ff0000 ) | + ((x >> 8) & 0x0000ff00 ) | + ((x >> 24) & 0x000000ff ); +} +static inline uint64_t bswap_64(uint64_t x) +{ + return ( (x << 56) & 0xff00000000000000UL ) | + ( (x << 40) & 0x00ff000000000000UL ) | + ( (x << 24) & 0x0000ff0000000000UL ) | + ( (x << 8) & 0x000000ff00000000UL ) | + ( (x >> 8) & 0x00000000ff000000UL ) | + ( (x >> 24) & 0x0000000000ff0000UL ) | + ( (x >> 40) & 0x000000000000ff00UL ) | + ( (x >> 56) & 0x00000000000000ffUL ); +} #define le16_to_cpu(x) bswap_16(x) #define le32_to_cpu(x) bswap_32(x) #define le64_to_cpu(x) bswap_64(x) -- 2.0.0 ++++++ f2fs-tools-1.3.0.g22.tar.xz -> f2fs-tools-1.4.0.tar.xz ++++++ ++++ 3296 lines of diff (skipped) -- To unsubscribe, e-mail: opensuse-commit+unsubscribe@opensuse.org For additional commands, e-mail: opensuse-commit+help@opensuse.org