Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 204289 Details for
Bug 284957
sys-libs/klibc-1.5.15: savedconfig and extra functionality
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
ebuild-move-fns-up.patch
ebuild-move-fns-up.patch (text/plain), 1.96 KB, created by
Christopher Friedt
on 2009-09-16 07:30:49 UTC
(
hide
)
Description:
ebuild-move-fns-up.patch
Filename:
MIME Type:
Creator:
Christopher Friedt
Created:
2009-09-16 07:30:49 UTC
Size:
1.96 KB
patch
obsolete
>--- klibc-1.5.15.ebuild_orig 2009-09-15 20:57:52.983106698 -0400 >+++ klibc-1.5.15.ebuild 2009-09-15 21:21:00.495106639 -0400 >@@ -51,6 +51,31 @@ > # Do not strip > RESTRICT="strip" > >+kernel_asm_arch() { >+ a="${1:${ARCH}}" >+ case ${a} in >+ # Merged arches >+ x86|amd64) echo x86 ;; >+ ppc*) echo powerpc ;; >+ # Non-merged >+ alpha|arm|ia64|m68k|mips|sh|sparc*) echo ${1} ;; >+ *) die "TODO: Update the code for your asm-ARCH symlink" ;; >+ esac >+} >+ >+# For a given Gentoo ARCH, >+# specify the kernel defconfig most relevant >+kernel_defconfig() { >+ a="${1:${ARCH}}" >+ # most, but not all arches have a sanely named defconfig >+ case ${a} in >+ ppc64) echo ppc64_defconfig ;; >+ ppc) echo pmac32_defconfig ;; >+ sh*) die "TODO: Your arch is not supported by the klibc ebuild. Please suggest a defconfig in a bug." ;; >+ *) echo defconfig ;; >+ esac >+} >+ > src_unpack() { > unpack linux-${OKV}.tar.bz2 ${P}.tar.bz2 > [ -n "${PKV}" ] && EPATCH_OPTS="-d ${KS} -p1" epatch "${DISTDIR}"/patch-${PKV}.bz2 >@@ -79,19 +104,6 @@ > epatch "${FILESDIR}"/${PN}-1.5.11-x86_64-io.h-return.diff > } > >-# For a given Gentoo ARCH, >-# specify the kernel defconfig most relevant >-kernel_defconfig() { >- a="${1:${ARCH}}" >- # most, but not all arches have a sanely named defconfig >- case ${a} in >- ppc64) echo ppc64_defconfig ;; >- ppc) echo pmac32_defconfig ;; >- sh*) die "TODO: Your arch is not supported by the klibc ebuild. Please suggest a defconfig in a bug." ;; >- *) echo defconfig ;; >- esac >-} >- > # klibc has it's own ideas of arches > # They reflect userspace strictly. > # This functions maps from a Gentoo ARCH, to an arch that klibc expects >@@ -106,18 +118,6 @@ > esac > } > >-kernel_asm_arch() { >- a="${1:${ARCH}}" >- case ${a} in >- # Merged arches >- x86|amd64) echo x86 ;; >- ppc*) echo powerpc ;; >- # Non-merged >- alpha|arm|ia64|m68k|mips|sh|sparc*) echo ${1} ;; >- *) die "TODO: Update the code for your asm-ARCH symlink" ;; >- esac >-} >- > src_compile() { > local myargs="all" > local myARCH="${ARCH}" myABI="${ABI}"
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 284957
:
204076
|
204078
|
204079
|
204080
|
204084
|
204086
|
204087
|
204089
|
204130
|
204289
|
204291