summaryrefslogtreecommitdiff
path: root/lang/ruby18-base/patches/patch-eb
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ruby18-base/patches/patch-eb')
-rw-r--r--lang/ruby18-base/patches/patch-eb15
1 files changed, 15 insertions, 0 deletions
diff --git a/lang/ruby18-base/patches/patch-eb b/lang/ruby18-base/patches/patch-eb
new file mode 100644
index 00000000000..b3d7f36077e
--- /dev/null
+++ b/lang/ruby18-base/patches/patch-eb
@@ -0,0 +1,15 @@
+$NetBSD: patch-eb,v 1.1 2010/09/10 03:29:01 taca Exp $
+
+* Fix a warning.
+
+--- ext/digest/digest.c.orig 2009-12-14 03:19:26.000000000 +0000
++++ ext/digest/digest.c
+@@ -275,7 +275,7 @@ rb_digest_instance_inspect(VALUE self)
+ {
+ VALUE str;
+ size_t digest_len = 32; /* about this size at least */
+- char *cname;
++ const char *cname;
+
+ cname = rb_obj_classname(self);
+