Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 260876
Collapse All | Expand All

(-)kqemu-1.3.0_pre11.ebuild (+7 lines)
Lines 31-36 Link Here
31
	cd ${S}
31
	cd ${S}
32
	epatch ${FILESDIR}/${P}-sched_h.patch
32
	epatch ${FILESDIR}/${P}-sched_h.patch
33
	sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' kqemu-linux.c
33
	sed -i 's:MODULE_PARM(\([^,]*\),"i");:module_param(\1, int, 0);:' kqemu-linux.c
34
35
	# strip -Werror CFLAGS from Makefile, see #260876
36
	sed -i \
37
		-e 's/^TOOLS_CFLAGS=\(.* \)\?-Werror\( .*\)\?$/TOOLS_CFLAGS=\1 \2/' \
38
		-e 's/^COMMON_CFLAGS=\(.* \)\?-Werror\( .*\)\?$/COMMON_CFLAGS=\1 \2/' \
39
		common/Makefile \
40
		|| die "failed to strip -Werror CFLAGS from Makefile"
34
}
41
}
35
42
36
src_compile() {
43
src_compile() {

Return to bug 260876