Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 290527 Details for
Bug 387843
games-emulation/visualboyadvance fails to build with latest zlib
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Quick fix to compile with latest zlib
visualboyadvance-1.7.2-r2.ebuild (text/plain), 2.14 KB, created by
Samuel Bauer
on 2011-10-22 17:30:56 UTC
(
hide
)
Description:
Quick fix to compile with latest zlib
Filename:
MIME Type:
Creator:
Samuel Bauer
Created:
2011-10-22 17:30:56 UTC
Size:
2.14 KB
patch
obsolete
># Copyright 1999-2011 Gentoo Foundation ># Distributed under the terms of the GNU General Public License v2 ># $Header: /var/cvsroot/gentoo-x86/games-emulation/visualboyadvance/visualboyadvance-1.7.2-r2.ebuild,v 1.6 2011/09/14 16:41:43 ssuominen Exp $ > >EAPI=2 >inherit eutils flag-o-matic games > >DESCRIPTION="gameboy, gameboy color, and gameboy advance emulator" >HOMEPAGE="http://vba.ngemu.com/" >SRC_URI="mirror://sourceforge/vba/VisualBoyAdvance-src-${PV}.tar.gz > mirror://gentoo/${P}-deprecatedsigc++.patch.bz2" > >LICENSE="GPL-2" >SLOT="0" >KEYWORDS="amd64 ppc x86" >IUSE="gtk mmx nls" > >RDEPEND="media-libs/libpng > media-libs/libsdl > gtk? ( > >=x11-libs/gtk+-2.4:2 > >=dev-cpp/gtkmm-2.4:2.4 > >=dev-cpp/libglademm-2.4:2.4 > ) > nls? ( virtual/libintl )" >DEPEND="${RDEPEND} > dev-util/pkgconfig > mmx? ( dev-lang/nasm ) > nls? ( sys-devel/gettext )" > >S=${WORKDIR}/VisualBoyAdvance-${PV} > >src_prepare() { > sed -i \ > -e 's:$(localedir):/usr/share/locale:' \ > -e 's:$(datadir)/locale:/usr/share/locale:' \ > $(find . -name 'Makefile.in*') \ > || die "sed failed" > > cat >> src/i386/2xSaImmx.asm <<-EOF > %ifidn __OUTPUT_FORMAT__,elf > section .note.GNU-stack noalloc noexec nowrite progbits > %endif > EOF > > epatch \ > "${FILESDIR}"/${PV}-homedir.patch \ > "${FILESDIR}"/${PV}-gcc34.patch \ > "${FILESDIR}"/${PV}-gcc41.patch \ > "${WORKDIR}"/${P}-deprecatedsigc++.patch \ > "${FILESDIR}"/${P}-uninit.patch \ > "${FILESDIR}"/${P}-glibc2.10.patch \ > "${FILESDIR}"/${P}-ovflfix.patch \ > "${FILESDIR}"/${P}-libpng15.patch > > sed -i '1i#ifndef OF\n#define OF(args) args\n#endif' src/unzip.h win32/include/zlib/zutil.h src/memgzio.c src/unzip.cpp >} > >src_configure() { > # -O3 causes GCC to behave badly and hog memory, bug #64670. > replace-flags -O3 -O2 > > # Removed --enable-c-core as it *should* determine this based on arch > egamesconf \ > --disable-dependency-tracking \ > $(use_with mmx) \ > $(use_enable gtk gtk 2.4) \ > $(use_enable nls) \ > || die >} > >src_install() { > emake DESTDIR="${D}" install || die "emake install failed" > dodoc AUTHORS ChangeLog NEWS README README-win.txt > if use gtk ; then > newicon src/gtk/images/vba-64.png ${PN}.png > make_desktop_entry gvba VisualBoyAdvance > fi > prepgamesdirs >}
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 Raw
Actions:
View
Attachments on
bug 387843
:
290351
| 290527 |
291073