summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLuca Barbato <lu_zero@gentoo.org>2004-11-27 17:34:18 +0000
committerLuca Barbato <lu_zero@gentoo.org>2004-11-27 17:34:18 +0000
commit90f692b52fd75cc36eb8bbf473da10daffbbfd4e (patch)
tree74c76130938e88da2f4d5bc98cdb410fe7b97a57 /dev-libs/liboil
parentVersion bump for the AF_UNIX and a.out security vulnerabilities; bugs #72452 ... (diff)
downloadgentoo-2-90f692b52fd75cc36eb8bbf473da10daffbbfd4e.tar.gz
gentoo-2-90f692b52fd75cc36eb8bbf473da10daffbbfd4e.tar.bz2
gentoo-2-90f692b52fd75cc36eb8bbf473da10daffbbfd4e.zip
ppc fix
Diffstat (limited to 'dev-libs/liboil')
-rw-r--r--dev-libs/liboil/ChangeLog14
-rw-r--r--dev-libs/liboil/files/liboil-0.2.2-clobber-list.patch31
-rw-r--r--dev-libs/liboil/liboil-0.2.2.ebuild4
3 files changed, 42 insertions, 7 deletions
diff --git a/dev-libs/liboil/ChangeLog b/dev-libs/liboil/ChangeLog
index d91fcab40ecd..b8cf296517a7 100644
--- a/dev-libs/liboil/ChangeLog
+++ b/dev-libs/liboil/ChangeLog
@@ -1,17 +1,21 @@
# ChangeLog for dev-libs/liboil
# Copyright 1999-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/ChangeLog,v 1.6 2004/11/23 18:56:35 rizzo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/ChangeLog,v 1.7 2004/11/27 17:34:18 lu_zero Exp $
-*liboil-0.2.1 (20 Nov 2004)
-
- 20 Nov 2004; Luca Barbato <lu_zero@gentoo.org> +liboil-0.2.1.ebuild:
- New version, ppc issues are eventually fixed
+ 27 Nov 2004; Luca Barbato <lu_zero@gentoo.org>
+ +files/liboil-0.2.2-clobber-list.patch, liboil-0.2.2.ebuild:
+ Another fix for ppc
*liboil-0.2.2 (23 Nov 2004)
23 Nov 2004; Don Seiler <rizzo@gentoo.org> +liboil-0.2.2.ebuild:
Version bump, should work with gcc 3.4.x now
+*liboil-0.2.1 (20 Nov 2004)
+
+ 20 Nov 2004; Luca Barbato <lu_zero@gentoo.org> +liboil-0.2.1.ebuild:
+ New version, ppc issues are eventually fixed
+
20 Nov 2004; Karol Wojtaszek <sekretarz@gentoo.org> liboil-0.2.0.ebuild:
Keyworded ~amd64, bug #71270
diff --git a/dev-libs/liboil/files/liboil-0.2.2-clobber-list.patch b/dev-libs/liboil/files/liboil-0.2.2-clobber-list.patch
new file mode 100644
index 000000000000..26579a831331
--- /dev/null
+++ b/dev-libs/liboil/files/liboil-0.2.2-clobber-list.patch
@@ -0,0 +1,31 @@
+diff -ruN liboil-0.2.2.orig/liboil/simdpack/clip_s16.c liboil-0.2.2/liboil/simdpack/clip_s16.c
+--- liboil-0.2.2.orig/liboil/simdpack/clip_s16.c 2004-11-27 17:53:05.119303856 +0100
++++ liboil-0.2.2/liboil/simdpack/clip_s16.c 2004-11-27 17:54:14.500756272 +0100
+@@ -163,15 +163,15 @@
+ " srawi 0,10,31 \n"
+ " subfc 18,19,%3 \n"
+ " srawi 11,8,31 \n"
+- " srawi 30,20,31 \n"
++ " srawi 29,20,31 \n"
+ " and 0,0,10 \n"
+ " srawi 21,18,31 \n"
+ " and 11,11,8 \n"
+- " and 30,30,20 \n"
++ " and 29,29,20 \n"
+ " subf 9,0,9 \n"
+ " and 21,21,18 \n"
+ " add 9,9,11 \n"
+- " subf 19,30,19 \n"
++ " subf 19,29,19 \n"
+ " sthu 9,2(%0) \n"
+ " add 19,19,21 \n"
+ " sthu 19,2(%0) \n"
+@@ -179,7 +179,7 @@
+ : "+b" (dest), "+b" (src), "+b" (low), "+b" (hi), "+b" (n)
+ :
+ : "8", "9", "10", "11", "0",
+- "18", "19", "20", "21", "30", "ctr");
++ "18", "19", "20", "21", "29", "ctr");
+ }
+ OIL_DEFINE_IMPL (clip_s16_ppcasm3, clip_s16);
+ #endif
diff --git a/dev-libs/liboil/liboil-0.2.2.ebuild b/dev-libs/liboil/liboil-0.2.2.ebuild
index 6e364d217ba9..3dbc665b0bf2 100644
--- a/dev-libs/liboil/liboil-0.2.2.ebuild
+++ b/dev-libs/liboil/liboil-0.2.2.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/liboil-0.2.2.ebuild,v 1.1 2004/11/23 18:56:35 rizzo Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/liboil/liboil-0.2.2.ebuild,v 1.2 2004/11/27 17:34:18 lu_zero Exp $
inherit eutils
DESCRIPTION="Liboil is a library of simple functions that are optimized for various CPUs."
@@ -18,7 +18,7 @@ DEPEND="=dev-libs/glib-2*"
src_unpack() {
unpack ${A}
- #epatch ${FILESDIR}/${P}-altivec.patch
+ epatch ${FILESDIR}/${P}-clobber-list.patch
}
src_compile() {