Bug #3828: fiddle not working on OpenBSD because DONT_USE_FFI_CLOSURE_ALL=
OC not defined
http://redmine.ruby-lang.org/issues/show/3828

Author: Jeremy Evans
Status: Open, Priority: Normal
Assigned to: Aaron Patterson
ruby -v: ruby 1.9.2p0 (2010-08-18 revision 29036) [x86_64-openbsd4.8]

If you don't define DONT_USE_FFI_CLOSURE_ALLOC then you get crashes such =
as the ones at http://pastie.org/1158512.txt when running the test suite =
on OpenBSD.  The fix is just to make sure that that constant is defined o=
n OpenBSD, which the included patch does.  With the patch applied, all th=
e tests pass (http://pastie.org/1158579.txt).  Thanks to Aaron Patterson =
for figuring out the fix.


----------------------------------------
http://redmine.ruby-lang.org
LS0tIGV4dC9maWRkbGUvY2xvc3VyZS5jLm9yaWcJVHVlIFNlcCAxNCAwOTo0
NToxOCAyMDEwCisrKyBleHQvZmlkZGxlL2Nsb3N1cmUuYwlUdWUgU2VwIDE0
IDA5OjQ2OjM3IDIwMTAKQEAgLTEwLDcgKzEwLDcgQEAgdHlwZWRlZiBzdHJ1
Y3QgewogICAgIGZmaV90eXBlICoqYXJndjsKIH0gZmlkZGxlX2Nsb3N1cmU7
CiAKLSNpZiBkZWZpbmVkKE1BQ09TWCkgfHwgZGVmaW5lZChfX2xpbnV4KQor
I2lmIGRlZmluZWQoTUFDT1NYKSB8fCBkZWZpbmVkKF9fbGludXgpIHx8IGRl
ZmluZWQoX19PcGVuQlNEX18pCiAjZGVmaW5lIERPTlRfVVNFX0ZGSV9DTE9T
VVJFX0FMTE9DCiAjZW5kaWYKIAo=