summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 97f86b3)
raw | patch | inline | side by side (parent: 97f86b3)
author | Jonathan Wiltshire <jmw@debian.org> | |
Sun, 1 Jul 2012 11:37:47 +0000 (12:37 +0100) | ||
committer | Sebastian Harl <sh@teamix.net> | |
Wed, 1 Aug 2012 07:45:39 +0000 (09:45 +0200) |
debian/changelog | patch | blob | history | |
debian/patches/ruby_bindings_format_string.patch | [new file with mode: 0644] | patch | blob |
debian/patches/series | patch | blob | history |
diff --git a/debian/changelog b/debian/changelog
index eed70bed4baed66974a62365cc867a5fc191719d..4d1e443aa6542f597dfdf1284913e19f95078cea 100644 (file)
--- a/debian/changelog
+++ b/debian/changelog
+rrdtool (1.4.7-1.1) unstable; urgency=low
+
+ * Non-maintainer upload.
+ * Add ruby_bindings_format_string.patch to fix FTBFS
+ (Closes: #676081)
+
+ -- Jonathan Wiltshire <jmw@debian.org> Sun, 01 Jul 2012 12:37:47 +0100
+
rrdtool (1.4.7-1) unstable; urgency=low
* [b59bb994] Merge commit 'upstream/1.4.7'
diff --git a/debian/patches/ruby_bindings_format_string.patch b/debian/patches/ruby_bindings_format_string.patch
--- /dev/null
@@ -0,0 +1,28 @@
+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;
+ }
+ }
diff --git a/debian/patches/series b/debian/patches/series
index ab9438ebed2dc30c602423d6f640b6c2014bcbe9..863055e9878aedd659b2921635b20a76e307d380 100644 (file)
--- a/debian/patches/series
+++ b/debian/patches/series
implicit-decl-fix
bts530814-hurd
tcl-8.5
+ruby_bindings_format_string.patch