* [gentoo-commits] gentoo-x86 commit in sys-fs/yaffs2-utils/files: yaffs2-utils-9999-build.patch
@ 2011-09-11 19:08 Mike Frysinger (vapier)
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2011-09-11 19:08 UTC (permalink / raw
To: gentoo-commits
vapier 11/09/11 19:08:28
Modified: yaffs2-utils-9999-build.patch
Log:
Convert to git and clean up a bit #382327 by Paul Osmialowski.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Revision Changes Path
1.3 sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch?rev=1.3&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch?rev=1.3&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch?r1=1.2&r2=1.3
Index: yaffs2-utils-9999-build.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -r1.2 -r1.3
--- yaffs2-utils-9999-build.patch 31 Jul 2006 05:20:35 -0000 1.2
+++ yaffs2-utils-9999-build.patch 11 Sep 2011 19:08:28 -0000 1.3
@@ -1,24 +1,31 @@
---- yaffs2/utils/Makefile
-+++ yaffs2/utils/Makefile
-@@ -16,7 +16,7 @@
+--- a/utils/Makefile
++++ b/utils/Makefile
+@@ -16,14 +16,13 @@
#KERNELDIR = /usr/src/kernel-headers-2.4.18
--CFLAGS = -I/usr/include -I.. -O2 -Wall -DCONFIG_YAFFS_UTIL
-+CFLAGS+= -I.. -Wall -DCONFIG_YAFFS_UTIL
+-CFLAGS = -O2 -Wall -DCONFIG_YAFFS_UTIL
++CFLAGS+= -Wall -DCONFIG_YAFFS_UTIL
CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations
CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
-@@ -44,10 +42,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYA
+ ## Change if you are using a cross-compiler
+ MAKETOOLS =
+
+-CC=$(MAKETOOLS)gcc
+
+ COMMON_BASE_C_LINKS = yaffs_ecc.c
+ COMMON_BASE_LINKS = $(COMMON_BASE_C_LINKS) yaffs_ecc.h yaffs_guts.h yaffs_packedtags2.h yaffs_trace.h
+@@ -57,10 +56,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJS) : %.o: %.c
$(CC) -c $(CFLAGS) $< -o $@
- mkyaffsimage: $(COMMONOBJS) $(MKYAFFSIMAGEOBJS)
-- $(CC) -o $@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS)
-+ $(CC) $(CFLAGS) -o $@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(LDFLAGS)
-
- mkyaffs2image: $(COMMONOBJS) $(MKYAFFS2IMAGEOBJS)
-- $(CC) -o $@ $(COMMONOBJS) $(MKYAFFS2IMAGEOBJS)
-+ $(CC) $(CFLAGS) -o $@ $(COMMONOBJS) $(MKYAFFS2IMAGEOBJS) $(LDFLAGS)
+ mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS)
+- $(CC) -o $@ $^
++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
+
+ mkyaffs2image: $(MKYAFFS2IMAGEOBJS) $(COMMONOBJS)
+- $(CC) -o $@ $^
++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS)
clean:
^ permalink raw reply [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in sys-fs/yaffs2-utils/files: yaffs2-utils-9999-build.patch
@ 2012-11-05 7:15 Mike Frysinger (vapier)
0 siblings, 0 replies; 2+ messages in thread
From: Mike Frysinger (vapier) @ 2012-11-05 7:15 UTC (permalink / raw
To: gentoo-commits
vapier 12/11/05 07:15:02
Modified: yaffs2-utils-9999-build.patch
Log:
Update to EAPI=4 and fix building with latest git #248421 by Diego Elio Pettenò.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key FB7C4156)
Revision Changes Path
1.4 sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch?rev=1.4&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch?rev=1.4&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch?r1=1.3&r2=1.4
Index: yaffs2-utils-9999-build.patch
===================================================================
RCS file: /var/cvsroot/gentoo-x86/sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.patch,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -r1.3 -r1.4
--- yaffs2-utils-9999-build.patch 11 Sep 2011 19:08:28 -0000 1.3
+++ yaffs2-utils-9999-build.patch 5 Nov 2012 07:15:02 -0000 1.4
@@ -1,3 +1,15 @@
+From 3f4b0661b63efaca78791612ce9be84271d784a5 Mon Sep 17 00:00:00 2001
+From: Mike Frysinger <vapier@gentoo.org>
+Date: Mon, 5 Nov 2012 02:08:27 -0500
+Subject: [PATCH] fix build build system
+
+Signed-off-by: Mike Frysinger <vapier@gentoo.org>
+---
+ utils/Makefile | 7 +++----
+ 1 file changed, 3 insertions(+), 4 deletions(-)
+
+diff --git a/utils/Makefile b/utils/Makefile
+index 710ebbf..26aea6b 100644
--- a/utils/Makefile
+++ b/utils/Makefile
@@ -16,14 +16,13 @@
@@ -5,7 +17,7 @@
#KERNELDIR = /usr/src/kernel-headers-2.4.18
-CFLAGS = -O2 -Wall -DCONFIG_YAFFS_UTIL
-+CFLAGS+= -Wall -DCONFIG_YAFFS_UTIL
++CFLAGS+= -Wall -DCONFIG_YAFFS_UTIL -DCONFIG_YAFFS_DEFINES_TYPES
CFLAGS+= -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototypes -Wmissing-declarations
CFLAGS+= -Wmissing-prototypes -Wredundant-decls -Wnested-externs -Winline
@@ -29,3 +41,6 @@
clean:
+--
+1.7.12.4
+
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-05 7:15 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-05 7:15 [gentoo-commits] gentoo-x86 commit in sys-fs/yaffs2-utils/files: yaffs2-utils-9999-build.patch Mike Frysinger (vapier)
-- strict thread matches above, loose matches on Subject: below --
2011-09-11 19:08 Mike Frysinger (vapier)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox