pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libatomic_ops Rudimentary support for Sun Studio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/87ecb6eeeaf7
branches: trunk
changeset: 553611:87ecb6eeeaf7
user: sketch <sketch%pkgsrc.org@localhost>
date: Mon Jan 26 15:01:56 2009 +0000
description:
Rudimentary support for Sun Studio on x86.
diffstat:
devel/libatomic_ops/distinfo | 4 +++-
devel/libatomic_ops/patches/patch-ad | 16 ++++++++++++++++
devel/libatomic_ops/patches/patch-ae | 10 ++++++++++
3 files changed, 29 insertions(+), 1 deletions(-)
diffs (49 lines):
diff -r 3969f0b5bca3 -r 87ecb6eeeaf7 devel/libatomic_ops/distinfo
--- a/devel/libatomic_ops/distinfo Mon Jan 26 14:08:13 2009 +0000
+++ b/devel/libatomic_ops/distinfo Mon Jan 26 15:01:56 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.3 2008/12/22 02:46:52 jmcneill Exp $
+$NetBSD: distinfo,v 1.4 2009/01/26 15:01:56 sketch Exp $
SHA1 (libatomic_ops-20081024.tar.gz) = 70dcc68c89ea8ce8b8e6c936ea337eca31f13662
RMD160 (libatomic_ops-20081024.tar.gz) = a9194631fafc2d4ce68cea93dbc212d7212cab13
@@ -6,3 +6,5 @@
SHA1 (patch-aa) = bf53ad892ba270b1d7a9bd1fa14012ca83ab5323
SHA1 (patch-ab) = 74674124fff34faf2aae0d694566c66ffaf9df25
SHA1 (patch-ac) = 40eeac276e322ea6f28743c183c11e92b1ab8de5
+SHA1 (patch-ad) = 5952b7a292a381b00b8e101bdf48452555a5a660
+SHA1 (patch-ae) = 5fe403a33d8b49e0ac3f21aaa65ea42d5e656251
diff -r 3969f0b5bca3 -r 87ecb6eeeaf7 devel/libatomic_ops/patches/patch-ad
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libatomic_ops/patches/patch-ad Mon Jan 26 15:01:56 2009 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-ad,v 1.1 2009/01/26 15:01:56 sketch Exp $
+
+--- src/atomic_ops.h.orig Wed Oct 22 02:12:17 2008
++++ src/atomic_ops.h Mon Jan 26 14:48:46 2009
+@@ -251,7 +251,10 @@
+ # endif
+ #endif
+
+-#if !defined(__GNUC__) && (defined(sparc) || defined(__sparc)) \
++#if defined(__SUNPRO_C) && defined(__i386)
++# include "atomic_ops/sysdeps/sunc/x86.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
diff -r 3969f0b5bca3 -r 87ecb6eeeaf7 devel/libatomic_ops/patches/patch-ae
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libatomic_ops/patches/patch-ae Mon Jan 26 15:01:56 2009 +0000
@@ -0,0 +1,10 @@
+$NetBSD: patch-ae,v 1.1 2009/01/26 15:01:56 sketch Exp $
+
+--- /dev/null 2009-01-26 14:55:50.000000000 +0000
++++ src/atomic_ops/sysdeps/sunc/x86.h 2009-01-26 14:48:08.246647402 +0000
+@@ -0,0 +1,5 @@
++#include "../all_aligned_atomic_load_store.h"
++#include "../ordered_except_wr.h"
++#include "../test_and_set_t_is_char.h"
++#include "../standard_ao_double_t.h"
++#include "../ao_t_is_int.h"
Home |
Main Index |
Thread Index |
Old Index