openbsd-ports/lang/ruby/patches/patch-dln_c
couderc 80017ea49d Fix for ELF machines from drahn@, ok krw@
Taking maintainer, ok krw@ & espie@
2002-06-29 13:39:26 +00:00

13 lines
790 B
Plaintext

$OpenBSD: patch-dln_c,v 1.1 2002/06/29 13:39:26 couderc Exp $
--- dln.c.orig Sat Jun 29 15:27:00 2002
+++ dln.c Sat Jun 29 15:30:14 2002
@@ -87,7 +87,7 @@ int eaccess();
#endif
#ifndef FUNCNAME_PATTERN
-# if defined(__hp9000s300) || (defined(__NetBSD__) && !defined(__ELF__)) || defined(__BORLANDC__) || (defined(__FreeBSD__) && !defined(__ELF__)) || defined(__OpenBSD__) || defined(NeXT) || defined(__WATCOMC__) || defined(__APPLE__)
+# if defined(__hp9000s300) || (defined(__NetBSD__) && !defined(__ELF__)) || defined(__BORLANDC__) || (defined(__FreeBSD__) && !defined(__ELF__)) || (defined(__OpenBSD__) && !defined(__ELF__)) || defined(NeXT) || defined(__WATCOMC__) || defined(__APPLE__)
# define FUNCNAME_PATTERN "_Init_%.200s"
# else
# define FUNCNAME_PATTERN "Init_%.200s"