diff options
author | Geert Bevin <gbevin@gentoo.org> | 2002-04-07 11:17:15 +0000 |
---|---|---|
committer | Geert Bevin <gbevin@gentoo.org> | 2002-04-07 11:17:15 +0000 |
commit | 0ee8154a345104b34aaf49720a3e69a41187be42 (patch) | |
tree | 9efe5184df104c48c5ce334c3c88ba160e34af9b /dev-java | |
parent | gcc 3 fixes (diff) | |
download | gentoo-2-0ee8154a345104b34aaf49720a3e69a41187be42.tar.gz gentoo-2-0ee8154a345104b34aaf49720a3e69a41187be42.tar.bz2 gentoo-2-0ee8154a345104b34aaf49720a3e69a41187be42.zip |
gcc3 related fixes
Diffstat (limited to 'dev-java')
-rw-r--r-- | dev-java/jikes/ChangeLog | 7 | ||||
-rw-r--r-- | dev-java/jikes/files/jikes-1.15-gcc3.patch | 20 | ||||
-rw-r--r-- | dev-java/jikes/jikes-1.15.ebuild | 15 |
3 files changed, 37 insertions, 5 deletions
diff --git a/dev-java/jikes/ChangeLog b/dev-java/jikes/ChangeLog index 87d699d68ce2..b943ecffb323 100644 --- a/dev-java/jikes/ChangeLog +++ b/dev-java/jikes/ChangeLog @@ -1,7 +1,12 @@ # ChangeLog for dev-java/jikes # Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL -# $Header: /var/cvsroot/gentoo-x86/dev-java/jikes/ChangeLog,v 1.1 2002/02/01 21:53:11 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jikes/ChangeLog,v 1.2 2002/04/07 11:17:15 gbevin Exp $ + 07 04 2002; G.Bevin <gbevin@gentoo.org> jikes-1.15.ebuild, + files/jikes-1.15-gcc3.patch : + + Gcc3 related fixes. + *jikes-1.15 (1 Feb 2002) 1 Feb 2002; G.Bevin <gbevin@gentoo.org> ChangeLog : diff --git a/dev-java/jikes/files/jikes-1.15-gcc3.patch b/dev-java/jikes/files/jikes-1.15-gcc3.patch new file mode 100644 index 000000000000..4892c06ff47b --- /dev/null +++ b/dev-java/jikes/files/jikes-1.15-gcc3.patch @@ -0,0 +1,20 @@ +--- jikes-1.15/src/double.h_orig 2002-04-07 13:13:05.000000000 +0200 ++++ jikes-1.15/src/double.h 2002-04-07 13:13:52.000000000 +0200 +@@ -112,7 +112,7 @@ + POS_ZERO = 0x00000000, // 0.0 + NEG_INF = 0xFF800000, // -Inf + POS_INF = 0x7F800000, // +Inf +- NAN = 0x7FC00000, // canonical NaN ++ L_NAN = 0x7FC00000, // canonical NaN + BYTE_MASK = 0x000000FF, // mask off least significant byte + MAX_INT = 0x7FFFFFFF, // maximum integer + MIN_INT = 0x80000000, // minimum integer +@@ -184,7 +184,7 @@ + // Note: the (u4) cast is necessary to prevent MSVC from promoting the + // enum constants to integer, which causes an infinite loop. + static inline const IEEEfloat +- NaN(void) { return IEEEfloat((u4)NAN); } ++ NaN(void) { return IEEEfloat((u4)L_NAN); } + static inline const IEEEfloat + POSITIVE_INFINITY(void) { return IEEEfloat((u4)POS_INF); } + static inline const IEEEfloat diff --git a/dev-java/jikes/jikes-1.15.ebuild b/dev-java/jikes/jikes-1.15.ebuild index e5564d3a2238..44abe73cb207 100644 --- a/dev-java/jikes/jikes-1.15.ebuild +++ b/dev-java/jikes/jikes-1.15.ebuild @@ -1,7 +1,7 @@ # Copyright 1999-2000 Gentoo Technologies, Inc. # Distributed under the terms of the GNU General Public License, v2 or later # Author Naresh Donti <ndonti@hotmail.com> -# $Header: /var/cvsroot/gentoo-x86/dev-java/jikes/jikes-1.15.ebuild,v 1.1 2001/12/05 02:16:28 gbevin Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-java/jikes/jikes-1.15.ebuild,v 1.2 2002/04/07 11:17:15 gbevin Exp $ A=jikes-1.15.tar.gz S=${WORKDIR}/${P} @@ -11,13 +11,20 @@ HOMEPAGE="http://oss.software.ibm.com/developerworks/opensource/jikes/" DEPEND="virtual/glibc" +src_unpack() { + + unpack ${A} + patch -p0 < ${FILESDIR}/jikes-1.15-gcc3.patch || die + +} + src_compile() { - try ./configure --prefix=/usr/ --mandir=/usr/share/man --host=${CHOST} - try make + ./configure --prefix=/usr/ --mandir=/usr/share/man --host=${CHOST} || die + emake || die } src_install () { - try make DESTDIR=${D} install + make DESTDIR=${D} install || die dodoc ChangeLog COPYING AUTHORS README TODO NEWS mv ${D}/usr/doc/${P} ${D}/usr/share/doc/${PF}/html rm -rf ${D}/usr/doc |