diff options
author | Mark Linimon <linimon@FreeBSD.org> | 2009-12-04 08:39:55 +0000 |
---|---|---|
committer | Mark Linimon <linimon@FreeBSD.org> | 2009-12-04 08:39:55 +0000 |
commit | d9260e0f705d5fa92714971b03ea9567f06e2d91 (patch) | |
tree | 612f6da3706ef683689b556499f92051301e3222 /devel/boost-libs | |
parent | d4c63d6872c497b73f88f3f98f1cd3a732e3341b (diff) | |
download | ports-d9260e0f705d5fa92714971b03ea9567f06e2d91.tar.gz ports-d9260e0f705d5fa92714971b03ea9567f06e2d91.zip |
Notes
Diffstat (limited to 'devel/boost-libs')
-rw-r--r-- | devel/boost-libs/files/patch-boost_smart_ptr_detail_sp_counted_base_gcc_sparc.hpp | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/devel/boost-libs/files/patch-boost_smart_ptr_detail_sp_counted_base_gcc_sparc.hpp b/devel/boost-libs/files/patch-boost_smart_ptr_detail_sp_counted_base_gcc_sparc.hpp new file mode 100644 index 000000000000..0df80666e2b5 --- /dev/null +++ b/devel/boost-libs/files/patch-boost_smart_ptr_detail_sp_counted_base_gcc_sparc.hpp @@ -0,0 +1,15 @@ +--- boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp.orig 2009-11-26 07:22:29.000000000 -0500 ++++ boost/smart_ptr/detail/sp_counted_base_gcc_sparc.hpp 2009-11-26 07:24:36.000000000 -0500 +@@ -30,9 +30,9 @@ + + inline int32_t compare_and_swap( int32_t * dest_, int32_t compare_, int32_t swap_ ) + { +- __asm__ __volatile__( "cas %0, %2, %1" +- : "+m" (*dest_), "+r" (swap_) +- : "r" (compare_) ++ __asm__ __volatile__( "cas [%1], %2, %0" ++ : "+r" (swap_) ++ : "r" (dest_), "r" (compare_) + : "memory" ); + + return swap_; |