mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-20 00:21:35 +00:00
Fix build on sparc64. No need to bump portrevision.
Tested on: i386, sparc64 Submitted by: maintainer
This commit is contained in:
parent
d4c63d6872
commit
d9260e0f70
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=245188
@ -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_;
|
Loading…
Reference in New Issue
Block a user