From f008c052e41d782e400fcbe65e376b4967ab4662 Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Fri, 5 Jan 2024 19:59:21 +0100 Subject: [PATCH] update to 20141016git [release 20141016git-1mamba;Thu Oct 16 2014] --- yaffs-utils.spec | 24 +++++++++++++++++++++--- yaffs2-20141016git-x86-shift.patch | 11 +++++++++++ 2 files changed, 32 insertions(+), 3 deletions(-) create mode 100644 yaffs2-20141016git-x86-shift.patch diff --git a/yaffs-utils.spec b/yaffs-utils.spec index 71eae00..c55f60e 100644 --- a/yaffs-utils.spec +++ b/yaffs-utils.spec @@ -1,6 +1,8 @@ +%define pkgver %(echo %version | cut -d. -f2) Name: yaffs-utils -Version: cvs20080710 -Release: 2mamba +Epoch: 1 +Version: 20141016git +Release: 1mamba Summary: Utilities for YAFFS, an embedded filesystem designed for NAND storage Group: System/Tools Vendor: openmamba @@ -10,7 +12,8 @@ URL: http://www.yaffs.net # Source got from cvs: # export CVSROOT=:pserver:anonymous@cvs.aleph1.co.uk:/home/aleph1/cvs cvs logon # cvs checkout yaffs2 -Source: http://www.yaffs.net/yaffs2-%{version}.tar.bz2 +Source: git://www.aleph1.co.uk/yaffs2.git/master/yaffs2-%{version}.tar.bz2 +Patch0: yaffs2-20141016git-x86-shift.patch License: GPL Provides: yaff-utils Obsoletes: yaff-utils @@ -24,6 +27,9 @@ YAFFS stands for Yet Another Flash File System. YAFFS is the first file system t %prep %setup -q -n yaffs2-%{version} +%ifnarch x86_64 +%patch0 -p1 +%endif %build %make -C utils @@ -43,6 +49,18 @@ install -m0755 -D utils/mkyaffsimage %{buildroot}%{_bindir}/mkyaffsimage %doc README-linux README-linux-patch %changelog +* Thu Oct 16 2014 Silvan Calarco 20141016git-1mamba +- update to 20141016git + +* Thu Mar 21 2013 Automatic Build System 20130321git-1mamba +- update to 20130321git + +* Mon Nov 19 2012 Automatic Build System 20121119git.a18ab52-1mamba +- update to 20121119git.a18ab52 + +* Thu Oct 18 2012 Automatic Build System 7897f17-1mamba +- update to 7897f17 + * Fri Dec 12 2008 Silvan Calarco cvs20080710-2mamba - fixed package name diff --git a/yaffs2-20141016git-x86-shift.patch b/yaffs2-20141016git-x86-shift.patch new file mode 100644 index 0000000..93b2d29 --- /dev/null +++ b/yaffs2-20141016git-x86-shift.patch @@ -0,0 +1,11 @@ +--- yaffs2-20141016git/utils/Makefile.orig 2019-01-19 00:25:12.552050531 +0100 ++++ yaffs2-20141016git/utils/Makefile 2019-01-19 00:25:18.597078500 +0100 +@@ -17,7 +17,7 @@ + + CFLAGS = -O2 -Wall -Werror -DCONFIG_YAFFS_UTIL + CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations +-CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline ++CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline -Wno-error=shift-count-overflow + + ## Change if you are using a cross-compiler + MAKETOOLS =