freebsd-ports/lang/ruby19/files/patch-cont.c
Steve Wills b056987a7e - Update lang/ruby18 to p385
- Update lang/ruby19 to p125

Changes:

http://www.ruby-forum.com/topic/3663807#1047121
http://www.ruby-lang.org/en/news/2012/02/16/ruby-1-9-3-p125-is-released/

PR:		ports/165223
Submitted by:	swills (myself)
Reviewed by:	pgollucci
Approved by:	portmgr
2012-02-25 15:25:49 +00:00

11 lines
649 B
C

--- cont.c.orig 2012-02-16 22:31:17.691397569 -0500
+++ cont.c 2012-02-16 22:31:31.507395417 -0500
@@ -15,7 +15,7 @@
#include "gc.h"
#include "eval_intern.h"
-#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || (defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT))) && !defined(__NetBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
+#if ((defined(_WIN32) && _WIN32_WINNT >= 0x0400) || (defined(HAVE_GETCONTEXT) && defined(HAVE_SETCONTEXT))) && !defined(__NetBSD__) && !defined(__FreeBSD__) && !defined(sun) && !defined(FIBER_USE_NATIVE)
#define FIBER_USE_NATIVE 1
/* FIBER_USE_NATIVE enables Fiber performance improvement using system