summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-06-04 04:15:22 +0000
committerMike Frysinger <vapier@gentoo.org>2005-06-04 04:15:22 +0000
commit8110cd02ab47425cb66e9b4823f6106aac6cbc16 (patch)
treebd43b01c5924a6dfafef3bf6f15a2344b4427e7e /dev-libs/STLport
parentTested on raq2, bumping for mips (diff)
downloadhistorical-8110cd02ab47425cb66e9b4823f6106aac6cbc16.tar.gz
historical-8110cd02ab47425cb66e9b4823f6106aac6cbc16.tar.bz2
historical-8110cd02ab47425cb66e9b4823f6106aac6cbc16.zip
Version bump for solar.
Package-Manager: portage-2.0.51.22-r1
Diffstat (limited to 'dev-libs/STLport')
-rw-r--r--dev-libs/STLport/ChangeLog10
-rw-r--r--dev-libs/STLport/Manifest5
-rw-r--r--dev-libs/STLport/STLport-5.0_rc2.ebuild60
-rw-r--r--dev-libs/STLport/files/STLport-5.0_rc2-stlp-float-type.patch16
-rw-r--r--dev-libs/STLport/files/digest-STLport-5.0_rc21
5 files changed, 89 insertions, 3 deletions
diff --git a/dev-libs/STLport/ChangeLog b/dev-libs/STLport/ChangeLog
index 0a3edd8d4fe1..64941b4cc36a 100644
--- a/dev-libs/STLport/ChangeLog
+++ b/dev-libs/STLport/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/STLport
-# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.20 2005/05/07 23:03:12 josejx Exp $
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.21 2005/06/04 04:15:21 vapier Exp $
+
+*STLport-5.0_rc2 (04 Jun 2005)
+
+ 04 Jun 2005; Mike Frysinger <vapier@gentoo.org>
+ +files/STLport-5.0_rc2-stlp-float-type.patch, +STLport-5.0_rc2.ebuild:
+ Version bump for solar.
07 May 2005; Joseph Jezak <josejx@gentoo.org> +files/STLport-vector.patch,
STLport-4.6.2-r2.ebuild:
diff --git a/dev-libs/STLport/Manifest b/dev-libs/STLport/Manifest
index 25f0b284e5f4..5032b3f6ef2f 100644
--- a/dev-libs/STLport/Manifest
+++ b/dev-libs/STLport/Manifest
@@ -1,6 +1,7 @@
-MD5 50fe96ef7b2be365938dd0cf6d275bf4 ChangeLog 2978
+MD5 abd3a679a4b361d1e5fde5e0437c718c ChangeLog 3160
MD5 7bc11d1f5e72215db93c62d3daa48654 STLport-4.6.2-r2.ebuild 1282
MD5 3e474572fe4df01c7632a78f013c6d1e STLport-4.5.3-r3.ebuild 1086
+MD5 4bf3f26392a4154c22658cf738472137 STLport-5.0_rc2.ebuild 1312
MD5 a26aa0654153d685b61549c4290b540b files/50STLport-4.0 210
MD5 7a319fa8b6dbaf6dbf5da8833f08892c files/STLport-4.5.3-gcc3.patch 695
MD5 2684edb96cbc495281b93fe12da5fcaf files/digest-STLport-4.6.2-r2 65
@@ -9,3 +10,5 @@ MD5 71f426e2327ad577fdeaa14cf17f7b19 files/digest-STLport-4.5.3-r3 65
MD5 23f0d4cef12b1a0dc10be56556de2cf2 files/4.6.2-gcc-includes.patch 728
MD5 7949a0c399ae8cd1c8c6d7ada426848f files/4.6.2-optimize.patch 999
MD5 e4ade56502c64dc0858dd39acf14be1a files/STLport-vector.patch 1106
+MD5 ed6eaa01140ef3f87b9675a4261fe9e0 files/digest-STLport-5.0_rc2 66
+MD5 09523b4faaaa2b30b411fd23cba14271 files/STLport-5.0_rc2-stlp-float-type.patch 340
diff --git a/dev-libs/STLport/STLport-5.0_rc2.ebuild b/dev-libs/STLport/STLport-5.0_rc2.ebuild
new file mode 100644
index 000000000000..c4255966a862
--- /dev/null
+++ b/dev-libs/STLport/STLport-5.0_rc2.ebuild
@@ -0,0 +1,60 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-5.0_rc2.ebuild,v 1.1 2005/06/04 04:15:22 vapier Exp $
+
+inherit eutils multilib
+
+MY_P=${PN}-${PV/_rc/RC}
+DESCRIPTION="C++ STL library"
+HOMEPAGE="http://www.stlport.org/"
+SRC_URI="http://www.stlport.org/archive/${MY_P}.tar.gz"
+
+LICENSE="as-is"
+SLOT="0"
+KEYWORDS="-*"
+IUSE=""
+
+DEPEND=""
+
+S=${WORKDIR}/${PN}
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ epatch "${FILESDIR}"/STLport-5.0_rc2-stlp-float-type.patch
+
+ sed -i \
+ -e 's:OPT += -O2::' \
+ -e 's:OPT += -g::' \
+ build/Makefiles/gmake/{,lib/,app/}*.mak \
+ || die "sed opts failed"
+ cat <<- EOF >> stlport/config/stl_gcc.h
+ #undef _STLP_NATIVE_INCLUDE_PATH
+ #define _STLP_NATIVE_INCLUDE_PATH ../g++-v3
+ EOF
+}
+
+src_compile() {
+ export OPT="${CXXFLAGS}"
+ emake \
+ -C build/lib \
+ -f gcc.mak \
+ depend all || die "Compile failed"
+}
+
+src_install() {
+ dodir /usr/$(get_libdir)
+ cp -a build/lib/obj/*/*/libstlport*.so* "${D}"/usr/$(get_libdir)/ || die "dolib.so failed"
+
+ dodir /usr/include
+ cp -R "${S}"/stlport "${D}"/usr/include
+ rm -r "${D}"/usr/include/stlport/BC50
+ chmod -R a+r "${D}"/usr/include/stlport
+
+ cd "${S}"/etc/
+ dodoc ChangeLog* README TODO *.txt
+
+ cd "${S}"
+ dohtml -r doc/*
+}
diff --git a/dev-libs/STLport/files/STLport-5.0_rc2-stlp-float-type.patch b/dev-libs/STLport/files/STLport-5.0_rc2-stlp-float-type.patch
new file mode 100644
index 000000000000..dfdc9268a059
--- /dev/null
+++ b/dev-libs/STLport/files/STLport-5.0_rc2-stlp-float-type.patch
@@ -0,0 +1,16 @@
+Hack around mistyping
+
+http://www.stlport.com/dcforum/DCForumID6/1929.html
+http://www.stlport.com/dcforum/DCForumID6/1878.html
+
+--- src/num_get_float.cpp
++++ src/num_get_float.cpp
+@@ -26,7 +26,7 @@
+ # include <stdint.h>
+
+ union _ll {
+- uint64_t i64;
++ unsigned _STLP_LONG_LONG i64;
+ struct {
+ #ifdef _STLP_BIG_ENDIAN
+ uint32_t hi;
diff --git a/dev-libs/STLport/files/digest-STLport-5.0_rc2 b/dev-libs/STLport/files/digest-STLport-5.0_rc2
new file mode 100644
index 000000000000..c533f20030ad
--- /dev/null
+++ b/dev-libs/STLport/files/digest-STLport-5.0_rc2
@@ -0,0 +1 @@
+MD5 27365747748b3905bebf91802b1a2135 STLport-5.0RC2.tar.gz 875743