summaryrefslogtreecommitdiff
path: root/lang/ruby18-base/patches/patch-dn
blob: cfcb737deae947efe87a4232d338ae6db123cc30 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
$NetBSD: patch-dn,v 1.2 2010/09/10 03:29:00 taca Exp $

* r18172: suppress warnings.
* r26835: backport fixes in 1.9.

--- ext/openssl/ossl_engine.c.orig	2010-06-21 09:18:59.000000000 +0000
+++ ext/openssl/ossl_engine.c
@@ -344,7 +344,7 @@ static VALUE
 ossl_engine_inspect(VALUE self)
 {
     VALUE str;
-    char *cname = rb_class2name(rb_obj_class(self));
+    const char *cname = rb_class2name(rb_obj_class(self));
     
     str = rb_str_new2("#<");
     rb_str_cat2(str, cname);