diff options
author | Luca Barbato <lu_zero@gentoo.org> | 2005-10-05 22:59:45 +0000 |
---|---|---|
committer | Luca Barbato <lu_zero@gentoo.org> | 2005-10-05 22:59:45 +0000 |
commit | abbbceef53ff69f4fd183ba3ac81c9563db4019d (patch) | |
tree | 8d47bef2d8e357d31cce1eeb4f1f83c65af6e999 /sys-libs/libfreevec | |
parent | trim whitespace (diff) | |
download | historical-abbbceef53ff69f4fd183ba3ac81c9563db4019d.tar.gz historical-abbbceef53ff69f4fd183ba3ac81c9563db4019d.tar.bz2 historical-abbbceef53ff69f4fd183ba3ac81c9563db4019d.zip |
Fixes and workarounds
Package-Manager: portage-1.589-cvs
Diffstat (limited to 'sys-libs/libfreevec')
-rw-r--r-- | sys-libs/libfreevec/ChangeLog | 7 | ||||
-rw-r--r-- | sys-libs/libfreevec/Manifest | 8 | ||||
-rw-r--r-- | sys-libs/libfreevec/files/digest-libfreevec-0.8-r1 | 1 | ||||
-rw-r--r-- | sys-libs/libfreevec/libfreevec-0.8-r1.ebuild | 46 |
4 files changed, 58 insertions, 4 deletions
diff --git a/sys-libs/libfreevec/ChangeLog b/sys-libs/libfreevec/ChangeLog index 810eaa3091fd..e9f57aa119e7 100644 --- a/sys-libs/libfreevec/ChangeLog +++ b/sys-libs/libfreevec/ChangeLog @@ -1,6 +1,11 @@ # ChangeLog for sys-libs/libfreevec # Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfreevec/ChangeLog,v 1.1 2005/09/29 13:56:46 lu_zero Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfreevec/ChangeLog,v 1.2 2005/10/05 22:59:45 lu_zero Exp $ + +*libfreevec-0.8-r1 (05 Oct 2005) + + 05 Oct 2005; Luca Barbato <lu_zero@gentoo.org> +libfreevec-0.8-r1.ebuild: + Removed strcpy and memmove, enable by default the build (HAVE_ALTIVEC_H). *libfreevec-0.8 (29 Sep 2005) diff --git a/sys-libs/libfreevec/Manifest b/sys-libs/libfreevec/Manifest index b6d60ac6fa68..aee42cc8e806 100644 --- a/sys-libs/libfreevec/Manifest +++ b/sys-libs/libfreevec/Manifest @@ -1,4 +1,6 @@ -MD5 a194758d57dae972a4e27bf4e8df1014 ChangeLog 387 -MD5 367d699b5c274563fa59a61f35c6cb77 files/digest-libfreevec-0.8 67 -MD5 8984829f8f0fb94f36b40a2e6b5ce7d1 libfreevec-0.8.ebuild 911 MD5 4efdf2e1a900716cbb311c31af227d77 metadata.xml 225 +MD5 8984829f8f0fb94f36b40a2e6b5ce7d1 libfreevec-0.8.ebuild 911 +MD5 a4fb0800a2e55713382d4c468bce48b9 libfreevec-0.8-r1.ebuild 1201 +MD5 5128e636f9dc3f0ce8bf7c2e4b44d3de ChangeLog 574 +MD5 367d699b5c274563fa59a61f35c6cb77 files/digest-libfreevec-0.8-r1 67 +MD5 367d699b5c274563fa59a61f35c6cb77 files/digest-libfreevec-0.8 67 diff --git a/sys-libs/libfreevec/files/digest-libfreevec-0.8-r1 b/sys-libs/libfreevec/files/digest-libfreevec-0.8-r1 new file mode 100644 index 000000000000..8975eff6d285 --- /dev/null +++ b/sys-libs/libfreevec/files/digest-libfreevec-0.8-r1 @@ -0,0 +1 @@ +MD5 fa796c4f9ebb46265273d95f4921c187 libfreevec-0.8.tar.bz2 485814 diff --git a/sys-libs/libfreevec/libfreevec-0.8-r1.ebuild b/sys-libs/libfreevec/libfreevec-0.8-r1.ebuild new file mode 100644 index 000000000000..38880e72eace --- /dev/null +++ b/sys-libs/libfreevec/libfreevec-0.8-r1.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/libfreevec/libfreevec-0.8-r1.ebuild,v 1.1 2005/10/05 22:59:45 lu_zero Exp $ + +inherit flag-o-matic + +DESCRIPTION="Altivec enabled libc memory function" +HOMEPAGE="http://freevec.org" +SRC_URI="http://freevec.org/downloads/${P}.tar.bz2" + +LICENSE="LGPL-2.1" +SLOT="0" +KEYWORDS="-ppc -ppc64" +IUSE="" + +DEPEND=">=sys-devel/gcc-3.4 + sys-devel/automake + sys-devel/autoconf + sys-devel/libtool" + +src_unpack() { + unpack ${A} + cd "${S}" + libtoolize --copy --force + autoreconf + # Remove those 2 functions for now + sed -i -e "s:HAVE_ALTIVEC_H:NOT_BUILD:" ${S}/src/{strcpy.c,memmove.c} + # fix uint/int mismatch + sed -i -e "s:vector int8_t v:vector uint8_t v:" ${S}/src/strnlen.c +} + +src_compile() { + # Make it build always, better move HAVE_ALTIVEC_H in configure later + append-flags -maltivec -mabi=altivec -DHAVE_ALTIVEC_H + econf || die "econf failed" + emake || die "emake failed" + +} +src_install() { + make DESTDIR="${D}" install || die "install failed" + dodoc TODO README INSTALL +} + +pkg_postinst() { + ewarn "Beware that library has known bugs, DO NOT PRELOAD IT" +} |