$OpenBSD: patch-libs_lua51_lcoco_c,v 1.1 2008/12/04 22:29:06 steven Exp $
--- libs/lua51/lcoco.c.orig	Sun Oct 26 15:29:53 2008
+++ libs/lua51/lcoco.c	Sun Oct 26 15:30:26 2008
@@ -24,6 +24,15 @@
 */
 
 /* Coco -- True C coroutines for Lua. http://luajit.org/coco.html */
+
+#if defined(__OpenBSD__)
+#if defined(__i386) || defined(__i386__)
+#else
+#define COCO_DISABLE
+# warning COCO: not supported on this platform (non-intel OpenBSD)
+#endif
+#endif
+
 #ifndef COCO_DISABLE
 
 #define lcoco_c
