From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1R2pOQ-0002df-17 for garchives@archives.gentoo.org; Sun, 11 Sep 2011 19:08:38 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 91C3921C0B4; Sun, 11 Sep 2011 19:08:30 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 5822321C0B4 for ; Sun, 11 Sep 2011 19:08:30 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B5E991B400C for ; Sun, 11 Sep 2011 19:08:29 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 559) id 7943820051; Sun, 11 Sep 2011 19:08:28 +0000 (UTC) From: "Mike Frysinger (vapier)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, vapier@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-fs/yaffs2-utils/files: yaffs2-utils-9999-build.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: yaffs2-utils-9999-build.patch X-VCS-Directories: sys-fs/yaffs2-utils/files X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger Content-Type: text/plain; charset=utf8 Message-Id: <20110911190828.7943820051@flycatcher.gentoo.org> Date: Sun, 11 Sep 2011 19:08:28 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: X-Archives-Hash: e7623e6c60411d7e412c2e63fa9ec5ad 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. =20 (Portage version: 2.2.0_alpha51/cvs/Linux x86_64) Revision Changes Path 1.3 sys-fs/yaffs2-utils/files/yaffs2-utils-9999-build.pa= tch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/yaffs2-util= s/files/yaffs2-utils-9999-build.patch?rev=3D1.3&view=3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/yaffs2-util= s/files/yaffs2-utils-9999-build.patch?rev=3D1.3&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-fs/yaffs2-util= s/files/yaffs2-utils-9999-build.patch?r1=3D1.2&r2=3D1.3 Index: yaffs2-utils-9999-build.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D 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 @@ =20 #KERNELDIR =3D /usr/src/kernel-headers-2.4.18 =20 --CFLAGS =3D -I/usr/include -I.. -O2 -Wall -DCONFIG_YAFFS_UTIL -+CFLAGS+=3D -I.. -Wall -DCONFIG_YAFFS_UTIL +-CFLAGS =3D -O2 -Wall -DCONFIG_YAFFS_UTIL ++CFLAGS+=3D -Wall -DCONFIG_YAFFS_UTIL CFLAGS+=3D -Wshadow -Wpointer-arith -Wwrite-strings -Wstrict-prototyp= es -Wmissing-declarations CFLAGS+=3D -Wmissing-prototypes -Wredundant-decls -Wnested-externs -W= inline =20 -@@ -44,10 +42,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYA + ## Change if you are using a cross-compiler + MAKETOOLS =3D=20 +=20 +-CC=3D$(MAKETOOLS)gcc +=20 + COMMON_BASE_C_LINKS =3D yaffs_ecc.c + COMMON_BASE_LINKS =3D $(COMMON_BASE_C_LINKS) yaffs_ecc.h yaffs_guts.h y= affs_packedtags2.h yaffs_trace.h +@@ -57,10 +56,10 @@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(MKYAFFS2IMAGEOBJ= S) : %.o: %.c $(CC) -c $(CFLAGS) $< -o $@ =20 - mkyaffsimage: $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) -- $(CC) -o $@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) -+ $(CC) $(CFLAGS) -o $@ $(COMMONOBJS) $(MKYAFFSIMAGEOBJS) $(LDFLAGS) -=20 - mkyaffs2image: $(COMMONOBJS) $(MKYAFFS2IMAGEOBJS) -- $(CC) -o $@ $(COMMONOBJS) $(MKYAFFS2IMAGEOBJS) -+ $(CC) $(CFLAGS) -o $@ $(COMMONOBJS) $(MKYAFFS2IMAGEOBJS) $(LDFLAGS) + mkyaffsimage: $(MKYAFFSIMAGEOBJS) $(COMMONOBJS) +- $(CC) -o $@ $^ ++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) +=20 + mkyaffs2image: $(MKYAFFS2IMAGEOBJS) $(COMMONOBJS) +- $(CC) -o $@ $^ ++ $(CC) $(CFLAGS) -o $@ $^ $(LDFLAGS) =20 =20 clean: