summaryrefslogtreecommitdiff
path: root/eclass
diff options
context:
space:
mode:
authorTom Wijsman <tomwij@gentoo.org>2013-11-02 12:58:50 +0000
committerTom Wijsman <tomwij@gentoo.org>2013-11-02 12:58:50 +0000
commitdb8870640e41614227ffb21226689bb13b8d48b7 (patch)
treebe2fd4047ad2ea0e5b82d05e7a93e71c8bd8f3b2 /eclass
parentRemove old (diff)
downloadgentoo-2-db8870640e41614227ffb21226689bb13b8d48b7.tar.gz
gentoo-2-db8870640e41614227ffb21226689bb13b8d48b7.tar.bz2
gentoo-2-db8870640e41614227ffb21226689bb13b8d48b7.zip
kernel-2.eclass: Trivial change to support patches with pre-defined patch levels.
Diffstat (limited to 'eclass')
-rw-r--r--eclass/ChangeLog5
-rw-r--r--eclass/kernel-2.eclass4
2 files changed, 6 insertions, 3 deletions
diff --git a/eclass/ChangeLog b/eclass/ChangeLog
index 624721ea2e7c..61739320a15e 100644
--- a/eclass/ChangeLog
+++ b/eclass/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for eclass directory
# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1043 2013/11/02 03:20:37 dirtyepic Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/ChangeLog,v 1.1044 2013/11/02 12:58:50 tomwij Exp $
+
+ 02 Nov 2013; Tom Wijsman <TomWij@gentoo.org> kernel-2.eclass:
+ Trivial change to support patches with pre-defined patch levels.
02 Nov 2013; Ryan Hill <dirtyepic@gentoo.org> flag-o-matic.eclass:
Add -fno-builtin* to ALLOWED_FLAGS - requested by Justin Vrooman.
diff --git a/eclass/kernel-2.eclass b/eclass/kernel-2.eclass
index ceac512f6c44..d9c125577e87 100644
--- a/eclass/kernel-2.eclass
+++ b/eclass/kernel-2.eclass
@@ -1,6 +1,6 @@
# Copyright 1999-2013 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.288 2013/09/05 17:04:26 tomwij Exp $
+# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.289 2013/11/02 12:58:50 tomwij Exp $
# Description: kernel.eclass rewrite for a clean base regarding the 2.6
# series of kernel with back-compatibility for 2.4
@@ -938,7 +938,7 @@ unipatch() {
xz) PIPE_CMD="xz -dc";;
lzma) PIPE_CMD="lzma -dc";;
bz2) PIPE_CMD="bzip2 -dc";;
- patch) PIPE_CMD="cat";;
+ patch*) PIPE_CMD="cat";;
diff) PIPE_CMD="cat";;
gz|Z|z) PIPE_CMD="gzip -dc";;
ZIP|zip) PIPE_CMD="unzip -p";;