diff options
author | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-01-22 17:07:54 +0000 |
---|---|---|
committer | Jörg Bornkessel <hd_brummy@gentoo.org> | 2007-01-22 17:07:54 +0000 |
commit | 6e17bdfd5d6051cbe04caf3944d683414991df65 (patch) | |
tree | 1812f7f68f12be780dddaae60e8c7d1bdcd88a1d /media-video/m2vrequantizer | |
parent | Added ~ppc64; bug #159820 (diff) | |
download | gentoo-2-6e17bdfd5d6051cbe04caf3944d683414991df65.tar.gz gentoo-2-6e17bdfd5d6051cbe04caf3944d683414991df65.tar.bz2 gentoo-2-6e17bdfd5d6051cbe04caf3944d683414991df65.zip |
fixed amd64 compile problems; thanks to Mirko Guenther
(Portage version: 2.1.1-r2)
Diffstat (limited to 'media-video/m2vrequantizer')
-rw-r--r-- | media-video/m2vrequantizer/ChangeLog | 6 | ||||
-rw-r--r-- | media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild | 12 |
2 files changed, 14 insertions, 4 deletions
diff --git a/media-video/m2vrequantizer/ChangeLog b/media-video/m2vrequantizer/ChangeLog index 2e42ea9dd185..9f88d2ed9d11 100644 --- a/media-video/m2vrequantizer/ChangeLog +++ b/media-video/m2vrequantizer/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for media-video/m2vrequantizer # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/ChangeLog,v 1.3 2007/01/16 14:51:57 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/ChangeLog,v 1.4 2007/01/22 17:07:54 hd_brummy Exp $ + + 22 Jan 2007; Joerg Bornkessel <hd_brummy@gentoo.org> + m2vrequantizer-20060306.ebuild: + fixed amd64 compile problems; thanks to Mirko Guenther *m2vrequantizer-0.0.1 (16 Jan 2007) diff --git a/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild b/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild index cc1d19a26bcf..e888430106f0 100644 --- a/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild +++ b/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild,v 1.2 2007/01/15 16:50:31 hd_brummy Exp $ +# $Header: /var/cvsroot/gentoo-x86/media-video/m2vrequantizer/m2vrequantizer-20060306.ebuild,v 1.3 2007/01/22 17:07:54 hd_brummy Exp $ MY_P="${PN/m2vr/M2VR}-${PV}" @@ -17,9 +17,15 @@ DEPEND="!media-video/requant" S=${WORKDIR}/M2VRequantiser -src_compile() { +src_unpack() { + + unpack ${A} + cd ${S} - einfo ${S} + sed -i "s:#elif defined(__i386__):#elif defined(__i386__) || defined(__amd64__):" main.c +} + +src_compile() { gcc -c ${CFLAGS} main.c -o requant.o gcc ${CFLAGS} requant.o -o requant -lm |