Code

patches: Added tcl-8.5. experimental experimental/1.4.3-2
authorSebastian Harl <sh@tokkee.org>
Sun, 6 Jun 2010 13:59:58 +0000 (15:59 +0200)
committerSebastian Harl <sh@tokkee.org>
Sun, 6 Jun 2010 13:59:58 +0000 (15:59 +0200)
… fixing an issue identified by Tcl 8.5 in the Tcl bindings: So far, a strict
version of the "Tcl" package was requested, which seems to have been ignored
by Tcl < 8.5. This requirement has been removed.

debian/changelog
debian/patches/series
debian/patches/tcl-8.5 [new file with mode: 0644]

index 01212ed2ffd1d4e6906fc9bb22d23d248bbf716f..170c29e0bb675456f09362f0bf0e5666282e2318 100644 (file)
@@ -3,8 +3,13 @@ rrdtool (1.4.3-2) experimental; urgency=low
   * debian/control: Rebuild against Tcl 8.5 (Closes: #582211).
     - Build-depend on tcl-dev (>= 8.5) and tcl (>= 8.5).
   * Uploading to experimental, which hosts Tcl 8.5 for now.
+  * debian/patches:
+    - Added tcl-8.5, fixing an issue identified by Tcl 8.5 in the Tcl
+      bindings: So far, a strict version of the "Tcl" package was requested,
+      which seems to have been ignored by Tcl < 8.5. This requirement has been
+      removed.
 
- -- Sebastian Harl <tokkee@debian.org>  Tue, 25 May 2010 20:11:31 +0200
+ -- Sebastian Harl <tokkee@debian.org>  Sun, 06 Jun 2010 15:22:39 +0200
 
 rrdtool (1.4.3-1) unstable; urgency=low
 
index e472686769fb37a4d5bcdabd40668061ac5a8c58..ab9438ebed2dc30c602423d6f640b6c2014bcbe9 100644 (file)
@@ -4,3 +4,4 @@ no-rpath-for-ruby
 no-rpath-for-perl
 implicit-decl-fix
 bts530814-hurd
+tcl-8.5
diff --git a/debian/patches/tcl-8.5 b/debian/patches/tcl-8.5
new file mode 100644 (file)
index 0000000..a84798b
--- /dev/null
@@ -0,0 +1,12 @@
+diff a/bindings/tcl/tclrrd.c b/bindings/tcl/tclrrd.c
+--- a/bindings/tcl/tclrrd.c
++++ b/bindings/tcl/tclrrd.c
+@@ -678,7 +678,7 @@ static int init(
+     if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL)
+         return TCL_ERROR;
+-    if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 1) == NULL) {
++    if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 0) == NULL) {
+         return TCL_ERROR;
+     }