openbsd-ports/lang/mono/patches/patch-mono_mini_mini-ppc_h
ajacoutot a72a07e53d Major update to mono-2.5.
While beeing a development release, this is the most stable version I
used on OpenBSD for now. Several patches are removed as they went
upstream. Thanks to jolan@ for pointing me at this release and cooking a
couple of patches.

Fix build on powerpc and add it to ONLY_FOR_ARCHS ; slightly tested on
macppc.

A similar port was successfuly tested by jolan@ on amd64.

no objection alek@ (maintainer)
ok jolan@ ok jasper@
2009-09-06 07:25:27 +00:00

13 lines
530 B
Plaintext

$OpenBSD: patch-mono_mini_mini-ppc_h,v 1.1 2009/09/06 07:25:27 ajacoutot Exp $
--- mono/mini/mini-ppc.h.orig Wed Sep 2 17:37:38 2009
+++ mono/mini/mini-ppc.h Wed Sep 2 17:37:55 2009
@@ -283,6 +283,8 @@ extern guint8* mono_ppc_create_pre_code_ftnptr (guint8
#define MONO_ARCH_USE_SIGACTION 1
#elif defined(__NetBSD__)
#define MONO_ARCH_USE_SIGACTION 1
+#elif defined(__OpenBSD__)
+#undef MONO_ARCH_USE_SIGACTION
#else
/* For other operating systems, we pull the definition from an external file */
#include "mini-ppc-os.h"