diff options
author | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-07-06 21:46:17 +0000 |
---|---|---|
committer | Joe Marcus Clarke <marcus@FreeBSD.org> | 2006-07-06 21:46:17 +0000 |
commit | 5a499c5d1e9329f4b225654672d9a1e3ef3e5594 (patch) | |
tree | cf8f3a8e37ae8a0f54af40e4efe6e35109b73805 /devel/glib20 | |
parent | 787d3a255c8b81adfc6fd522aa7e3771e836b15a (diff) | |
download | ports-5a499c5d1e9329f4b225654672d9a1e3ef3e5594.tar.gz ports-5a499c5d1e9329f4b225654672d9a1e3ef3e5594.zip |
Fix the build on ia64.
Submitted by: marcel
Notes
Notes:
svn path=/head/; revision=167096
Diffstat (limited to 'devel/glib20')
-rw-r--r-- | devel/glib20/files/patch-glib_gatomic.c | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/devel/glib20/files/patch-glib_gatomic.c b/devel/glib20/files/patch-glib_gatomic.c new file mode 100644 index 000000000000..93b29baddabe --- /dev/null +++ b/devel/glib20/files/patch-glib_gatomic.c @@ -0,0 +1,37 @@ +--- glib/gatomic.c.orig Thu Jul 6 11:21:02 2006 ++++ glib/gatomic.c Thu Jul 6 11:18:48 2006 +@@ -414,14 +414,14 @@ + g_atomic_int_exchange_and_add (volatile gint *atomic, + gint val) + { +- return __sync_fetch_and_add (atomic, val); ++ return __sync_fetch_and_add_si (atomic, val); + } + + void + g_atomic_int_add (volatile gint *atomic, + gint val) + { +- __sync_fetch_and_add (atomic, val); ++ __sync_fetch_and_add_si (atomic, val); + } + + gboolean +@@ -429,7 +429,7 @@ + gint oldval, + gint newval) + { +- return __sync_bool_compare_and_swap (atomic, oldval, newval); ++ return __sync_bool_compare_and_swap_si (atomic, oldval, newval); + } + + gboolean +@@ -437,7 +437,7 @@ + gpointer oldval, + gpointer newval) + { +- return __sync_bool_compare_and_swap ((long *)atomic, ++ return __sync_bool_compare_and_swap_di ((long *)atomic, + (long)oldval, (long)newval); + } + |