1 |
nyhm 08/09/01 23:01:10 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: nestra-0.66-r2.ebuild |
5 |
Log: |
6 |
Fix implicit declarations and linking on amd64, bug #206375 |
7 |
(Portage version: 2.2_rc8/cvs/Linux 2.6.26.3 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.14 games-emulation/nestra/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/nestra/ChangeLog?rev=1.14&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/nestra/ChangeLog?rev=1.14&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/nestra/ChangeLog?r1=1.13&r2=1.14 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/games-emulation/nestra/ChangeLog,v |
19 |
retrieving revision 1.13 |
20 |
retrieving revision 1.14 |
21 |
diff -u -r1.13 -r1.14 |
22 |
--- ChangeLog 1 Dec 2006 21:31:46 -0000 1.13 |
23 |
+++ ChangeLog 1 Sep 2008 23:01:09 -0000 1.14 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for games-emulation/nestra |
26 |
-# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestra/ChangeLog,v 1.13 2006/12/01 21:31:46 wolf31o2 Exp $ |
28 |
+# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
29 |
+# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestra/ChangeLog,v 1.14 2008/09/01 23:01:09 nyhm Exp $ |
30 |
+ |
31 |
+*nestra-0.66-r2 (01 Sep 2008) |
32 |
+ |
33 |
+ 01 Sep 2008; Tristan Heaven <nyhm@g.o> |
34 |
+ +files/nestra-0.66-include.patch, +nestra-0.66-r2.ebuild: |
35 |
+ Fix implicit declarations and linking on amd64, bug #206375 |
36 |
|
37 |
01 Dec 2006; Chris Gianelloni <wolf31o2@g.o> nestra-0.66-r1.ebuild: |
38 |
Removing old virtual/x11 dependency. |
39 |
|
40 |
|
41 |
|
42 |
1.1 games-emulation/nestra/nestra-0.66-r2.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/nestra/nestra-0.66-r2.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/games-emulation/nestra/nestra-0.66-r2.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: nestra-0.66-r2.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/games-emulation/nestra/nestra-0.66-r2.ebuild,v 1.1 2008/09/01 23:01:09 nyhm Exp $ |
52 |
|
53 |
inherit eutils toolchain-funcs flag-o-matic multilib games |
54 |
|
55 |
PATCH="${P/-/_}-10.diff" |
56 |
DESCRIPTION="NES emulation for Linux/x86" |
57 |
HOMEPAGE="http://nestra.linuxgames.com/" |
58 |
SRC_URI="http://nestra.linuxgames.com/${P}.tar.gz |
59 |
mirror://debian/pool/contrib/n/nestra/${PATCH}.gz" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~amd64 ~x86" |
64 |
IUSE="" |
65 |
|
66 |
DEPEND="amd64? ( app-emulation/emul-linux-x86-xlibs ) |
67 |
x11-libs/libX11" |
68 |
|
69 |
S=${WORKDIR}/${PN} |
70 |
|
71 |
src_unpack() { |
72 |
unpack ${A} |
73 |
cd "${S}" |
74 |
epatch \ |
75 |
"${WORKDIR}"/${PATCH} \ |
76 |
"${FILESDIR}"/${P}-exec-stack.patch \ |
77 |
"${FILESDIR}"/${P}-include.patch |
78 |
append-ldflags -Wl,-z,noexecstack |
79 |
use amd64 && multilib_toolchain_setup x86 |
80 |
sed -i \ |
81 |
-e "s:-L/usr/X11R6/lib:${LDFLAGS}:" \ |
82 |
-e 's:-O2 ::' \ |
83 |
-e "s:gcc:$(tc-getCC) ${CFLAGS}:" \ |
84 |
-e "s:ld:$(tc-getLD) -m elf_i386 $(raw-ldflags):" \ |
85 |
Makefile \ |
86 |
|| die "sed failed" |
87 |
} |
88 |
|
89 |
src_compile() { |
90 |
use amd64 && multilib_toolchain_setup x86 |
91 |
games_src_compile |
92 |
} |
93 |
|
94 |
src_install() { |
95 |
dogamesbin nestra || die "dogamesbin failed" |
96 |
dodoc BUGS CHANGES README |
97 |
doman nestra.6 |
98 |
prepgamesdirs |
99 |
} |