$OpenBSD: patch-configure,v 1.29 2013/06/10 05:56:15 ajacoutot Exp $
--- configure.orig	Mon Jun 10 00:53:42 2013
+++ configure	Mon Jun 10 07:44:08 2013
@@ -26831,6 +26831,9 @@ else
     *-*-mingw*)
       glib_cv_g_atomic_lock_free=yes
       ;;
+    hppa*-*-openbsd*|mips64*-*-openbsd*)
+      glib_cv_g_atomic_lock_free=no
+      ;;
     *)
       cat confdefs.h - <<_ACEOF >conftest.$ac_ext
 /* end confdefs.h.  */
