Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 241825 Details for
Bug 331599
app-admin/paxtest doesn't respect CC, LD and LDFLAGS (patch provided)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
patch
paxtest.patch (text/plain), 917 bytes, created by
Olivier Huber
on 2010-08-08 02:06:40 UTC
(
hide
)
Description:
patch
Filename:
MIME Type:
Creator:
Olivier Huber
Created:
2010-08-08 02:06:40 UTC
Size:
917 bytes
patch
obsolete
>--- paxtest-0.9.7_pre5.ebuild 2009-06-30 00:32:39.000000000 +0200 >+++ paxtest-0.9.7_pre5.ebuild 2010-08-08 03:46:43.000000000 +0200 >@@ -2,7 +2,9 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-admin/paxtest/paxtest-0.9.7_pre5.ebuild,v 1.1 2009/06/29 22:32:39 idl0r Exp $ > >-inherit eutils multilib >+EAPI=2 >+ >+inherit eutils multilib toolchain-funcs > > MY_P=${P/_/-} > >@@ -45,13 +47,14 @@ > usr/$(get_libdir)/${PN}/execbss > usr/$(get_libdir)/${PN}/anonmap" > >-src_unpack() { >- unpack ${A} >- cd "${S}" >- >+src_prepare() { > mv Makefile.psm Makefile || die > epatch "${FILESDIR}/${P}-Makefile.patch" \ > "${FILESDIR}/${P}-missing-includes.patch" >+ # respect CC, LD and LDFLAGS >+ sed -i "s/CC := gcc/CC := $(tc-getCC)/" Makefile >+ sed -i "s/LD := ld/LD := $(tc-getLD)/" Makefile >+ sed -i "s/LDFLAGS :=/LDFLAGS := ${LDFLAGS}/" Makefile > } > > src_compile() {
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 331599
: 241825