Code

Removed already applied Ruby bindings patch
authorAlin Dobre <alinmd@gmail.com>
Fri, 11 Oct 2013 10:16:15 +0000 (11:16 +0100)
committerAlin Dobre <alinmd@gmail.com>
Fri, 11 Oct 2013 10:16:15 +0000 (11:16 +0100)
Signed-off-by: Alin Dobre <alinmd@gmail.com>
debian/patches/ruby_bindings_format_string.patch [deleted file]
debian/patches/series

diff --git a/debian/patches/ruby_bindings_format_string.patch b/debian/patches/ruby_bindings_format_string.patch
deleted file mode 100644 (file)
index e551af0..0000000
+++ /dev/null
@@ -1,28 +0,0 @@
-Subject: fix format string in Ruby binding
-Author: Johannes Brandstätter <jbrandstaetter@gmail.com>
-Bug-Debian: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=676081
-Forwarded: no
-Last-Update: 2012-07-01
-
---- rrdtool-1.4.7.orig/bindings/ruby/main.c
-+++ rrdtool-1.4.7/bindings/ruby/main.c
-@@ -27,7 +27,7 @@
- #define RRD_CHECK_ERROR  \
-     if (rrd_test_error()) \
--      rb_raise(rb_eRRDError, rrd_get_error()); \
-+      rb_raise(rb_eRRDError, "%s", rrd_get_error()); \
-     rrd_clear_error();
- string_arr string_arr_new(
-@@ -56,8 +56,8 @@
-             break;
-         default:
-             rb_raise(rb_eTypeError,
--                     "invalid argument - %s, expected T_STRING or T_FIXNUM on index %ld",
--                     (long)rb_class2name(CLASS_OF(v)), i);
-+                     "invalid argument - %s, expected T_STRING or T_FIXNUM on index %d",
-+                     rb_class2name(CLASS_OF(v)), i);
-             break;
-         }
-     }
index a8995e2ed60c594da3099e61cee24f034cec097f..0c19ecd0b9fd64698400454d632624755bfe7c7a 100644 (file)
@@ -4,5 +4,4 @@ no-rpath-for-ruby
 no-rpath-for-perl
 implicit-decl-fix
 bts530814-hurd
-ruby_bindings_format_string.patch
 bts664724-rrdcached-j-segfault