i found this great game but there is no ebuild for it yet. the game: http://kralovstvi.sourceforge.net/ dependencies: http://sourceforge.net/forum/forum.php?thread_id=1602818&forum_id=329816 Reproducible: Always Steps to Reproduce:
$ cat /var/portage/local/games-strategy/8Kingdoms/8Kingdoms-1.0.0.ebuild # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $ inherit eutils toolchain-funcs flag-o-matic games DESCRIPTION="Eight kingdoms" HOMEPAGE="http://kralovstvi.sourceforge.net/" SRC_URI="http://kent.dl.sourceforge.net/sourceforge/kralovstvi/8Kingdoms-${PV}.tar.gz" LICENSE="GNU General Public License (GPL)" IUSE="" KEYWORDS="~x86 ~amd64" RESTRICT="strip nomirror" DEPEND="media-libs/libsdl media-libs/sdl-mixer dev-libs/expat dev-tcltk/tcllib"
*** Bug 186335 has been marked as a duplicate of this bug. ***
Why was this resolved?
Created attachment 125743 [details] 8kingdoms-1.1.0.ebuild The ebuild, again.
Builds for me without dev-tcltk/tcllib but I *do* have dev-lang/tcl installed. Are you sure it needs tcllib?
Created attachment 125976 [details] games-strategy/8kingdoms-1.1.0.ebuild Looks like it depends only on dev-lang/tcl as Mr. Bones noticed. Works also for me without tcllib. Updated ebuild included.
it is working fine here
can this ebuild be included in portage?
http://www.gentoo.org/proj/en/desktop/games/#doc_chap5_sect10
what do you mean? the KEYWORDS are there in the ebuild. basically ~x86 but also ~AMD64.
I got errors like this compiling it on amd64 world/world_server.cpp:2035: error: cast from 'void*' to 'int' loses precision This is with gcc-4.2
i created the ebuild file, ran: ebuild 8kingdoms-1.1.0.ebuild digest that returned: SLOT is undefined so had to add SLOT="0"
world/world_server.cpp:2035: error: cast from ‘void*’ to ‘int’ loses precision world/world_server.cpp:2046: error: cast from ‘void*’ to ‘int’ loses precision world/world_server.cpp:2102: error: cast from ‘void*’ to ‘int’ loses precision world/world_server.cpp:2113: error: cast from ‘void*’ to ‘int’ loses precision on x86_64-pc-linux-gnu-4.2.3 :(
You can see fixes for the 64-bit compile errors at http://sourceforge.net/tracker/?func=detail&aid=2838303&group_id=95208&atid=610582 and and http://sourceforge.net/tracker/?func=detail&aid=2695734&group_id=95208&atid=610582.