Update f2fs-tools to 1.8.0 version

This commit is contained in:
Eduardo Echeverria 2017-08-12 19:42:28 -05:00
parent 66b1dfdfa3
commit 15098a6910
4 changed files with 19 additions and 4 deletions

1
.gitignore vendored
View File

@ -4,3 +4,4 @@
/f2fs-tools-1.4.0.tar.gz
/f2fs-tools-1.4.1.tar.gz
/f2fs-tools-1.7.0.tar.gz
/f2fs-tools-1.8.0.tar.gz

View File

@ -0,0 +1,11 @@
diff -up f2fs-tools-1.4.0/include/f2fs_fs.h.orig f2fs-tools-1.4.0/include/f2fs_fs.h
--- f2fs-tools-1.4.0/include/f2fs_fs.h.orig 2015-01-03 09:45:23.000000000 +0100
+++ f2fs-tools-1.4.0/include/f2fs_fs.h 2015-01-03 09:45:20.000000000 +0100
@@ -34,6 +34,7 @@ typedef unsigned long pgoff_t;
#define cpu_to_le32(x) ((__u32)(x))
#define cpu_to_le64(x) ((__u64)(x))
#elif __BYTE_ORDER == __BIG_ENDIAN
+#include <byteswap.h>
#define le16_to_cpu(x) bswap_16(x)
#define le32_to_cpu(x) bswap_32(x)
#define le64_to_cpu(x) bswap_64(x)

View File

@ -1,11 +1,11 @@
Name: f2fs-tools
Version: 1.7.0
Release: 4%{?dist}
Version: 1.8.0
Release: 1%{?dist}
Summary: Tools for Flash-Friendly File System (F2FS)
License: GPLv2+
URL: http://sourceforge.net/projects/f2fs-tools/
Source0: http://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git/snapshot/%{name}-%{version}.tar.gz
Patch0: f2fs-tools-1.4.0-bigendian.patch
Patch0: f2fs-tools-1.8.0-bigendian.patch
BuildRequires: autoconf
BuildRequires: automake
BuildRequires: uuid-devel
@ -84,6 +84,9 @@ rm -f %{buildroot}/%{_libdir}/*.la
%{_libdir}/*.so
%changelog
* Sat Aug 12 2017 Eduardo Echeverria <echevemaster@gmail.com> - 1.8.0-1
- Update to 1.8.0
* Wed Aug 02 2017 Fedora Release Engineering <releng@fedoraproject.org> - 1.7.0-4
- Rebuilt for https://fedoraproject.org/wiki/Fedora_27_Binutils_Mass_Rebuild

View File

@ -1 +1 @@
9db22274264f0c88dbee012f257917b1 f2fs-tools-1.7.0.tar.gz
SHA512 (f2fs-tools-1.8.0.tar.gz) = f007673cdff7b6843f6ae295eb7d84fdb82f0ff74ec3a387cc619c09044c133ff9e76d5960fa04f1a1718673660bcea45c3a904096512b73ca1272dccf2493f0