Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 330530 Details for
Bug 409815
sys-freebsd/boot0-9.0 fails to build with USE=zfs and either Clang or GCC 4.6
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
sample patch for boot0-9.1_rc3.ebuild
409815-new.patch (text/plain), 976 bytes, created by
Yuta SATOH
on 2012-11-25 11:41:21 UTC
(
hide
)
Description:
sample patch for boot0-9.1_rc3.ebuild
Filename:
MIME Type:
Creator:
Yuta SATOH
Created:
2012-11-25 11:41:21 UTC
Size:
976 bytes
patch
obsolete
>--- boot0-9.1_rc3.ebuild.orig 2012-11-06 21:52:54.000000000 +0900 >+++ boot0-9.1_rc3.ebuild 2012-11-25 20:33:38.918083000 +0900 >@@ -34,7 +34,23 @@ > } > > src_prepare() { >- sed -e '/-fomit-frame-pointer/d' -e '/-mno-align-long-strings/d' \ >+ #gcc 4.6 support >+ if [ `echo $(tc-getCC) | grep gcc` ] ; then >+ GCCVER=`$(tc-getCC) -dumpversion` >+ GCCMAJOR=`echo ${GCCVER} | cut -f1 -d.` >+ GCCMINOR=`echo ${GCCVER} | cut -f2 -d.` >+ if [[ ${GCCMAJOR} -eq 4 && ${GCCMINOR} -ge 6 ]] ; then >+ einfo "Detect gcc-4.6 or later version." >+ epatch "${FILESDIR}"/${PN}-9.1-gcc46.patch >+ sed -i -e '/-m elf_i386_fbsd/d' "${S}"/i386/Makefile.inc || die >+ for dir in boot2 gptboot gptzfsboot zfsboot; do >+ sed -i -e 's:^LDFLAGS=\(.*\):LDFLAGS=\1 -m elf_i386_fbsd:' \ >+ "${S}"/i386/${dir}/Makefile || die >+ done >+ fi >+ fi >+ >+ sed -e '/-mno-align-long-strings/d' \ > -i "${S}"/i386/boot2/Makefile \ > -i "${S}"/i386/gptboot/Makefile \ > -i "${S}"/i386/gptzfsboot/Makefile \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 409815
:
306809
|
313301
|
315285
|
315343
|
330476
|
330478
|
330530
|
330604
|
355870