Code

Added trivial upstream patch typo-ruby.
authorSebastian Harl <sh@tokkee.org>
Thu, 25 Sep 2008 22:39:15 +0000 (00:39 +0200)
committerSebastian Harl <sh@tokkee.org>
Thu, 25 Sep 2008 22:39:15 +0000 (00:39 +0200)
This fixes a typo in the Ruby bindings.

debian/changelog
debian/patches/series
debian/patches/typo-ruby [new file with mode: 0644]

index 3b9b96ddc75f885656fe884ebe69c63050339943..d52021ac0229e01ff836acdec77bb1ada93f04ec 100644 (file)
@@ -10,11 +10,13 @@ rrdtool (1.3.1-4) unstable; urgency=low
       syscalls in rrdtool(1) (Closes: #496847).
     - Added upstream patch bts499349-memleaks to fix a couple of memory leaks
       in rrdtool, librrd and the Perl and Ruby bindings (Closes: #499349).
+    - Added trivial upstream patch typo-ruby to fix a typo in the Ruby
+      bindings.
   * debian/NEWS:
     - Added. Documented the changes required by the switch to libpango
       (Closes: #493575, #493594).
 
- -- Sebastian Harl <sh@tokkee.org>  Fri, 26 Sep 2008 00:24:55 +0200
+ -- Sebastian Harl <sh@tokkee.org>  Fri, 26 Sep 2008 00:30:03 +0200
 
 rrdtool (1.3.1-3) unstable; urgency=low
 
index 0d277c73ffa09dd282cea5f0245794a66b69fcc1..9d1b1167d0313376bb0629c45b079e2b04ed89ac 100644 (file)
@@ -8,3 +8,4 @@ bts499350-data-corruption
 bts498183-segfault-madvise
 bts496847-error-handling
 bts499349-memleaks
+typo-ruby
diff --git a/debian/patches/typo-ruby b/debian/patches/typo-ruby
new file mode 100644 (file)
index 0000000..d307248
--- /dev/null
@@ -0,0 +1,28 @@
+diff a/bindings/ruby/main.c b/bindings/ruby/main.c
+--- a/bindings/ruby/main.c
++++ b/bindings/ruby/main.c
+@@ -191,21 +191,21 @@ VALUE rb_rrd_info(
+     VALUE self,
+     VALUE args)
+ {
+-    return rrd_infocall(rrd_info, args);
++    return rb_rrd_infocall(rrd_info, args);
+ }
+ VALUE rb_rrd_updatev(
+     VALUE self,
+     VALUE args)
+ {
+-    return rrd_infocall(rrd_update_v, args);
++    return rb_rrd_infocall(rrd_update_v, args);
+ }
+ VALUE rb_rrd_graphv(
+     VALUE self,
+     VALUE args)
+ {
+-    return rrd_infocall(rrd_graph_v, args);
++    return rb_rrd_infocall(rrd_graph_v, args);
+ }