diff options
author | Mike Frysinger <vapier@gentoo.org> | 2012-02-01 20:53:48 +0000 |
---|---|---|
committer | Mike Frysinger <vapier@gentoo.org> | 2012-02-01 20:53:48 +0000 |
commit | ef69cf8ed3b7083e69e2ba9ca62017dba1dbabb8 (patch) | |
tree | d701e533e1a65ca0295c945fbba68f4f9ba01047 /dev-libs/libatomic_ops | |
parent | Marking sqlalchemy-migrate-0.7.1 ~ppc for bug 381709 (diff) | |
download | historical-ef69cf8ed3b7083e69e2ba9ca62017dba1dbabb8.tar.gz historical-ef69cf8ed3b7083e69e2ba9ca62017dba1dbabb8.tar.bz2 historical-ef69cf8ed3b7083e69e2ba9ca62017dba1dbabb8.zip |
Version bump #353240 by Kevin Bowling.
Package-Manager: portage-2.2.0_alpha84/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libatomic_ops')
-rw-r--r-- | dev-libs/libatomic_ops/ChangeLog | 10 | ||||
-rw-r--r-- | dev-libs/libatomic_ops/Manifest | 23 | ||||
-rw-r--r-- | dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha4-x32.patch | 43 | ||||
-rw-r--r-- | dev-libs/libatomic_ops/libatomic_ops-7.2_alpha4.ebuild | 35 |
4 files changed, 104 insertions, 7 deletions
diff --git a/dev-libs/libatomic_ops/ChangeLog b/dev-libs/libatomic_ops/ChangeLog index 47bc0adde4ad..580656450ce7 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-2011 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/ChangeLog,v 1.26 2011/12/09 18:36:31 vapier Exp $ +# Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/ChangeLog,v 1.27 2012/02/01 20:53:48 vapier Exp $ + +*libatomic_ops-7.2_alpha4 (01 Feb 2012) + + 01 Feb 2012; Mike Frysinger <vapier@gentoo.org> + +libatomic_ops-7.2_alpha4.ebuild, +files/libatomic_ops-7.2_alpha4-x32.patch: + Version bump #353240 by Kevin Bowling. 09 Dec 2011; Mike Frysinger <vapier@gentoo.org> libatomic_ops-1.2-r1.ebuild, +files/libatomic_ops-1.2-x32.patch: diff --git a/dev-libs/libatomic_ops/Manifest b/dev-libs/libatomic_ops/Manifest index db0d16ca2eb9..c5ae15380296 100644 --- a/dev-libs/libatomic_ops/Manifest +++ b/dev-libs/libatomic_ops/Manifest @@ -1,22 +1,35 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA256 +Hash: SHA1 AUX libatomic_ops-1.2-fix-makefile-am-generic.patch 885 RMD160 7ec0aeef8af9e1eef8064362e3225613b0e56b3a SHA1 349422d53f920cebd5c91dd33eaf62686561dda2 SHA256 8dc0bba7d005cfcd8a831cbb35a73e1429091f0d81fb269c0592d77b4486df4b AUX libatomic_ops-1.2-ppc-asm.patch 406 RMD160 4bb8903a3cfbfcbbc35bd686329dbafbf2ff3bd6 SHA1 67dad407a570cfad2063c0a350568014d50b0dd7 SHA256 a9ba1e109d080af87db5bcbd07328027c7787b3d47943be2f0c71f407624f454 AUX libatomic_ops-1.2-ppc64-load_acquire.patch 1383 RMD160 d3d368915d613b8a8f4af4806ede9e9f53d3eadc SHA1 6ca477928f48f7cc1f2515eb3d8f99af7d118807 SHA256 f061cdf1e70448a193abe316d9c4b4f6b924132a99abcea9753b1440274304f1 AUX libatomic_ops-1.2-sh4.patch 1839 RMD160 cf6c3ed80ab23bfd20fcf76fd9586921dca76799 SHA1 b8651412ed000cdab7fb97741996d59249712421 SHA256 64c53b6c5cac37893f0e81e63a396f04ecc32933480cbb90798fe9dc558bc505 AUX libatomic_ops-1.2-x32.patch 1651 RMD160 08fc80cc2560c84c6b5cdb1752490f3e7e2b2a24 SHA1 ce102a27176591ae181c722b8d5b4eda5431e4df SHA256 a1538270c2eaa7b31a586dcfbd25ace562651a05ae7ba7e66293daf1a5c68cb4 +AUX libatomic_ops-7.2_alpha4-x32.patch 1644 RMD160 8819b7142d18e9026e7f2425e2475f82dab7726a SHA1 eca7d9a99cc5e22d0f413fc46eafde84c5606198 SHA256 7720fc58abbfe10c2ac731b7ef4cf6eb03c15a5a6b126746767c889694b31174 +DIST gc-7.2alpha4.tar.gz 1091329 RMD160 b076d1192ba3a309e9010ab3a40cc89dc3f24ef6 SHA1 dc816c997b831f04415b5dd48cfac8f505eb608a SHA256 0b40a7a5d129e3028a3b1a7f0c6b9ae1d01aca14fe179c44cf10f4c5438649f9 DIST libatomic_ops-1.1.tar.gz 178581 RMD160 ccfa008ece3365390a05badcfd9580ffa96d0302 SHA1 4412ad70afbd5dd954378b94aa3e7e02ba89ecc3 SHA256 f5fb0d89b5b26a7f0bb00c92463aeb62a425c491391bc7e36660a1ac0b5a1f13 DIST libatomic_ops-1.2.tar.gz 183780 RMD160 8c548b32033c954a61e740f9a0e76ca8f005c4f6 SHA1 8bf4134d614acb1a6234b3102e67a847ae9369b0 SHA256 a3d8768aa8fd2f6ae79be2d756b3a6b48816b3889ae906be3d5ffb2de5a5c781 EBUILD libatomic_ops-1.1.ebuild 619 RMD160 504726b1cbd8050d8e5291aa75adaf7dcc57ab93 SHA1 aeed1ccd99a56308de8729e553633d88bd89c5b6 SHA256 822e4bf132b233c6f9be11b6411e31972a25aaec9540f15f4a71ee290e4d022d EBUILD libatomic_ops-1.2-r1.ebuild 1073 RMD160 89509c08fef8fea14ca3f2f303b5ba06ea04c3d3 SHA1 0da432695021e6b9e644fd0bed100af6d266c0cc SHA256 2f6c40802fe38466f54dcad9c7e910660e2e9be9dc62456897729398b4cf44ee EBUILD libatomic_ops-1.2.ebuild 779 RMD160 ace6b11c94d75ef6ce3ba1b3bec89389cce8bceb SHA1 59616687d2624f1c5354b3a289767084d345c679 SHA256 750a492175e5325b1c37d83c5398d99ffb7fd2bdd4077ff2b8dc95338bb56407 -MISC ChangeLog 3715 RMD160 bb9500f4833f2ab905fe768d0122e0e87aa2d6ec SHA1 670f66589b822b2257b2f0c9eacfb9a877e8cb31 SHA256 950e17e3dbf96341bdd111fcc309cec5753616ebc5ff1638e226e31a3d939d90 +EBUILD libatomic_ops-7.2_alpha4.ebuild 1084 RMD160 6f69d951d579a6d5c0d40e9d8cf025bae531b539 SHA1 e802d588e1f05738aa39312e63208ef2c8d12925 SHA256 be4f791b64408648598c83e1b01a5ae3bb13fc9283e5b1f3cae9fe6ca68fc176 +MISC ChangeLog 3927 RMD160 327b8bc7bd772b5f658384bde9f63c8f8f006b27 SHA1 090557cb50dc89aba4ac5bc1ff9d98d2cbb81c68 SHA256 339b0c19159262c90ed68f48a1914493acdb71776c7de72cd18dbb4ccfcd1476 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.18 (GNU/Linux) -iF4EAREIAAYFAk7iVUEACgkQaC/OocHi7JZW8QEAlTDchcOLjERAyxX+3bUO13M9 -dMVLWzshnDWVHlgqqmsA/3lNPFeUI6LvvzgURUfqK2rLLmponRWoPF5JdKofmxvw -=QfSs +iQIcBAEBAgAGBQJPKaZyAAoJELEHsLL7fEFWLtYP/1J5N0Xw1HES8ycsZEErB+zw +ZlzGFWZFP5HVViOXf+f7rbOYB66JuXUI5GngJ/FkCuTv81Nl9ZlD1JBjvEUipjzW +/0c4oGL1QhTHbLcin0XNBRzQP0HIlSSjqYh/OXHdY8kdx5JCjiQRomHkLIzvH9LV +5HMOluTYtwIu9r24+n+J4kPhutj7IPHS7XAIemqZrdy5h0pndk0A0Qb3oaEYwr2U +klzX6aXqrGSU70DyC37NzX3bZRW8buonlOzA/ltPQqmsrOyQd4X4xwdN3YG/ox5s +VYDr0b/0lGd3PD88q3bHeyrH0cfJAZJYfGaNZqCRyfwzWeYrmA2Po9pAy4FJhCwW +/FgmV7yFoyDhBUOr+cPLdTLkXyP6c3MUy3aecy8BdEVYnBWvWdNJsDo6p77p93ub +vC2D1I/164jr6XAsMrNOS3WhzaALQbfyDLvdld9g1fg2vOskj6KRPdiCizDO19k1 +1X1GgF6NPznOSgOhX5ExY78Y17zTHESDpZIPrf8+QhnVHoCZ+9NHbRhjr4pqKboS +WqUG1gpbgUJ22PU9QLNF0SLyVGuRI0t4prum2XZcSb2cpeorvcD8rkkWfqlgmY0R +kVQpsh0THtYZGyU1LjNpgQYMjSduT7Pyqtrle6LV67A7e80UVJ5VQedu6PKTTcUB +QwpK6wf09b7wqZDRB9Ve +=zwLK -----END PGP SIGNATURE----- diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha4-x32.patch b/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha4-x32.patch new file mode 100644 index 000000000000..ac2b57fb1722 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha4-x32.patch @@ -0,0 +1,43 @@ +http://git.yoctoproject.org/cgit/cgit.cgi/poky/commit/?id=e3a384578f677c05d812d99c2c92aa13670bd06a + +Upstream-Status: Pending + +Remove the `q' suffix on x86-64 atomic instructions. + +We don't need the `q' suffix on x86_64 atomic instructions for AO_t, +which is defined as "unsigned long". "unsigned long" is 32bit for x32 +and 64bit for x86-64. The register operand in x86-64 atomic instructions +is sufficient to properly determine the register size. + +Received this patch from H.J. Lu <hjl.tools@gmail.com> +Signed-Off-By: Nitin A Kamble <nitin.a.kamble@intel.com> 2011/12/02 + +--- a/src/atomic_ops/sysdeps/gcc/x86_64.h ++++ b/src/atomic_ops/sysdeps/gcc/x86_64.h +@@ -56,7 +56,7 @@ AO_fetch_and_add_full (volatile AO_t *p, + { + AO_t result; + +- __asm__ __volatile__ ("lock; xaddq %0, %1" : ++ __asm__ __volatile__ ("lock; xadd %0, %1" : + "=r" (result), "=m" (*p) : "0" (incr), "m" (*p) + : "memory"); + return result; +@@ -106,7 +106,7 @@ AO_int_fetch_and_add_full (volatile unsi + AO_INLINE void + AO_or_full (volatile AO_t *p, AO_t incr) + { +- __asm__ __volatile__ ("lock; orq %1, %0" : ++ __asm__ __volatile__ ("lock; or %1, %0" : + "=m" (*p) : "r" (incr), "m" (*p) : "memory"); + } + +@@ -131,7 +131,7 @@ AO_compare_and_swap_full(volatile AO_t * + AO_t old, AO_t new_val) + { + char result; +- __asm__ __volatile__("lock; cmpxchgq %3, %0; setz %1" ++ __asm__ __volatile__("lock; cmpxchg %3, %0; setz %1" + : "=m"(*addr), "=q"(result) + : "m"(*addr), "r" (new_val), "a"(old) : "memory"); + return (int) result; diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha4.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha4.ebuild new file mode 100644 index 000000000000..bfbc6f23a2b5 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha4.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha4.ebuild,v 1.1 2012/02/01 20:53:48 vapier Exp $ + +EAPI="4" + +inherit eutils toolchain-funcs + +DESCRIPTION="Implementation for atomic memory update operations" +HOMEPAGE="http://www.hpl.hp.com/research/linux/atomic_ops/" +SRC_URI="http://www.hpl.hp.com/personal/Hans_Boehm/gc/gc_source/gc-${PV/_}.tar.gz" + +LICENSE="GPL-2 MIT as-is" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~ppc ~ppc64 ~sh ~sparc ~x86 ~x86-fbsd ~x86-freebsd ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" +IUSE="" + +S=${WORKDIR}/gc-${PV/_}/libatomic_ops + +src_prepare() { + epatch "${FILESDIR}"/${PN}-7.2_alpha4-x32.patch + sed -i \ + -e "/^pkgdatadir/s:/.*:/doc/${PF}:" \ + doc/Makefile.in || die + find -type f -exec touch -r . {} + +} + +src_compile() { + emake AR="$(tc-getAR)" +} + +src_install() { + default + find "${ED}" '(' -name COPYING -o -name LICENSING.txt ')' -delete +} |