summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2005-03-09 22:03:28 +0000
committerJohn Mylchreest <johnm@gentoo.org>2005-03-09 22:03:28 +0000
commita24f5c350033cc36f0c6a5622d3d033ee6b086ac (patch)
tree3c588aab8c1e11775d62f0e516130b9ddcab3703 /eclass/kernel-2.eclass
parentstable on amd64 wrt to #82534 (diff)
downloadhistorical-a24f5c350033cc36f0c6a5622d3d033ee6b086ac.tar.gz
historical-a24f5c350033cc36f0c6a5622d3d033ee6b086ac.tar.bz2
historical-a24f5c350033cc36f0c6a5622d3d033ee6b086ac.zip
Re-comitting the fix for patch strict_order. Works this time :)
Diffstat (limited to 'eclass/kernel-2.eclass')
-rw-r--r--eclass/kernel-2.eclass5
1 files changed, 3 insertions, 2 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index d0fa88001c38..70ecbf3da44d 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.109 2005/03/08 21:43:32 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.110 2005/03/09 22:03:28 johnm Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -51,7 +51,6 @@
# UNIPATCH_STRICTORDER - if this is set places patches into directories of
# order, so they are applied in the order passed
-
inherit toolchain-funcs versionator multilib
ECLASS="kernel-2"
INHERITED="$INHERITED $ECLASS"
@@ -466,6 +465,7 @@ unipatch() {
esac
if [ -n "${UNIPATCH_STRICTORDER}" ]; then
+ unset z
STRICT_COUNT=$((${STRICT_COUNT} + 1))
for((y=0; y<$((6 - ${#STRICT_COUNT})); y++));
do z="${z}0";
@@ -514,6 +514,7 @@ unipatch() {
fi
if [ -n "${UNIPATCH_STRICTORDER}" ]; then
+ unset z
STRICT_COUNT=$((${STRICT_COUNT} + 1))
for((y=0; y<$((6 - ${#STRICT_COUNT})); y++));
do z="${z}0";