$OpenBSD: patch-src_module_c,v 1.3 2021/08/09 14:49:55 thfr Exp $

ignore non-matching function signature

Index: src/module.c
--- src/module.c.orig
+++ src/module.c
@@ -490,8 +490,10 @@ static void hl_module_init_natives( hl_module *m ) {
 		p = tmp;
 		append_type(&p,n->t);
 		*p++ = 0;
+		/*
 		if( memcmp(sign,tmp,strlen(sign)+1) != 0 )
 			hl_fatal4("Invalid signature for function %s@%s : %s required but %s found in hdll",n->lib,n->name,tmp,sign);
+		*/
 	}
 }
 
