aboutsummaryrefslogtreecommitdiff
path: root/devel/libatomic_ops
diff options
context:
space:
mode:
authorCarlos J. Puga Medina <cpm@FreeBSD.org>2016-08-24 10:53:33 +0000
committerCarlos J. Puga Medina <cpm@FreeBSD.org>2016-08-24 10:53:33 +0000
commitdf15301c3c1600a77c557d5fae2db40abb541790 (patch)
tree4a35aeff3328f698374afc7a6908884927e74da7 /devel/libatomic_ops
parent4a49d0f5a1bb444652acbe8a6190ee22068943ac (diff)
Notes
Diffstat (limited to 'devel/libatomic_ops')
-rw-r--r--devel/libatomic_ops/Makefile3
-rw-r--r--devel/libatomic_ops/distinfo5
-rw-r--r--devel/libatomic_ops/files/patch-src_atomic__ops_sysdeps_gcc_sparc.h20
3 files changed, 24 insertions, 4 deletions
diff --git a/devel/libatomic_ops/Makefile b/devel/libatomic_ops/Makefile
index 2c5ac3d05b87..ab8d4de38f14 100644
--- a/devel/libatomic_ops/Makefile
+++ b/devel/libatomic_ops/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= libatomic_ops
-DISTVERSION= 7.4.0
-PORTREVISION= 1
+PORTVERSION= 7.4.4
CATEGORIES= devel
MASTER_SITES= http://www.hboehm.info/gc/gc_source/
diff --git a/devel/libatomic_ops/distinfo b/devel/libatomic_ops/distinfo
index a9b8ca6074e7..0971b854caac 100644
--- a/devel/libatomic_ops/distinfo
+++ b/devel/libatomic_ops/distinfo
@@ -1,2 +1,3 @@
-SHA256 (libatomic_ops-7.4.0.tar.gz) = 2875ccc29254d3375dab9c5930c42df342f148f8cd7c646621dbf03f8c1d5b5a
-SIZE (libatomic_ops-7.4.0.tar.gz) = 455143
+TIMESTAMP = 1469492798
+SHA256 (libatomic_ops-7.4.4.tar.gz) = bf210a600dd1becbf7936dd2914cf5f5d3356046904848dcfd27d0c8b12b6f8f
+SIZE (libatomic_ops-7.4.4.tar.gz) = 480094
diff --git a/devel/libatomic_ops/files/patch-src_atomic__ops_sysdeps_gcc_sparc.h b/devel/libatomic_ops/files/patch-src_atomic__ops_sysdeps_gcc_sparc.h
new file mode 100644
index 000000000000..2a553002527c
--- /dev/null
+++ b/devel/libatomic_ops/files/patch-src_atomic__ops_sysdeps_gcc_sparc.h
@@ -0,0 +1,20 @@
+--- src/atomic_ops/sysdeps/gcc/sparc.h.orig 2016-07-26 00:27:50 UTC
++++ src/atomic_ops/sysdeps/gcc/sparc.h
+@@ -37,7 +37,7 @@ AO_test_and_set_full(volatile AO_TS_t *a
+ }
+ #define AO_HAVE_test_and_set_full
+
+-#ifndef AO_NO_SPARC_V9
++#ifdef __sparc64__
+ /* Returns nonzero if the comparison succeeded. */
+ AO_INLINE int
+ AO_compare_and_swap_full(volatile AO_t *addr, AO_t old, AO_t new_val) {
+@@ -62,7 +62,7 @@ AO_compare_and_swap_full(volatile AO_t *
+ #define AO_HAVE_compare_and_swap_full
+
+ /* TODO: implement AO_fetch_compare_and_swap. */
+-#endif /* !AO_NO_SPARC_V9 */
++#endif /* __sparc64__ */
+
+ /* TODO: Extend this for SPARC v8 and v9 (V8 also has swap, V9 has CAS, */
+ /* there are barriers like membar #LoadStore, CASA (32-bit) and */