Summary: | games-emulation/gens patch for amd64 | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | haarp <main.haarp> |
Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | maniac, reagentoo, remy, salikov.alexey, shentino |
Priority: | Normal | Keywords: | KEYWORDREQ, PATCH |
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: |
gens amd64 and menu entry patch
ebuild gens build gens-2.15.5-r1.ebuild |
Description
haarp
2012-11-05 13:48:46 UTC
@games, how sounds this for you? (In reply to comment #1) > @games, how sounds this for you? No response, cc back us if you need a double-check amd64 compilation recently broke again. configure complains about 'conftest.c(12): catastrophic error: cannot open source file "gtk/gtk.h"' I have no idea why or how to fix it, though... What worked for me was commenting out the line with multilib_toolchain_setup and appending -m32 to CFLAGS. A bit ugly, but it makes the error go away. (In reply to Michał Ziąbkowski from comment #4) > What worked for me was commenting out the line with multilib_toolchain_setup > and appending -m32 to CFLAGS. A bit ugly, but it makes the error go away. That's roughly what multilib_toolchain_setup is doing, too. I tried your way, but unfortunately it bails out aswell: checking for GTK+ - version >= 2.4.0... *** 'pkg-config --modversion gtk+-2.0' returned 2.24.25, but GTK+ (2.24.23) *** was found! If pkg-config was correct, then it is best *** to remove the old version of GTK+. You may also be able to fix the error *** by modifying your LD_LIBRARY_PATH enviroment variable, or by editing *** /etc/ld.so.conf. Make sure you have run ldconfig if that is *** required on your system. *** If pkg-config was wrong, set the environment variable PKG_CONFIG_PATH *** to point to the correct configuration files no configure: error: *** GTK+ version 2.4.0 not found! Created attachment 438820 [details]
ebuild
Created attachment 438822 [details]
gens build
Created attachment 445426 [details]
gens-2.15.5-r1.ebuild
Here is cronolio's ebuild updated with pax-markings to make it work on my hardened system.
Works pretty fine for me.
At this point I would actually suggest to deprecate gens in favor of gens-gs, which works fine on amd64. There are some overlays which carry it. I dunno...I'm not really in favor of deprecating stuff just because it appears in an overlay. [master ad515498b9d9] games-emulation/gens: Drop games.eclass, add amd64 support (#441876) 4 files changed, 54 insertions(+), 6 deletions(-) create mode 100644 games-emulation/gens/gens-2.15.5-r1.ebuild *** Bug 624358 has been marked as a duplicate of this bug. *** |