diff options
author | marcus <marcus@FreeBSD.org> | 2006-10-17 09:45:41 +0800 |
---|---|---|
committer | marcus <marcus@FreeBSD.org> | 2006-10-17 09:45:41 +0800 |
commit | 9bd0e30d3452a97df518bd2ab76e984c39a80485 (patch) | |
tree | 6447453d7ca3d05cf25feaed963b1f9b210373ba | |
parent | a53258d251394baad6c617955cbef1b43580113e (diff) | |
download | freebsd-ports-gnome-9bd0e30d3452a97df518bd2ab76e984c39a80485.tar.gz freebsd-ports-gnome-9bd0e30d3452a97df518bd2ab76e984c39a80485.tar.zst freebsd-ports-gnome-9bd0e30d3452a97df518bd2ab76e984c39a80485.zip |
Restore a patch to fix the build on ia64 that was removed during the
GNOME 2.16 import.
Approved by: portmgr (implicit)
-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); + } + |