From d57d1b56dd4622f34ab967315f6a48888db973e6 Mon Sep 17 00:00:00 2001 From: Joseph Jezak Date: Tue, 5 Dec 2006 04:51:38 +0000 Subject: [PATCH] Added patch to fix compiling with newer kernel headers. Package-Manager: portage-2.1.2_rc2-r2 --- sys-boot/quik/ChangeLog | 6 +++++- sys-boot/quik/Manifest | 26 +++++++++++++++----------- sys-boot/quik/files/headers.patch | 22 ++++++++++++++++++++++ sys-boot/quik/quik-2.1.6.ebuild | 3 ++- 4 files changed, 44 insertions(+), 13 deletions(-) create mode 100644 sys-boot/quik/files/headers.patch diff --git a/sys-boot/quik/ChangeLog b/sys-boot/quik/ChangeLog index 3ce45c8f491d..ba98121d4f9a 100644 --- a/sys-boot/quik/ChangeLog +++ b/sys-boot/quik/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-boot/quik # Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/ChangeLog,v 1.10 2006/11/27 21:58:35 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/ChangeLog,v 1.11 2006/12/05 04:51:38 josejx Exp $ + + 05 Dec 2006; Joseph Jezak +files/headers.patch, + quik-2.1.6.ebuild: + Added patch to fix compiling with newer kernel headers. 27 Nov 2006; Joseph Jezak quik-2.1.6.ebuild: Marked ppc stable. diff --git a/sys-boot/quik/Manifest b/sys-boot/quik/Manifest index 96aaa57f5648..b1b18e220cb3 100644 --- a/sys-boot/quik/Manifest +++ b/sys-boot/quik/Manifest @@ -1,19 +1,23 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX headers.patch 731 RMD160 705be57266abcf66d191fdd1af266fa63c510561 SHA1 894de01227289601f52a977edd11facdc0ec87a1 SHA256 be06e0127f88fdf474cb79050f68416e1cf5c0ab60526b245717b109574fee52 +MD5 627eb71d1b98b804cad499e43d5f1207 files/headers.patch 731 +RMD160 705be57266abcf66d191fdd1af266fa63c510561 files/headers.patch 731 +SHA256 be06e0127f88fdf474cb79050f68416e1cf5c0ab60526b245717b109574fee52 files/headers.patch 731 AUX md-fix.diff 392 RMD160 929b8c6e9cdbd7d3d6d2dc8aea81d5200ef260c6 SHA1 e020f604cedcc7f8e55a7fb191a6206096821cd3 SHA256 6529d6b01a17e5a2a0cea17358c3c8376e1ef4be6d3943bcb0e39d42715a264f MD5 caf3f0cb5b2e65531f3e22aeeb6c7ffe files/md-fix.diff 392 RMD160 929b8c6e9cdbd7d3d6d2dc8aea81d5200ef260c6 files/md-fix.diff 392 SHA256 6529d6b01a17e5a2a0cea17358c3c8376e1ef4be6d3943bcb0e39d42715a264f files/md-fix.diff 392 DIST quik-2.1-6.ydl4.src.rpm 91961 RMD160 9f9c44fb7afc806de9700d75797bd19bb59a050f SHA1 0b6088469b93fb2a67a238b2c38f61ee5d166e87 SHA256 a4c8c95fa97ef0e01e7ca981442c8dc8761f79c9bc4c683bfde03378a8ee9db2 -EBUILD quik-2.1.6.ebuild 1034 RMD160 a665e7f61dab56ffebe07d4a1ba51ff5b5c40fe3 SHA1 21c36f2c49abdf0eb78566b52e52aa86872bf9cb SHA256 8146616199409c35b0d12ded47d29a571ff2d02e35414a3af3f890527a0e0881 -MD5 35624553c454141d4974c61c835aa623 quik-2.1.6.ebuild 1034 -RMD160 a665e7f61dab56ffebe07d4a1ba51ff5b5c40fe3 quik-2.1.6.ebuild 1034 -SHA256 8146616199409c35b0d12ded47d29a571ff2d02e35414a3af3f890527a0e0881 quik-2.1.6.ebuild 1034 -MISC ChangeLog 3155 RMD160 a02fd4a41ab14be113321e0122be48a9e6a4675b SHA1 b4c194064224428a399c356c7a421cab4f45b36a SHA256 4fc27f84f541243ec185752b630f75fdac6af1a166c36cbc2a5daf0aa1296e1f -MD5 901fbb7847e0f06e787338ecedeb5f8e ChangeLog 3155 -RMD160 a02fd4a41ab14be113321e0122be48a9e6a4675b ChangeLog 3155 -SHA256 4fc27f84f541243ec185752b630f75fdac6af1a166c36cbc2a5daf0aa1296e1f ChangeLog 3155 +EBUILD quik-2.1.6.ebuild 1068 RMD160 71c543dd723b91cbd67a8ea9eb8c5883a7dc83bd SHA1 d0d8ae164dc51cb53b34c76e49a7f9d9d49f3ea3 SHA256 f2ef5b3e5698cd6cf0f16017993889b97751ae4ded16fe1528e96ddc53dd61a7 +MD5 0cb94aba4598b174a19483a90e916c8c quik-2.1.6.ebuild 1068 +RMD160 71c543dd723b91cbd67a8ea9eb8c5883a7dc83bd quik-2.1.6.ebuild 1068 +SHA256 f2ef5b3e5698cd6cf0f16017993889b97751ae4ded16fe1528e96ddc53dd61a7 quik-2.1.6.ebuild 1068 +MISC ChangeLog 3305 RMD160 bc709e6a882c30944ebe261b300ad80f9aa89bff SHA1 fb16d7c30599e824f436a8df87979b8f9dfcd118 SHA256 f171448ee8cd10df4927fc079a9bcfe38ef99382a0714a9068360c57168f42e5 +MD5 6ddaf92aa0142af0b0d5a4a3dd3e89d4 ChangeLog 3305 +RMD160 bc709e6a882c30944ebe261b300ad80f9aa89bff ChangeLog 3305 +SHA256 f171448ee8cd10df4927fc079a9bcfe38ef99382a0714a9068360c57168f42e5 ChangeLog 3305 MISC metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 SHA1 30b3e2b32ee2b52b68ad1d77f04f2c75980bf7d4 SHA256 d57f79be439079b5c78578b17eb3ee7d20883353b1c40a716d3f1ab06af34851 MD5 52f9d8e98c8931645c57a3de1c36727d metadata.xml 156 RMD160 a57e9e3e71bd04aa138850dc8cce8dbe9e1cd5a2 metadata.xml 156 @@ -24,7 +28,7 @@ SHA256 59e8ca6e5de04f10dbf1510cbdfe5a1675bd325932905b8bbb4e455f61d18eef files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.5 (GNU/Linux) -iD8DBQFFa1+GcsIHjyDViGQRAk56AJ43AL8YWaCC55rTUyDN3a/M3MhuuQCgpA+M -mTzRNTe9A+68SU7hTUs5hGI= -=mYtg +iD8DBQFFdPrCcsIHjyDViGQRAhsOAKC9XWmEUqIeUFp7xMGULRChcZVgBACeMo3M +DNcyUnSEgvLWxDI0wD3T09A= +=ca8B -----END PGP SIGNATURE----- diff --git a/sys-boot/quik/files/headers.patch b/sys-boot/quik/files/headers.patch new file mode 100644 index 000000000000..1778b18f1b0f --- /dev/null +++ b/sys-boot/quik/files/headers.patch @@ -0,0 +1,22 @@ +--- util/elfextract.c.bak 2006-12-04 23:08:33.000000000 -0500 ++++ util/elfextract.c 2006-12-04 23:08:45.000000000 -0500 +@@ -6,7 +6,7 @@ + #include + #include + #define __KERNEL__ +-#include ++#include + + FILE *fi, *fo; + char *ni, *no; +--- second/quik.h.bak 2006-12-04 23:10:08.000000000 -0500 ++++ second/quik.h 2006-12-04 23:10:12.000000000 -0500 +@@ -26,7 +26,7 @@ + int tolower(int c); + int stricmp(const char *s1, const char *s2); + int strncmp(const char * cs,const char * ct,size_t count); +-int strlen(const char *s1); ++// int strlen(const char *s1); + char *strcpy(char * dest,const char *src); + char *strncpy(char * dest,const char *src,size_t count); + char *strchr(const char * s, int c); diff --git a/sys-boot/quik/quik-2.1.6.ebuild b/sys-boot/quik/quik-2.1.6.ebuild index 6187c5ddc83b..447de6bbff2c 100644 --- a/sys-boot/quik/quik-2.1.6.ebuild +++ b/sys-boot/quik/quik-2.1.6.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2006 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/quik-2.1.6.ebuild,v 1.2 2006/11/27 21:58:35 josejx Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-boot/quik/quik-2.1.6.ebuild,v 1.3 2006/12/05 04:51:38 josejx Exp $ inherit toolchain-funcs mount-boot eutils @@ -31,6 +31,7 @@ src_unpack() { cd ${WORKDIR}/quik-2.1 epatch ${WORKDIR}/quik_2.1-6.diff.gz epatch ${FILESDIR}/md-fix.diff + epatch ${FILESDIR}/headers.patch } src_compile() { -- 2.26.2