openbsd-ports/lang/mono/patches/patch-mono_tests_libtest_c
robert d3f436429f - update to the latest stable version: 2.6.3
- move to autoconf
- regen patches

ok ajacoutot@, jasper@
2010-03-20 17:16:44 +00:00

13 lines
736 B
Plaintext

$OpenBSD: patch-mono_tests_libtest_c,v 1.2 2010/03/20 17:16:44 robert Exp $
--- mono/tests/libtest.c.orig Wed Feb 3 22:26:25 2010
+++ mono/tests/libtest.c Fri Mar 19 23:29:31 2010
@@ -3190,7 +3190,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)