From: Sebastian Harl Date: Thu, 25 Sep 2008 22:39:15 +0000 (+0200) Subject: Added trivial upstream patch typo-ruby. X-Git-Tag: debian/1.3.1-4~4 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=c3d58c3fe5038be57856d6175f1402f4db72cba7;p=pkg-rrdtool.git Added trivial upstream patch typo-ruby. This fixes a typo in the Ruby bindings. --- diff --git a/debian/changelog b/debian/changelog index 3b9b96d..d52021a 100644 --- a/debian/changelog +++ b/debian/changelog @@ -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 Fri, 26 Sep 2008 00:24:55 +0200 + -- Sebastian Harl Fri, 26 Sep 2008 00:30:03 +0200 rrdtool (1.3.1-3) unstable; urgency=low diff --git a/debian/patches/series b/debian/patches/series index 0d277c7..9d1b116 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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 index 0000000..d307248 --- /dev/null +++ b/debian/patches/typo-ruby @@ -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); + } + +