Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 165840 Details for
Bug 238106
sys-kernel/kerneloops doesn't respect CFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
kerneloops-0.12.diff
kerneloops-0.12.diff (text/plain), 1.29 KB, created by
Justin Lecher (RETIRED)
on 2008-09-19 13:29:35 UTC
(
hide
)
Description:
kerneloops-0.12.diff
Filename:
MIME Type:
Creator:
Justin Lecher (RETIRED)
Created:
2008-09-19 13:29:35 UTC
Size:
1.29 KB
patch
obsolete
>--- kerneloops-0.12.ebuild 2008-09-19 15:14:02.000000000 +0200 >+++ kerneloops-0.12-r1.ebuild 2008-09-19 15:27:11.000000000 +0200 >@@ -2,7 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/sys-kernel/kerneloops/kerneloops-0.12.ebuild,v 1.1 2008/09/15 22:38:48 gregkh Exp $ > >-inherit eutils >+inherit eutils toolchain-funcs flag-o-matic > > DESCRIPTION="Tool to automatically collect and submit Linux kernel crash signatures" > HOMEPAGE="http://www.kerneloops.org/" >@@ -19,14 +19,19 @@ > dev-util/desktop-file-utils" > RDEPEND="${DEPEND}" > >-src_unpack() { >- unpack ${A} >- cd "${WORKDIR}" >-} >- > src_compile() { >- emake kerneloops || die "Compile deamon failed" >- emake kerneloops-applet || die "Compile applet failed" >+ >+ append-flags -fstack-protector -D_FORTIFY_SOURCE=2 -fno-common >+ >+ emake \ >+ CFLAGS="${CFLAGS}" \ >+ CC="$(tc-getCC)" \ >+ kerneloops || die "Compile deamon failed" >+ >+ emake \ >+ CFLAGS="${CFLAGS}" \ >+ CC="$(tc-getCC)" \ >+ kerneloops-applet || die "Compile applet failed" > } > > src_install() { >@@ -36,6 +41,13 @@ > > doinitd "${FILESDIR}"/kerneloops || die "doinitd failed" > >+ cat >> "${T}"/kerneloops <<- EOF >+ >+ # Change this according to your syslogger >+ LOGFILE="/var/log/messages" >+ EOF >+ >+ doconfd "${T}"/kerneloops > } > > pkg_postinst() {
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 238106
: 165840 |
166814
|
166816
|
166929