From d4413dbb350184710c7bc86d8ac18283aa1e0712 Mon Sep 17 00:00:00 2001 From: Alin Dobre Date: Fri, 11 Oct 2013 11:16:15 +0100 Subject: [PATCH] Removed already applied Ruby bindings patch Signed-off-by: Alin Dobre --- .../patches/ruby_bindings_format_string.patch | 28 ------------------- debian/patches/series | 1 - 2 files changed, 29 deletions(-) delete mode 100644 debian/patches/ruby_bindings_format_string.patch diff --git a/debian/patches/ruby_bindings_format_string.patch b/debian/patches/ruby_bindings_format_string.patch deleted file mode 100644 index e551af0..0000000 --- a/debian/patches/ruby_bindings_format_string.patch +++ /dev/null @@ -1,28 +0,0 @@ -Subject: fix format string in Ruby binding -Author: Johannes Brandstätter -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; - } - } diff --git a/debian/patches/series b/debian/patches/series index a8995e2..0c19ecd 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -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 -- 2.30.2