Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 295829 Details for
Bug 335526
media-gfx/jpeg2ps does not respect LDFLAGS
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
jpeg2ps-ldflags.patch
jpeg2ps-ldflags.patch (text/plain), 1.23 KB, created by
Michael Palimaka (kensington)
on 2011-12-14 17:21:11 UTC
(
hide
)
Description:
jpeg2ps-ldflags.patch
Filename:
MIME Type:
Creator:
Michael Palimaka (kensington)
Created:
2011-12-14 17:21:11 UTC
Size:
1.23 KB
patch
obsolete
>--- jpeg2ps-1.9-r1.ebuild >+++ jpeg2ps-1.9-r1.ebuild >@@ -1,7 +1,9 @@ >-# Copyright 1999-2010 Gentoo Foundation >+# Copyright 1999-2011 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/media-gfx/jpeg2ps/jpeg2ps-1.9-r1.ebuild,v 1.18 2010/01/07 22:11:46 fauli Exp $ > >+EAPI=4 >+ > inherit eutils toolchain-funcs > > DESCRIPTION="Converts JPEG images to Postscript using a wrapper" >@@ -16,25 +18,25 @@ > DEPEND="sys-apps/sed" > RDEPEND="" > >-src_unpack() { >- unpack ${A} >- >+src_prepare() { > #bug 105561 > epatch "${FILESDIR}"/${P}-include.diff >+ sed -i -e "/^LDFLAGS/d" Makefile || die "sed Makefile failed" > } > > src_compile() { > pagesize="" > use metric && pagesize="-DA4" >- emake CFLAGS="-c ${CFLAGS} ${pagesize}" CC="$(tc-getCC)" || die "emake failed" >+ # LD=$(tc-getCC) is not a typo - broken Makefile >+ emake CFLAGS="-c ${CFLAGS} ${pagesize}" CC="$(tc-getCC)" LD="$(tc-getCC)" > } > > src_install() { > # The Makefile is hard-coded to install to /usr/local/ so we > # simply copy the files manually >- dobin jpeg2ps || die "dobin failed" >- doman jpeg2ps.1 || die "doman failed" >- dodoc jpeg2ps.txt || die "dodoc failed" >+ dobin jpeg2ps >+ doman jpeg2ps.1 >+ dodoc jpeg2ps.txt > } > > 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 335526
:
245605
| 295829