openbsd-ports/lang/oo2c/patches/patch-tests_lib_LibWeakRef1_Mod
jasper 2b652e0076 - various fixes, as GCC would generate incorrect code (what's new..)
from Alexander Shiryaev (MAINTAINER)
ok landry@
2011-01-18 12:03:19 +00:00

13 lines
396 B
Plaintext

$OpenBSD: patch-tests_lib_LibWeakRef1_Mod,v 1.1 2011/01/18 12:03:19 jasper Exp $
--- tests/lib/LibWeakRef1.Mod.orig Mon Jan 12 08:38:59 2004
+++ tests/lib/LibWeakRef1.Mod Tue Jan 18 13:49:14 2011
@@ -19,7 +19,7 @@ VAR
r : ARRAY count OF T;
wr : ARRAY count OF WeakRef.WeakRef(T);
-PROCEDURE (t : T) INIT(i : LONGINT);
+PROCEDURE (t : T) INIT*(i : LONGINT);
BEGIN
t.i := i;
END INIT;