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 1RlBX6-00071t-BF for garchives@archives.gentoo.org; Thu, 12 Jan 2012 03:40:56 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 31DD521C051; Thu, 12 Jan 2012 03:40:48 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id EEF7421C051 for ; Thu, 12 Jan 2012 03:40:47 +0000 (UTC) Received: from pelican.gentoo.org (unknown [66.219.59.40]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 4743C1B4013 for ; Thu, 12 Jan 2012 03:40:47 +0000 (UTC) Received: from localhost.localdomain (localhost [127.0.0.1]) by pelican.gentoo.org (Postfix) with ESMTP id B416D80044 for ; Thu, 12 Jan 2012 03:40:46 +0000 (UTC) From: "Sebastian Pipping" To: gentoo-commits@lists.gentoo.org Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sebastian Pipping" Message-ID: <9ef832b915dc00ca70831bfbef788290b6e4ac75.sping@gentoo> Subject: [gentoo-commits] proj/genkernel:master commit in: / X-VCS-Repository: proj/genkernel X-VCS-Files: gen_compile.sh X-VCS-Directories: / X-VCS-Committer: sping X-VCS-Committer-Name: Sebastian Pipping X-VCS-Revision: 9ef832b915dc00ca70831bfbef788290b6e4ac75 Date: Thu, 12 Jan 2012 03:40:46 +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: d83f20b3-4596-425b-a8fe-73d4530ab378 X-Archives-Hash: d6fd1e15aaf1228d2cefec260576d05a commit: 9ef832b915dc00ca70831bfbef788290b6e4ac75 Author: Tomasz Wasiak poczta onet pl> AuthorDate: Thu Jan 12 03:38:47 2012 +0000 Commit: Sebastian Pipping gentoo org> CommitDate: Thu Jan 12 03:39:47 2012 +0000 URL: http://git.overlays.gentoo.org/gitweb/?p=3Dproj/genkernel.git= ;a=3Dcommit;h=3D9ef832b9 Support application of patches for more tools --- gen_compile.sh | 6 ++++++ 1 files changed, 6 insertions(+), 0 deletions(-) diff --git a/gen_compile.sh b/gen_compile.sh index d865df8..68dabdb 100755 --- a/gen_compile.sh +++ b/gen_compile.sh @@ -519,6 +519,7 @@ compile_dmraid() { gen_die "Could not extract device-mapper binary cache!"; =20 cd "${DMRAID_DIR}" + apply_patches dmraid ${DMRAID_VER} print_info 1 'dmraid: >> Configuring...' =20 LDFLAGS=3D"-L${TEMP}/device-mapper/lib" \ @@ -560,6 +561,7 @@ compile_device_mapper() { [ ! -d "${DEVICE_MAPPER_DIR}" ] && gen_die "device-mapper directory ${DEVICE_MAPPER_DIR} invalid" cd "${DEVICE_MAPPER_DIR}" + apply_patches device-mapper ${DEVICE_MAPPER_VER} CFLAGS=3D"-fPIC" \ ./configure --prefix=3D${TEMP}/device-mapper --enable-static_link \ --disable-selinux >> ${LOGFILE} 2>&1 || @@ -596,6 +598,7 @@ compile_e2fsprogs() { [ ! -d "${E2FSPROGS_DIR}" ] && gen_die "e2fsprogs directory ${E2FSPROGS_DIR} invalid" cd "${E2FSPROGS_DIR}" + apply_patches e2fsprogs ${E2FSPROGS_VER} print_info 1 'e2fsprogs: >> Configuring...' LDFLAGS=3D-static ./configure >> ${LOGFILE} 2>&1 || gen_die 'Configuring e2fsprogs failed!' @@ -627,6 +630,7 @@ compile_fuse() { [ ! -d "${FUSE_DIR}" ] && gen_die "fuse directory ${FUSE_DIR} invalid" cd "${FUSE_DIR}" + apply_patches fuse ${FUSE_VER} print_info 1 'fuse: >> Configuring...' ./configure --disable-kernel-module --disable-example >> ${LOGFILE} 2= >&1 || gen_die 'Configuring fuse failed!' @@ -663,6 +667,7 @@ compile_unionfs_fuse() { [ ! -d "${UNIONFS_FUSE_DIR}" ] && gen_die "unionfs-fuse directory ${UNIONFS_FUSE_DIR} invalid" cd "${UNIONFS_FUSE_DIR}" + apply_patches unionfs-fuse ${UNIONFS_FUSE_VER} print_info 1 'unionfs-fuse: >> Compiling...' sed -i "/^\(CFLAGS\|CPPFLAGS\)/s:^\\(.*\\)$:\\1 -static -I${TEMP}/${FU= SE_DIR}/include -L${TEMP}/${FUSE_DIR}/lib/.libs:" Makefile src/Makefile sed -i "/^LIB =3D /s:^LIB =3D \(.*\)$:LIB =3D -static -L${TEMP}/${FUSE= _DIR}/lib/.libs \1 -ldl -lrt:" Makefile src/Makefile @@ -745,6 +750,7 @@ compile_gpg() { [ ! -d "${GPG_DIR}" ] && gen_die "gnupg directory ${GPG_DIR} invalid" cd "${GPG_DIR}" + apply_patches gnupg ${GPG_VER} print_info 1 'gnupg: >> Configuring...' # --enable-minimal works, but it doesn't reduce the command length muc= h. # Given its history and the precision this needs, explicit is cleaner.