openbsd-ports/lang/ruby/patches/patch-ext_dl_handle_c

16 lines
379 B
Plaintext

$OpenBSD: patch-ext_dl_handle_c,v 1.1 2004/08/19 16:39:12 couderc Exp $
--- ext/dl/handle.c.orig Tue Aug 17 21:58:19 2004
+++ ext/dl/handle.c Tue Aug 17 21:58:26 2004
@@ -148,11 +148,7 @@ rb_dlhandle_sym(int argc, VALUE argv[],
}
if (sym == Qnil) {
-#if defined(RTLD_NEXT)
- name = RTLD_NEXT;
-#else
name = NULL;
-#endif
}
else{
SafeStringValue(sym);