summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorJohn Mylchreest <johnm@gentoo.org>2004-01-31 20:24:24 +0000
committerJohn Mylchreest <johnm@gentoo.org>2004-01-31 20:24:24 +0000
commitd7d9a517a1600d6a961cc760dae64b517d768276 (patch)
tree6e91c3aaa9f37463518736c0eab607ba973d28d1 /eclass
parentstable for #39890 (diff)
downloadgentoo-2-d7d9a517a1600d6a961cc760dae64b517d768276.tar.gz
gentoo-2-d7d9a517a1600d6a961cc760dae64b517d768276.tar.bz2
gentoo-2-d7d9a517a1600d6a961cc760dae64b517d768276.zip
this should solve bug #39373 as it appears to be a problem with findutils (most likely posix_version effects) in stable
Diffstat (limited to 'eclass')
-rw-r--r--eclass/kernel-2.eclass7
1 files changed, 6 insertions, 1 deletions
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index a6cb112ec116..c9ce9dcfe175 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.23 2004/01/26 17:46:57 johnm Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.24 2004/01/31 20:24:24 johnm Exp $
# kernel.eclass rewrite for a clean base regarding the 2.6 series of kernel
# with back-compatibility for 2.4
@@ -366,6 +366,11 @@ unipatch() {
do
KPATCH_DIR="${KPATCH_DIR} ${i}"
done
+
+ # this is to ensure the returned list is sorted.
+ # this doesnt appear to happen in findutils in the current stable profile.
+ # inefficient and not very nice, but "thats life"
+ KPATCH_DIR="$(echo ${KPATCH_DIR} | sort -u)"
#so now lets get rid of the patchno's we want to exclude
UNIPATCH_DROP="${UNIPATCH_EXCLUDE} ${UNIPATCH_DROP}"