pkgsrc/lang/ruby-base/patches/patch-ap

13 lines
368 B
Text

$NetBSD: patch-ap,v 1.1 2004/03/15 15:55:08 taca Exp $
--- dln.c.orig 2002-10-18 01:39:01.000000000 +0900
+++ dln.c
@@ -1084,7 +1084,7 @@ dln_sym(name)
#endif /* USE_DLN_A_OUT */
#ifdef USE_DLN_DLOPEN
-# ifdef __NetBSD__
+# if defined(__NetBSD__) && defined(__NetBSD_Version__) && __NetBSD_Version__ < 105000000
# include <nlist.h>
# include <link.h>
# else