openbsd-ports/lang/swi-prolog/patches/patch-src_test_memmodel_c
jasper 021b835a3b - update swi-prolog to 5.10.2
- unbreak on hppa (tested by landry@)

If you are upgrading from an older release (e.g. 5.6.x) it is advised to
read the upgrading guide which is available from
http://www.swi-prolog.org/Upgrade-5.8.html
2010-12-27 16:07:08 +00:00

17 lines
540 B
Plaintext

$OpenBSD: patch-src_test_memmodel_c,v 1.2 2010/12/27 16:07:08 jasper Exp $
--- src/test/memmodel.c.orig Thu Oct 28 21:38:25 2010
+++ src/test/memmodel.c Thu Dec 23 01:18:30 2010
@@ -84,8 +84,11 @@ char *argv[];
else if ( (gva & 0xf0000000L) == 0x10000000L )
decl[ndecl++] = "DATA_AT_0X1=1;";
else if ( (gva & 0xf0000000L) )
- { printf("PROBLEM: Memory model not supported; see \"pl-incl.h\"\n");
+ {
+#if 0
+ printf("PROBLEM: Memory model not supported; see \"pl-incl.h\"\n");
exit(1);
+#endif
}
if ( stack_up )