pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libatomic_ops libatomic_ops: updated to 7.6.10



details:   https://anonhg.NetBSD.org/pkgsrc/rev/f4c563be5828
branches:  trunk
changeset: 392436:f4c563be5828
user:      adam <adam%pkgsrc.org@localhost>
date:      Sat Mar 02 14:51:53 2019 +0000

description:
libatomic_ops: updated to 7.6.10

7.6.10:
* Eliminate 'my_chunk_ptr-AO_initial_heap out of bounds' cppcheck warning
* Fix 'AO_*_TS_T is not defined' compiler warnings (GCC-8)
* Fix 'duplicate symbol' error for test_malloc/stack with static libs (OS X)
* Workaround 'argument to function assert is always 1' cppcheck warnings

diffstat:

 devel/libatomic_ops/Makefile                        |   4 +-
 devel/libatomic_ops/distinfo                        |  12 +++---
 devel/libatomic_ops/patches/patch-ad                |  32 ---------------------
 devel/libatomic_ops/patches/patch-src_atomic__ops.h |  19 ++++++++++++
 4 files changed, 27 insertions(+), 40 deletions(-)

diffs (88 lines):

diff -r 2a7b4b25ec24 -r f4c563be5828 devel/libatomic_ops/Makefile
--- a/devel/libatomic_ops/Makefile      Sat Mar 02 14:42:30 2019 +0000
+++ b/devel/libatomic_ops/Makefile      Sat Mar 02 14:51:53 2019 +0000
@@ -1,6 +1,6 @@
-# $NetBSD: Makefile,v 1.19 2018/12/13 19:14:26 adam Exp $
+# $NetBSD: Makefile,v 1.20 2019/03/02 14:51:53 adam Exp $
 
-DISTNAME=      libatomic_ops-7.6.8
+DISTNAME=      libatomic_ops-7.6.10
 CATEGORIES=    devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=ivmai/}
 GITHUB_RELEASE=        v${PKGVERSION_NOREV}
diff -r 2a7b4b25ec24 -r f4c563be5828 devel/libatomic_ops/distinfo
--- a/devel/libatomic_ops/distinfo      Sat Mar 02 14:42:30 2019 +0000
+++ b/devel/libatomic_ops/distinfo      Sat Mar 02 14:51:53 2019 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.24 2018/12/13 19:14:26 adam Exp $
+$NetBSD: distinfo,v 1.25 2019/03/02 14:51:53 adam Exp $
 
-SHA1 (libatomic_ops-7.6.8.tar.gz) = 628fe98e9e1703c64028454bdfed022f18659aff
-RMD160 (libatomic_ops-7.6.8.tar.gz) = d7d11e48a2917364ca416567248f15c77644aab8
-SHA512 (libatomic_ops-7.6.8.tar.gz) = bc448fadcf8e2936fa933a5872d5550ecdff04b0df27120d3182dcbb2147a6594ec6bfc5b214e21b37ffa1b5100c1c56d301ba9cae7df26cee5e6b999dcda14c
-Size (libatomic_ops-7.6.8.tar.gz) = 503550 bytes
-SHA1 (patch-ad) = b5db1656821058aae2ec81c20ffc4c0740049314
+SHA1 (libatomic_ops-7.6.10.tar.gz) = ad1c9cd6cc22e042a784e34baa360874083e5f60
+RMD160 (libatomic_ops-7.6.10.tar.gz) = b5258c1fcbce5d91d66b9bb3046a74e04cda79a5
+SHA512 (libatomic_ops-7.6.10.tar.gz) = 4661445503ef4303e873559af319ad799a7eddad3df45ad602cf338c594a642ad4333a36fa91722f0d8c48acd38bbf45c60a468c7375d14824520a83c1109ec9
+Size (libatomic_ops-7.6.10.tar.gz) = 503734 bytes
+SHA1 (patch-src_atomic__ops.h) = 244324fb2ecf738a9407c128fc33930eb81f26d8
diff -r 2a7b4b25ec24 -r f4c563be5828 devel/libatomic_ops/patches/patch-ad
--- a/devel/libatomic_ops/patches/patch-ad      Sat Mar 02 14:42:30 2019 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,32 +0,0 @@
-$NetBSD: patch-ad,v 1.6 2018/02/21 23:59:33 maya Exp $
-
-revision 1.2
-date: 2009-01-31 21:05:57 +0100;  author: sketch;  state: Exp;  lines: +2 -2;
-Sun Studio x86 implementation isn't quite good enough yet for e.g.
-pulseaudio, so instead use the generic pthread implementation for now.
-
-Check if AO_AO_TS_T is defined before testing it (PR pkg/53046)
-
---- src/atomic_ops.h.orig      2017-12-24 08:31:12.000000000 +0000
-+++ src/atomic_ops.h
-@@ -412,7 +412,10 @@
- # endif
- #endif
- 
--#if !defined(__GNUC__) && (defined(sparc) || defined(__sparc)) \
-+#if defined(__SUNPRO_C) && defined(__i386)
-+#   include "atomic_ops/sysdeps/generic_pthread.h"
-+#   define AO_CAN_EMUL_CAS
-+#elif !defined(__GNUC__) && (defined(sparc) || defined(__sparc)) \
-     && !defined(AO_USE_PTHREAD_DEFS)
- # include "atomic_ops/sysdeps/sunc/sparc.h"
- # define AO_CAN_EMUL_CAS
-@@ -433,7 +436,7 @@
- 
- /* The most common way to clear a test-and-set location         */
- /* at the end of a critical section.                            */
--#if AO_AO_TS_T && !defined(AO_HAVE_CLEAR)
-+#if defined(AO_AO_TS_T) && AO_AO_TS_T && !defined(AO_HAVE_CLEAR)
- # define AO_CLEAR(addr) AO_store_release((AO_TS_t *)(addr), AO_TS_CLEAR)
- # define AO_HAVE_CLEAR
- #endif
diff -r 2a7b4b25ec24 -r f4c563be5828 devel/libatomic_ops/patches/patch-src_atomic__ops.h
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libatomic_ops/patches/patch-src_atomic__ops.h       Sat Mar 02 14:51:53 2019 +0000
@@ -0,0 +1,19 @@
+$NetBSD: patch-src_atomic__ops.h,v 1.1 2019/03/02 14:51:54 adam Exp $
+
+Sun Studio x86 implementation isn't quite good enough yet for e.g.
+pulseaudio, so instead use the generic pthread implementation for now.
+
+--- src/atomic_ops.h.orig      2019-03-01 16:59:46.000000000 +0000
++++ src/atomic_ops.h
+@@ -400,7 +400,10 @@
+ # endif
+ #endif
+ 
+-#if !defined(__GNUC__) && (defined(sparc) || defined(__sparc)) \
++#if defined(__SUNPRO_C) && defined(__i386)
++#   include "atomic_ops/sysdeps/generic_pthread.h"
++#   define AO_CAN_EMUL_CAS
++#elif !defined(__GNUC__) && (defined(sparc) || defined(__sparc)) \
+     && !defined(AO_USE_PTHREAD_DEFS)
+ # include "atomic_ops/sysdeps/sunc/sparc.h"
+ # define AO_CAN_EMUL_CAS



Home | Main Index | Thread Index | Old Index