summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTiziano Müller <dev-zero@gentoo.org>2007-02-14 18:55:15 +0000
committerTiziano Müller <dev-zero@gentoo.org>2007-02-14 18:55:15 +0000
commitddf2efe2f0fdc5543e73466b991125b69478c46d (patch)
treedbf464c0944852111772afda5f3a1d229065e73f /dev-libs/STLport
parentFix .desktop files, bug 147735, and drop monolithic X deps and virtual/libc (diff)
downloadgentoo-2-ddf2efe2f0fdc5543e73466b991125b69478c46d.tar.gz
gentoo-2-ddf2efe2f0fdc5543e73466b991125b69478c46d.tar.bz2
gentoo-2-ddf2efe2f0fdc5543e73466b991125b69478c46d.zip
Added patches for sparc and ppc.
(Portage version: 2.1.2-r7)
Diffstat (limited to 'dev-libs/STLport')
-rw-r--r--dev-libs/STLport/ChangeLog7
-rw-r--r--dev-libs/STLport/STLport-5.0.3.ebuild8
-rw-r--r--dev-libs/STLport/files/STLport-5.0.3-ppc.patch11
-rw-r--r--dev-libs/STLport/files/STLport-5.0.3-sparc.patch11
4 files changed, 33 insertions, 4 deletions
diff --git a/dev-libs/STLport/ChangeLog b/dev-libs/STLport/ChangeLog
index 18d3f9ac137f..ba69596135d7 100644
--- a/dev-libs/STLport/ChangeLog
+++ b/dev-libs/STLport/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for dev-libs/STLport
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.47 2007/02/13 13:49:19 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/ChangeLog,v 1.48 2007/02/14 18:55:15 dev-zero Exp $
+
+ 14 Feb 2007; Tiziano Müller <dev-zero@gentoo.org>
+ +files/STLport-5.0.3-ppc.patch, +files/STLport-5.0.3-sparc.patch,
+ STLport-5.0.3.ebuild:
+ Added patches for sparc and ppc.
13 Feb 2007; Steve Dibb <beandog@gentoo.org> STLport-5.1.0.ebuild:
amd64 stable, security bug 165837
diff --git a/dev-libs/STLport/STLport-5.0.3.ebuild b/dev-libs/STLport/STLport-5.0.3.ebuild
index 9f7e5ee0225b..8f0aacf2e414 100644
--- a/dev-libs/STLport/STLport-5.0.3.ebuild
+++ b/dev-libs/STLport/STLport-5.0.3.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/dev-libs/STLport/STLport-5.0.3.ebuild,v 1.3 2007/02/12 17:28:07 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/STLport/STLport-5.0.3.ebuild,v 1.4 2007/02/14 18:55:15 dev-zero Exp $
inherit eutils versionator eutils toolchain-funcs multilib flag-o-matic
@@ -20,8 +20,10 @@ src_unpack() {
unpack ${A}
cd "${S}"
- epatch "${FILESDIR}/STLport-5.0.2-gcc41.patch"
- epatch "${FILESDIR}/STLport-5.1.0-wrong_russian_currency_name.patch"
+ epatch "${FILESDIR}/${PN}-5.0.2-gcc41.patch"
+ epatch "${FILESDIR}/${P}-ppc.patch"
+ epatch "${FILESDIR}/${P}-sparc.patch"
+ epatch "${FILESDIR}/${PN}-5.1.0-wrong_russian_currency_name.patch"
sed -i \
-e 's/\(OPT += \)-O2/\1/' \
diff --git a/dev-libs/STLport/files/STLport-5.0.3-ppc.patch b/dev-libs/STLport/files/STLport-5.0.3-ppc.patch
new file mode 100644
index 000000000000..d3c53799ddd1
--- /dev/null
+++ b/dev-libs/STLport/files/STLport-5.0.3-ppc.patch
@@ -0,0 +1,11 @@
+--- stlport/stl/_config.h.orig 2007-02-13 20:38:46.000000000 +0100
++++ stlport/stl/_config.h 2007-02-13 20:42:55.000000000 +0100
+@@ -162,7 +162,7 @@
+
+ #if !defined (_STLP_BIG_ENDIAN) && ! defined (_STLP_LITTLE_ENDIAN)
+ # if defined (_MIPSEB) || defined (__sparc) || defined (_AIX) || \
+- defined (__hpux) || defined (macintosh) || defined (_MAC)
++ defined (__hpux) || defined (macintosh) || defined (_MAC) || defined (__ppc__)
+ # define _STLP_BIG_ENDIAN 1
+ # elif defined (__i386) || defined (_M_IX86) || defined (_M_ARM) || \
+ defined (__amd64__) || defined (_M_AMD64) || defined (__x86_64__) || \
diff --git a/dev-libs/STLport/files/STLport-5.0.3-sparc.patch b/dev-libs/STLport/files/STLport-5.0.3-sparc.patch
new file mode 100644
index 000000000000..c3aed0851575
--- /dev/null
+++ b/dev-libs/STLport/files/STLport-5.0.3-sparc.patch
@@ -0,0 +1,11 @@
+--- stlport/config/stl_gcc.h.orig 2007-02-13 21:30:42.000000000 +0100
++++ stlport/config/stl_gcc.h 2007-02-13 21:31:02.000000000 +0100
+@@ -236,7 +236,7 @@
+ # endif
+ #endif
+
+-#if defined (__alpha__)
++#if defined (__alpha__) || defined (__sparc__)
+ # define _STLP_NO_VENDOR_MATH_L
+ #endif
+