/[gentoo-x86]/eclass/kernel-2.eclass
Gentoo

Diff of /eclass/kernel-2.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.183 Revision 1.184
1# Copyright 1999-2005 Gentoo Foundation 1# Copyright 1999-2005 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.183 2006/07/24 21:03:26 dsd Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.184 2006/07/28 21:01:28 plasmaroo Exp $
4 4
5# Description: kernel.eclass rewrite for a clean base regarding the 2.6 5# Description: kernel.eclass rewrite for a clean base regarding the 2.6
6# series of kernel with back-compatibility for 2.4 6# series of kernel with back-compatibility for 2.4
7# 7#
8# Maintainer: John Mylchreest <johnm@gentoo.org> 8# Maintainer: John Mylchreest <johnm@gentoo.org>
960 960
961headers___fix() { 961headers___fix() {
962 # Voodoo to partially fix broken upstream headers. 962 # Voodoo to partially fix broken upstream headers.
963 # Issues with this function should go to plasmaroo. 963 # Issues with this function should go to plasmaroo.
964 sed -i \ 964 sed -i \
965 -e "s/\([ "$'\t'"]\)\(u\|s\)\(8\|16\|32\|64\)\([ "$'\t'"]\)/\1__\2\3\4/g;" \ 965 -e '/^\#define.*TYPES_H/{:loop n; bloop}' \
966 -e 's/ \(u\|s\)\(8\|16\|32\|64\)$/ __\1\2/g' \ 966 -e 's:\<\([us]\(8\|16\|32\|64\)\)\>:__\1:g' \
967 -e 's/\([(, ]\)\(u\|s\)64\([, )]\)/\1__\264\3/g' \
968 -e "s/^\(u\|s\)\(8\|16\|32\|64\)\([ "$'\t'"]\)/__\1\2\3/g;" \
969 -e "s/ inline / __inline__ /g" \ 967 -e "s/ inline / __inline__ /g" \
970 "$@" 968 "$@"
971} 969}
972 970
973# common functions 971# common functions

Legend:
Removed from v.1.183  
changed lines
  Added in v.1.184

  ViewVC Help
Powered by ViewVC 1.1.20