openbsd-ports/lang/python/patches/patch-af
2000-01-03 18:23:20 +00:00

12 lines
486 B
Plaintext

--- Modules/fpectlmodule.c.orig Mon Jan 3 11:07:19 2000
+++ Modules/fpectlmodule.c Mon Jan 3 11:12:24 2000
@@ -160,7 +160,7 @@
signal(SIGFPE, handler);
/*-- DEC ALPHA OSF --------------------------------------------------------*/
-#elif defined(__alpha)
+#elif defined(__alpha) && !defined(__OpenBSD__)
/* References: exception_intro, ieee man pages */
/* cc -c -I/usr/local/python/include fpectlmodule.c */
/* ld -shared -o fpectlmodule.so fpectlmodule.o */