openbsd-ports/lang/cim/patches/patch-lib_cim_h
bcallah 73c8c3302a Import lang/cim, the GNU Simula compiler.
ok juanfra@

GNU Cim is a compiler for the programming language Simula (except
unspecified parameters to formal or virtual procedures). It offers a
class concept, separate compilation with full type checking, interface
to external C routines, an application package for process simulation
and a coroutine concept. The compiler and run-time system are written in                                                                        
C, and the compiler produces C code that is passed to a C compiler for
further processing towards machine code.
2017-12-09 00:21:17 +00:00

19 lines
475 B
Plaintext

$OpenBSD: patch-lib_cim_h,v 1.1.1.1 2017/12/09 00:21:17 bcallah Exp $
Avoid multiple defintion of __init when linking.
Change the whole trio of functions so they stay
grouped for ease of human reading.
Index: lib/cim.h
--- lib/cim.h.orig
+++ lib/cim.h
@@ -651,7 +651,7 @@ __dhp __rsyserr (void);
/* ENVIRONMENT.C */
-void __init_SIMENVIR (void);
+void ___init_SIMENVIR (void);
void __rprintfilline (void);
void __rhisto (__arrp A, __arrp B, double c, double d);
/*