packages: ruby-rdiscount/ruby-rdiscount-ruby1.9.patch (NEW) - initial
pawelz
pawelz at pld-linux.org
Thu Jun 24 16:54:14 CEST 2010
Author: pawelz Date: Thu Jun 24 14:54:14 2010 GMT
Module: packages Tag: HEAD
---- Log message:
- initial
---- Files affected:
packages/ruby-rdiscount:
ruby-rdiscount-ruby1.9.patch (NONE -> 1.1) (NEW)
---- Diffs:
================================================================
Index: packages/ruby-rdiscount/ruby-rdiscount-ruby1.9.patch
diff -u /dev/null packages/ruby-rdiscount/ruby-rdiscount-ruby1.9.patch:1.1
--- /dev/null Thu Jun 24 16:54:14 2010
+++ packages/ruby-rdiscount/ruby-rdiscount-ruby1.9.patch Thu Jun 24 16:54:09 2010
@@ -0,0 +1,11 @@
+--- ruby-discount-1.2.7/ext/rdiscount.c~ 2008-08-02 09:08:54.000000000 +0200
++++ ruby-discount-1.2.7/ext/rdiscount.c 2010-06-24 16:29:34.000000000 +0200
+@@ -26,7 +26,7 @@
+ if (rb_funcall(self, id_smart, 0) != Qtrue )
+ flags = flags | MKD_NOPANTS;
+
+- MMIOT *doc = mkd_string(RSTRING(text)->ptr, RSTRING(text)->len, flags);
++ MMIOT *doc = mkd_string(RSTRING_PTR(text), RSTRING_LEN(text), flags);
+ markdown(doc, stream, flags);
+
+ fclose(stream);
================================================================
More information about the pld-cvs-commit
mailing list