openbsd-ports/lang/mono/patches/patch-mono_tests_libtest_c
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
739 B
Plaintext

$OpenBSD: patch-mono_tests_libtest_c,v 1.1 2009/09/06 07:25:27 ajacoutot Exp $
--- mono/tests/libtest.c.orig Tue Sep 1 14:21:36 2009
+++ mono/tests/libtest.c Tue Sep 1 14:22:24 2009
@@ -3000,7 +3000,7 @@ mono_test_marshal_ccw_itest (MonoComObject *pUnk)
* mono_method_get_unmanaged_thunk tests
*/
-#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__FreeBSD__)) || (defined(__ppc__) && defined(__APPLE__)))
+#if defined(__GNUC__) && ((defined(__i386__) && (defined(__linux__) || defined (__APPLE__)) || defined (__FreeBSD__) || defined (__OpenBSD__)) || (defined(__ppc__) && defined(__APPLE__)))
#define ALIGN(size) __attribute__ ((aligned(size)))
#else
#define ALIGN(size)