summaryrefslogtreecommitdiff
path: root/lang/ruby16-base/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby16-base/patches/patch-ac')
-rw-r--r--lang/ruby16-base/patches/patch-ac13
1 files changed, 13 insertions, 0 deletions
diff --git a/lang/ruby16-base/patches/patch-ac b/lang/ruby16-base/patches/patch-ac
new file mode 100644
index 00000000000..95d4c11611c
--- /dev/null
+++ b/lang/ruby16-base/patches/patch-ac
@@ -0,0 +1,13 @@
+$NetBSD: patch-ac,v 1.1.1.1 2005/03/06 16:36: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