/[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.185 Revision 1.186
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.185 2006/08/01 01:31:19 vapier Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/kernel-2.eclass,v 1.186 2006/08/04 04:24:22 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 '/^\#define.*TYPES_H/{:loop n; bloop}' \ 965 -e '/^\#define.*_TYPES_H/{:loop n; bloop}' \
966 -e 's:\<\([us]\(8\|16\|32\|64\)\)\>:__\1:g' \ 966 -e 's:\<\([us]\(8\|16\|32\|64\)\)\>:__\1:g' \
967 -e "s/ inline / __inline__ /g" \ 967 -e "s/ inline / __inline__ /g" \
968 "$@" 968 "$@"
969} 969}
970 970

Legend:
Removed from v.1.185  
changed lines
  Added in v.1.186

  ViewVC Help
Powered by ViewVC 1.1.20