diff options
author | Justin Lecher <jlec@gentoo.org> | 2012-05-29 18:52:21 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2012-05-29 18:52:21 +0000 |
commit | e45a1ba86cb40a89b55c6e57887e154c50a80fac (patch) | |
tree | 35fd7e2743e14b507172db61598ba767fa81c07a /dev-libs/libatomic_ops | |
parent | Remove evolution-data-server support as it is broken, add a litte performance... (diff) | |
download | historical-e45a1ba86cb40a89b55c6e57887e154c50a80fac.tar.gz historical-e45a1ba86cb40a89b55c6e57887e154c50a80fac.tar.bz2 historical-e45a1ba86cb40a89b55c6e57887e154c50a80fac.zip |
Version Bump
Package-Manager: portage-2.2.0_alpha108/cvs/Linux x86_64
Diffstat (limited to 'dev-libs/libatomic_ops')
-rw-r--r-- | dev-libs/libatomic_ops/ChangeLog | 8 | ||||
-rw-r--r-- | dev-libs/libatomic_ops/Manifest | 26 | ||||
-rw-r--r-- | dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha6-x32.patch | 46 | ||||
-rw-r--r-- | dev-libs/libatomic_ops/libatomic_ops-7.2_alpha6.ebuild | 35 |
4 files changed, 98 insertions, 17 deletions
diff --git a/dev-libs/libatomic_ops/ChangeLog b/dev-libs/libatomic_ops/ChangeLog index 4c34768ec58c..a823bfa61fb6 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-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/ChangeLog,v 1.28 2012/02/09 22:40:58 mattst88 Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libatomic_ops/ChangeLog,v 1.29 2012/05/29 18:52:21 jlec Exp $ + +*libatomic_ops-7.2_alpha6 (29 May 2012) + + 29 May 2012; Justin Lecher <jlec@gentoo.org> + +libatomic_ops-7.2_alpha6.ebuild, +files/libatomic_ops-7.2_alpha6-x32.patch: + Version Bump 09 Feb 2012; Matt Turner <mattst88@gentoo.org> libatomic_ops-7.2_alpha4.ebuild: diff --git a/dev-libs/libatomic_ops/Manifest b/dev-libs/libatomic_ops/Manifest index 0471652a3453..6d44dd65c54a 100644 --- a/dev-libs/libatomic_ops/Manifest +++ b/dev-libs/libatomic_ops/Manifest @@ -1,5 +1,5 @@ -----BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 +Hash: SHA512 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 @@ -7,29 +7,23 @@ AUX libatomic_ops-1.2-ppc64-load_acquire.patch 1383 RMD160 d3d368915d613b8a8f4af 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 +AUX libatomic_ops-7.2_alpha6-x32.patch 1960 RMD160 ce0c524c0e09bf5b99aba2f846a25cbe968b9f12 SHA1 5793d30d1527c080640bb6da9176a137c5775b6e SHA256 b6b6d669934a4ef7a961e9fd8f8f7e7917109721647db427ad9099c8d5173d33 DIST gc-7.2alpha4.tar.gz 1091329 RMD160 b076d1192ba3a309e9010ab3a40cc89dc3f24ef6 SHA1 dc816c997b831f04415b5dd48cfac8f505eb608a SHA256 0b40a7a5d129e3028a3b1a7f0c6b9ae1d01aca14fe179c44cf10f4c5438649f9 +DIST gc-7.2alpha6.tar.gz 1241386 RMD160 a634c94992b8cc1fb6ba3a9ae1c7a5e83deb9823 SHA1 190fe36d73bc00205a50d01d31664e525ca70389 SHA256 ebf425b254773d565e1690287641ed177716a78e952c96fec917edbc64535c16 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 EBUILD libatomic_ops-7.2_alpha4.ebuild 1092 RMD160 4744cdce7e7e1fa6e1b59d44f7962fb88eaa2fb3 SHA1 c90e9d5b95f90d3fe297318b281e88fce836284f SHA256 af83ea259a29c02b4e36a29808063fe2eee5adb9442d7d8c1779027371cc277f -MISC ChangeLog 4029 RMD160 0be6b9baa9b46450fb41420e3fd9c4645c8e0662 SHA1 2dd3ca95cf672387ac5941c65bf98c814e239c59 SHA256 8f895efa254e98bd28030b109637bc998b4a8fdad49f98a8538e91cb191eb164 +EBUILD libatomic_ops-7.2_alpha6.ebuild 1074 RMD160 7a0607eceef9f3fee6d39eeb3b3b252ae4ed9cb4 SHA1 8c217f34242aeff2d026af825a2ba41b7edf24de SHA256 c654a4333595e1003a396434c52bfdde74f39b1655af7ef9666270c87558e1ce +MISC ChangeLog 4208 RMD160 a383f9dde26742c76a22ae4b3394269ebe8781f0 SHA1 a9270ed944d787e3c81e7563a9577afb5e0100d9 SHA256 52468eb9e8f9af517999d5bada298371be00b8ba6a9fb269d81eea2bd2aba967 MISC metadata.xml 158 RMD160 6842e2189a50bd8a98e84802c38180ac1421c00e SHA1 703cea5a2109d41f7c87993c1f01d418a4c85174 SHA256 dfb5b47e6836db39fb187301dfcff1c2605e91d13d21db160806a563d8c75f9b -----BEGIN PGP SIGNATURE----- -Version: GnuPG v2.0.17 (GNU/Linux) +Version: GnuPG v2.0.19 (GNU/Linux) +Comment: GPGTools - http://gpgtools.org -iQIcBAEBAgAGBQJPNEt9AAoJEA/daC2XTKcqa2MP/1ciYC6F6J91tlhaWg72srh0 -dQk83Gi8kLGOlmrz83JsARDd0n5Ck/buA3/wqnH0IWHwNDpgQ5Z6E1dJoHZu+BE3 -oSQaT55WDV1FjY1rmWot/3NENeIhXyOHMjwJX514RgNhLzKAQZvR4frpWGa84+T1 -K45OHdWu+S91xFqlqJ+4++8bF1vigqfH4v86RIfCo8HbvxsbkxIdTzum+LG3dZXZ -xxfmyQmJyKSF51ql+WVdg/oBO6YSfc7PeqtMcorB7D89WR4X3kTYX6grjHhZOXv1 -FflLoAoyxuNYH3u5sxaiPIaf4Xl+Bw/LzOWFIx9ibaI20WBilA6TpmYXT+8Hv5A7 -6b+pXt1COD+Wb9f+D38cJVBYU5u56ClrQX3theprE4BdD5nzlDmrS2Cv5zfPHkKi -yYJ/zhoLdAa94ui5nENdwt9DGAQhNpYL2mVVRF36NgZpSXs/lTsYorku+6fJGzzt -1MghtjZc098jqB5BVSBmgNucPVjhe3uTxOXUj5wlLusxYxxrpogMYYplzi9mlSio -VFUOms+OjTTuJfHWFiIr3zYoP5tmiHaGmqSXyEgZUEOxOUXVKaS854xmOAD/ceLB -bZIJ86M7pMdmdEN3Ky0WyEZopnQJQhL59fe56KoawUbhT2TtnaY7yo5/P8mEOWCW -XbCWTcm0KlJ2V3hWhNUz -=+/+Q +iEYEAREKAAYFAk/FGuoACgkQgAnW8HDreRbSmgCfdOgG51Sp245CbzH0H8cTEGkQ +ZB0An01ekMaBJrCpRnN0s2UjaLRdUO1w +=rDvc -----END PGP SIGNATURE----- diff --git a/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha6-x32.patch b/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha6-x32.patch new file mode 100644 index 000000000000..838e4a8d27f1 --- /dev/null +++ b/dev-libs/libatomic_ops/files/libatomic_ops-7.2_alpha6-x32.patch @@ -0,0 +1,46 @@ +Adopted from +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 + +diff --git a/libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h b/libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h +index 0f68c1e..3bcde88 100644 +--- a/libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h ++++ b/libatomic_ops/src/atomic_ops/sysdeps/gcc/x86_64.h +@@ -47,7 +47,7 @@ AO_fetch_and_add_full (volatile AO_t *p, AO_t incr) + { + 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; +@@ -93,7 +93,7 @@ AO_int_fetch_and_add_full (volatile unsigned int *p, unsigned int incr) + 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"); + } + #define AO_HAVE_or_full +@@ -123,7 +123,7 @@ AO_compare_and_swap_full(volatile AO_t *addr, AO_t old, AO_t new_val) + return (int)__sync_bool_compare_and_swap(addr, old, new_val); + # else + char result; +- __asm__ __volatile__("lock; cmpxchgq %3, %0; setz %1" ++ __asm__ __volatile__("lock; cmpxchg %3, %0; setz %1" + : "=m" (*addr), "=a" (result) + : "m" (*addr), "r" (new_val), "a" (old) : "memory"); + return (int) result; diff --git a/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha6.ebuild b/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha6.ebuild new file mode 100644 index 000000000000..958f27b90e69 --- /dev/null +++ b/dev-libs/libatomic_ops/libatomic_ops-7.2_alpha6.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_alpha6.ebuild,v 1.1 2012/05/29 18:52:21 jlec 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 ~mips ~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}"/${P}-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 +} |