openbsd-ports/lang/gprolog/patches/patch-Ma2Asm_ix86_any_c
espie 7b8fcda725 basic port of gnu-prolog, adapted from submission:
- old tricks with $${DESTDIR} to make sure the compilation path is okay.
- patchlet to compile without gnu-make
- patchlet to not force any mcpu=   on i386.

To do: reenable extra features if they work.
2004-09-26 14:48:29 +00:00

13 lines
483 B
Plaintext

$OpenBSD: patch-Ma2Asm_ix86_any_c,v 1.1.1.1 2004/09/26 14:48:29 espie Exp $
--- Ma2Asm/ix86_any.c.orig 2003-10-31 22:33:09.000000000 +0000
+++ Ma2Asm/ix86_any.c 2003-10-31 22:33:28.000000000 +0000
@@ -38,7 +38,7 @@
#define MAX_C_ARGS_IN_C_CODE 32
-#if (defined(M_ix86_cygwin) || defined(M_ix86_bsd)) && !defined(__FreeBSD__)
+#if (defined(M_ix86_cygwin) || defined(M_ix86_bsd)) && !defined(__FreeBSD__) && !defined(__OpenBSD__)
#define UN "_"