diff options
author | 2013-11-06 21:35:24 +0000 | |
---|---|---|
committer | 2013-11-06 21:35:24 +0000 | |
commit | b126dfabbe5ff9af4cb50f5648802348f94f2d56 (patch) | |
tree | 38be89c52e12f1fd06426ba491195d86cf3c33ea /games-board/hexxagon | |
parent | old (diff) | |
download | gentoo-2-b126dfabbe5ff9af4cb50f5648802348f94f2d56.tar.gz gentoo-2-b126dfabbe5ff9af4cb50f5648802348f94f2d56.tar.bz2 gentoo-2-b126dfabbe5ff9af4cb50f5648802348f94f2d56.zip |
old
(Portage version: 2.2.7/cvs/Linux x86_64, unsigned Manifest commit)
Diffstat (limited to 'games-board/hexxagon')
-rw-r--r-- | games-board/hexxagon/ChangeLog | 6 | ||||
-rw-r--r-- | games-board/hexxagon/files/hexxagon-1.0.1-gcc47.patch | 43 | ||||
-rw-r--r-- | games-board/hexxagon/hexxagon-1.0.1.ebuild | 31 |
3 files changed, 5 insertions, 75 deletions
diff --git a/games-board/hexxagon/ChangeLog b/games-board/hexxagon/ChangeLog index d457c261725c..5d5f163a4acf 100644 --- a/games-board/hexxagon/ChangeLog +++ b/games-board/hexxagon/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for games-board/hexxagon # Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/hexxagon/ChangeLog,v 1.37 2013/02/25 12:18:09 ago Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-board/hexxagon/ChangeLog,v 1.38 2013/11/06 21:35:24 mr_bones_ Exp $ + + 06 Nov 2013; Michael Sterrett <mr_bones_@gentoo.org> + -files/hexxagon-1.0.1-gcc47.patch, -hexxagon-1.0.1.ebuild: + old 25 Feb 2013; Agostino Sarubbo <ago@gentoo.org> hexxagon-1.0.2.ebuild: Stable for x86, wrt bug #458232 diff --git a/games-board/hexxagon/files/hexxagon-1.0.1-gcc47.patch b/games-board/hexxagon/files/hexxagon-1.0.1-gcc47.patch deleted file mode 100644 index c3836cc5d5b2..000000000000 --- a/games-board/hexxagon/files/hexxagon-1.0.1-gcc47.patch +++ /dev/null @@ -1,43 +0,0 @@ ---- src/gui/gtkhexxagonboard.cpp -+++ src/gui/gtkhexxagonboard.cpp -@@ -120,8 +120,8 @@ - posx += width * offset / 2; - posy += height * offset / 2; - -- int x = (int) round(posx) + xoff; -- int y = (int) round(posy) + yoff; -+ int displayx = (int) round(posx) + xoff; -+ int displayy = (int) round(posy) + yoff; - - int type; - LookUp lookup(bbMask); -@@ -155,10 +155,10 @@ - - Glib::RefPtr<Gdk::GC> gc = Gdk::GC::create(back); - gc->set_clip_mask(mask[type]); -- gc->set_clip_origin(x, y); -+ gc->set_clip_origin(displayx, displayy); - - if(back && map_board[type]) -- back->draw_drawable(gc, map_board[type], 0, 0, x, y, -1, -1); -+ back->draw_drawable(gc, map_board[type], 0, 0, displayx, displayy, -1, -1); - - cellNo++; - } -@@ -205,12 +205,12 @@ - posx += width * offset / 2; - posy += height * offset / 2; - -- int x = (int) round(posx + w / 2) + xoff; -- int y = (int) round(posy + h / 2) + yoff; -+ int displayx = (int) round(posx + w / 2) + xoff; -+ int displayy = (int) round(posy + h / 2) + yoff; - - // Now we got the place for cell cellNo -- double dx = inx - x; -- double dy = iny - y; -+ double dx = inx - displayx; -+ double dy = iny - displayy; - double a = (w/2)*(w/2); - double b = (h/2)*(h/2); - diff --git a/games-board/hexxagon/hexxagon-1.0.1.ebuild b/games-board/hexxagon/hexxagon-1.0.1.ebuild deleted file mode 100644 index 8649abfd00cf..000000000000 --- a/games-board/hexxagon/hexxagon-1.0.1.ebuild +++ /dev/null @@ -1,31 +0,0 @@ -# Copyright 1999-2012 Gentoo Foundation -# Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-board/hexxagon/hexxagon-1.0.1.ebuild,v 1.8 2012/07/07 23:10:25 tristan Exp $ - -EAPI=2 -inherit eutils games - -DESCRIPTION="Clone of the original DOS game" -HOMEPAGE="http://www.nesqi.se/" -SRC_URI="http://www.nesqi.se/download/${P}.tar.bz2" - -LICENSE="GPL-2" -SLOT="0" -KEYWORDS="amd64 ppc x86" -IUSE="" - -RDEPEND="dev-cpp/glibmm:2 - dev-cpp/gtkmm:2.4 - x11-libs/gtk+:2" -DEPEND="${RDEPEND} - virtual/pkgconfig" - -PATCHES=( "${FILESDIR}"/${P}-gcc47.patch ) - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" - newicon images/board_N_2.xpm ${PN}.xpm - make_desktop_entry ${PN} Hexxagon - dodoc README - prepgamesdirs -} |