ottxor 14/04/14 21:01:56 Modified: llvm-9999.ebuild llvm-3.4-r2.ebuild ChangeLog Log: add prefix include path for kernel headers (bug #505908) (Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key C2000586)
Revision Changes Path 1.85 sys-devel/llvm/llvm-9999.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.85&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?rev=1.85&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild?r1=1.84&r2=1.85 Index: llvm-9999.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v retrieving revision 1.84 retrieving revision 1.85 diff -u -r1.84 -r1.85 --- llvm-9999.ebuild 12 Apr 2014 09:44:01 -0000 1.84 +++ llvm-9999.ebuild 14 Apr 2014 21:01:56 -0000 1.85 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.84 2014/04/12 09:44:01 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-9999.ebuild,v 1.85 2014/04/14 21:01:56 ottxor Exp $ EAPI=5 @@ -167,6 +167,11 @@ epatch "${FILESDIR}"/${PN}-3.5-gentoo-install.patch use clang && epatch "${FILESDIR}"/clang-3.5-gentoo-install.patch + if use prefix && use clang; then + sed -e "/^CFLAGS /s@-Werror@-I${EPREFIX}/usr/include@" \ + -i 'projects/compiler-rt/make/platform/clang_linux.mk' || die + fi + local sub_files=( Makefile.config.in Makefile.rules 1.2 sys-devel/llvm/llvm-3.4-r2.ebuild file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-3.4-r2.ebuild?rev=1.2&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-3.4-r2.ebuild?rev=1.2&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/llvm-3.4-r2.ebuild?r1=1.1&r2=1.2 Index: llvm-3.4-r2.ebuild =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-3.4-r2.ebuild,v retrieving revision 1.1 retrieving revision 1.2 diff -u -r1.1 -r1.2 --- llvm-3.4-r2.ebuild 10 Apr 2014 19:35:36 -0000 1.1 +++ llvm-3.4-r2.ebuild 14 Apr 2014 21:01:56 -0000 1.2 @@ -1,6 +1,6 @@ # Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-3.4-r2.ebuild,v 1.1 2014/04/10 19:35:36 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/llvm-3.4-r2.ebuild,v 1.2 2014/04/14 21:01:56 ottxor Exp $ EAPI=5 @@ -175,6 +175,11 @@ epatch "${FILESDIR}"/clang-3.4-gentoo-install.patch fi + if use prefix && use clang; then + sed -e "/^CFLAGS /s@-Werror@-I${EPREFIX}/usr/include@" \ + -i 'projects/compiler-rt/make/platform/clang_linux.mk' || die + fi + local sub_files=( Makefile.config.in Makefile.rules 1.190 sys-devel/llvm/ChangeLog file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.190&view=markup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?rev=1.190&content-type=text/plain diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-devel/llvm/ChangeLog?r1=1.189&r2=1.190 Index: ChangeLog =================================================================== RCS file: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v retrieving revision 1.189 retrieving revision 1.190 diff -u -r1.189 -r1.190 --- ChangeLog 12 Apr 2014 09:44:01 -0000 1.189 +++ ChangeLog 14 Apr 2014 21:01:56 -0000 1.190 @@ -1,6 +1,10 @@ # ChangeLog for sys-devel/llvm # Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.189 2014/04/12 09:44:01 mgorny Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-devel/llvm/ChangeLog,v 1.190 2014/04/14 21:01:56 ottxor Exp $ + + 14 Apr 2014; Christoph Junghans <[email protected]> llvm-3.4-r2.ebuild, + llvm-9999.ebuild: + add prefix include path for kernel headers (bug #505908) 12 Apr 2014; Michał Górny <[email protected]> llvm-9999.ebuild: Remove the cmake hack since upstream started installing cmake files from
