openbsd-ports/x11/gnustep/base/patches/patch-Source_NSObject_m
ajacoutot 0595844e35 - GNUstep-Base 1.18.0
* Improved lookup of versioned library resources
* Keyed archiving improvements for various classes
* Exception and thread handling improvements
* Portability improvements
2008-12-23 15:25:31 +00:00

13 lines
517 B
Plaintext

$OpenBSD: patch-Source_NSObject_m,v 1.3 2008/12/23 15:25:31 ajacoutot Exp $
--- Source/NSObject.m.orig Fri Dec 19 10:06:14 2008
+++ Source/NSObject.m Tue Dec 23 14:00:22 2008
@@ -1127,7 +1127,7 @@ GSDescriptionForClassMethod(pcl self, SEL aSel)
#endif
#endif
-#if defined(__FreeBSD__) && defined(__i386__)
+#if defined(__FreeBSD__) || defined(__OpenBSD__) && defined(__i386__)
// Manipulate the FPU to add the exception mask. (Fixes SIGFPE
// problems on *BSD)
// Note this only works on x86