summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJoseph Jezak <josejx@gentoo.org>2007-09-10 19:10:00 +0000
committerJoseph Jezak <josejx@gentoo.org>2007-09-10 19:10:00 +0000
commit40879107cadd45e0bc2f80967f065876c916c1d3 (patch)
tree2eda22a513faec0b180cff17f5d6cd71c40ceae6 /dev-libs/libatomic_ops
parentVersion bump from the GNUstep overlay (diff)
downloadhistorical-40879107cadd45e0bc2f80967f065876c916c1d3.tar.gz
historical-40879107cadd45e0bc2f80967f065876c916c1d3.tar.bz2
historical-40879107cadd45e0bc2f80967f065876c916c1d3.zip
Added asm fix for ppc compile issue.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'dev-libs/libatomic_ops')
-rw-r--r--dev-libs/libatomic_ops/ChangeLog8
-rw-r--r--dev-libs/libatomic_ops/Manifest27
-rw-r--r--dev-libs/libatomic_ops/files/digest-libatomic_ops-1.2-r13
-rw-r--r--dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc-asm.patch11
-rw-r--r--dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild28
5 files changed, 68 insertions, 9 deletions
diff --git a/dev-libs/libatomic_ops/ChangeLog b/dev-libs/libatomic_ops/ChangeLog
index 48c26499587a..39a8f219a88a 100644
--- a/dev-libs/libatomic_ops/ChangeLog
+++ b/dev-libs/libatomic_ops/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for dev-libs/libatomic_ops
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/ChangeLog,v 1.8 2007/06/08 23:23:07 lu_zero Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/ChangeLog,v 1.9 2007/09/10 19:10:00 josejx Exp $
+
+*libatomic_ops-1.2-r1 (10 Sep 2007)
+
+ 10 Sep 2007; Joseph Jezak <josejx@gentoo.org>
+ +files/libatomic_ops-1.2-ppc-asm.patch, +libatomic_ops-1.2-r1.ebuild:
+ Added asm fix for ppc compile issue.
08 Jun 2007; Luca Barbato <lu_zero@gentoo.org>
files/libatomic_ops-1.2-ppc64-load_acquire.patch:
diff --git a/dev-libs/libatomic_ops/Manifest b/dev-libs/libatomic_ops/Manifest
index 2078d4045948..d7cf31b4ac6e 100644
--- a/dev-libs/libatomic_ops/Manifest
+++ b/dev-libs/libatomic_ops/Manifest
@@ -1,6 +1,10 @@
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
+AUX libatomic_ops-1.2-ppc-asm.patch 427 RMD160 89773869a9336ff64aeac2b34091f3f93abd7817 SHA1 22b5a82efaa3e59d3f2372be51894201747d21e9 SHA256 a8cdb35c08084878a10c72ddfa318586135142dbbbb346e0d727e9d170eb28bb
+MD5 7b65b59a84e0251419ee3fb1a596d9d0 files/libatomic_ops-1.2-ppc-asm.patch 427
+RMD160 89773869a9336ff64aeac2b34091f3f93abd7817 files/libatomic_ops-1.2-ppc-asm.patch 427
+SHA256 a8cdb35c08084878a10c72ddfa318586135142dbbbb346e0d727e9d170eb28bb files/libatomic_ops-1.2-ppc-asm.patch 427
AUX libatomic_ops-1.2-ppc64-load_acquire.patch 1383 RMD160 d3d368915d613b8a8f4af4806ede9e9f53d3eadc SHA1 6ca477928f48f7cc1f2515eb3d8f99af7d118807 SHA256 f061cdf1e70448a193abe316d9c4b4f6b924132a99abcea9753b1440274304f1
MD5 e6121a4fa6de7c5e265ddbb4fd76e005 files/libatomic_ops-1.2-ppc64-load_acquire.patch 1383
RMD160 d3d368915d613b8a8f4af4806ede9e9f53d3eadc files/libatomic_ops-1.2-ppc64-load_acquire.patch 1383
@@ -11,14 +15,18 @@ EBUILD libatomic_ops-1.1.ebuild 619 RMD160 504726b1cbd8050d8e5291aa75adaf7dcc57a
MD5 2746bafc148d159b0b3cc1ab8acbc42b libatomic_ops-1.1.ebuild 619
RMD160 504726b1cbd8050d8e5291aa75adaf7dcc57ab93 libatomic_ops-1.1.ebuild 619
SHA256 822e4bf132b233c6f9be11b6411e31972a25aaec9540f15f4a71ee290e4d022d libatomic_ops-1.1.ebuild 619
+EBUILD libatomic_ops-1.2-r1.ebuild 823 RMD160 3c8352d066fad62aa24797dfaf4a9b75fc8d0d5c SHA1 9f4e598228d02641d08e6b7609282853b222b119 SHA256 a3f7cea9141915721ef51381cfeb460603d31ce7ef95381d513b7bc52b1419c2
+MD5 40c299296819df2c045f7d9d128683a4 libatomic_ops-1.2-r1.ebuild 823
+RMD160 3c8352d066fad62aa24797dfaf4a9b75fc8d0d5c libatomic_ops-1.2-r1.ebuild 823
+SHA256 a3f7cea9141915721ef51381cfeb460603d31ce7ef95381d513b7bc52b1419c2 libatomic_ops-1.2-r1.ebuild 823
EBUILD libatomic_ops-1.2.ebuild 779 RMD160 ace6b11c94d75ef6ce3ba1b3bec89389cce8bceb SHA1 59616687d2624f1c5354b3a289767084d345c679 SHA256 750a492175e5325b1c37d83c5398d99ffb7fd2bdd4077ff2b8dc95338bb56407
MD5 5ed5378cb7af91f1610201364524d21e libatomic_ops-1.2.ebuild 779
RMD160 ace6b11c94d75ef6ce3ba1b3bec89389cce8bceb libatomic_ops-1.2.ebuild 779
SHA256 750a492175e5325b1c37d83c5398d99ffb7fd2bdd4077ff2b8dc95338bb56407 libatomic_ops-1.2.ebuild 779
-MISC ChangeLog 1370 RMD160 e3eea2515bc19d11561fb204251963e2d69fb86f SHA1 45234a2d813e2c5a62cc89ec652e92dcca652ede SHA256 de51c4491fdb01ec01b85136380dd2156ccaa28579bf1b81869a50186662659f
-MD5 ae1a9a7242e7edc6d537c333e02d12ea ChangeLog 1370
-RMD160 e3eea2515bc19d11561fb204251963e2d69fb86f ChangeLog 1370
-SHA256 de51c4491fdb01ec01b85136380dd2156ccaa28579bf1b81869a50186662659f ChangeLog 1370
+MISC ChangeLog 1566 RMD160 2acb5590debf11ae930cf7af7b3235c2b317cc8f SHA1 a705e0eeff54b3694699e00a2c1123bd40d7bb20 SHA256 bc5f0e19d95063ff8df3712c5dc4db4b09a0a8b9f6bff718f12a19b565d37821
+MD5 fc9d4976035a32cf3030754a0747806b ChangeLog 1566
+RMD160 2acb5590debf11ae930cf7af7b3235c2b317cc8f ChangeLog 1566
+SHA256 bc5f0e19d95063ff8df3712c5dc4db4b09a0a8b9f6bff718f12a19b565d37821 ChangeLog 1566
MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b
MD5 a1eaeb2ae801daeb712c90c060e922dc metadata.xml 158
RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e metadata.xml 158
@@ -29,10 +37,13 @@ SHA256 cda3fd83215ac248a223fbb65784cd145d1b0bdce6fb86b522af0cf81d632a9c files/di
MD5 faaea89b811f750df83a5075c86e32eb files/digest-libatomic_ops-1.2 253
RMD160 77c985ce3474c71bdd7987cc2b68ce56671adbeb files/digest-libatomic_ops-1.2 253
SHA256 068e799786816e7e71300a769c7f88cd76975abca02cbe1d01aaebdf603c98ab files/digest-libatomic_ops-1.2 253
+MD5 faaea89b811f750df83a5075c86e32eb files/digest-libatomic_ops-1.2-r1 253
+RMD160 77c985ce3474c71bdd7987cc2b68ce56671adbeb files/digest-libatomic_ops-1.2-r1 253
+SHA256 068e799786816e7e71300a769c7f88cd76975abca02cbe1d01aaebdf603c98ab files/digest-libatomic_ops-1.2-r1 253
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.4 (GNU/Linux)
+Version: GnuPG v2.0.6 (GNU/Linux)
-iD8DBQFGfwDVp/wUKkr7RBoRAmBIAJ46h4ugRlw1RcDP06rVHIC5uyndiQCg0cUn
-IcI2sPnONQ0M4cyzLCoiRnQ=
-=+Su4
+iD8DBQFG5ZabcsIHjyDViGQRAss2AJ9HMwXttrtjqMc3dLLrVWOuG6byowCg3amJ
+Dvju6y/ncvTILhdYeEWjYso=
+=wDtN
-----END PGP SIGNATURE-----
diff --git a/dev-libs/libatomic_ops/files/digest-libatomic_ops-1.2-r1 b/dev-libs/libatomic_ops/files/digest-libatomic_ops-1.2-r1
new file mode 100644
index 000000000000..b86924a7ae11
--- /dev/null
+++ b/dev-libs/libatomic_ops/files/digest-libatomic_ops-1.2-r1
@@ -0,0 +1,3 @@
+MD5 1b65e48271c81e3fa2d7a9a69bab7504 libatomic_ops-1.2.tar.gz 183780
+RMD160 8c548b32033c954a61e740f9a0e76ca8f005c4f6 libatomic_ops-1.2.tar.gz 183780
+SHA256 a3d8768aa8fd2f6ae79be2d756b3a6b48816b3889ae906be3d5ffb2de5a5c781 libatomic_ops-1.2.tar.gz 183780
diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc-asm.patch b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc-asm.patch
new file mode 100644
index 000000000000..f98f83fde636
--- /dev/null
+++ b/dev-libs/libatomic_ops/files/libatomic_ops-1.2-ppc-asm.patch
@@ -0,0 +1,11 @@
+--- ../libatomic-ops-1.2/src/atomic_ops/sysdeps/gcc/powerpc.h 2006-03-29 09:49:14.000000000 +1100
++++ src/atomic_ops/sysdeps/gcc/powerpc.h 2007-08-27 10:51:00.000000000 +1000
+@@ -72,7 +72,7 @@
+ /* registers. I always got "impossible constraint" when I */
+ /* tried the "y" constraint. */
+ __asm__ __volatile__ (
+- "lwz %0,%1\n"
++ "lwz%X1 %0,%1\n"
+ "cmpw cr7,%0,%0\n"
+ "bne- cr7,1f\n"
+ "1: isync\n"
diff --git a/dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild b/dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild
new file mode 100644
index 000000000000..00d6b50bcdb0
--- /dev/null
+++ b/dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild
@@ -0,0 +1,28 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/libatomic_ops-1.2-r1.ebuild,v 1.1 2007/09/10 19:10:00 josejx Exp $
+
+inherit eutils
+
+DESCRIPTION="Implementation for atomic memory update operations"
+HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/"
+SRC_URI="http://www.hpl.hp.com/research/linux/atomic_ops/download/${P}.tar.gz"
+
+LICENSE="GPL-2 MIT as-is"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+src_unpack(){
+ unpack ${A}
+ cd "${S}"
+ epatch "${FILESDIR}"/${P}-ppc64-load_acquire.patch
+ epatch "${FILESDIR}"/${P}-ppc-asm.patch
+}
+
+src_install() {
+ emake pkgdatadir="/usr/share/doc/${PF}" DESTDIR="${D}" install || die
+}