rrdtool/rrdtool-tclversion.patch
Sascha Peilicke 455d84a2f6 Accepting request 70035 from home:rmax:branches:devel:languages:python
Fix a version dependency problem with Tcl (bnc#693085) and put the Tcl bindings into a separate subpackage

OBS-URL: https://build.opensuse.org/request/show/70035
OBS-URL: https://build.opensuse.org/package/show/devel:languages:python/rrdtool?expand=0&rev=18
2011-05-11 18:38:53 +00:00

16 lines
526 B
Diff

Index: bindings/tcl/tclrrd.c
===================================================================
--- bindings/tcl/tclrrd.c.orig
+++ bindings/tcl/tclrrd.c
@@ -678,10 +678,6 @@ static int init(
if (Tcl_InitStubs(interp, TCL_VERSION, 0) == NULL)
return TCL_ERROR;
- if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 1) == NULL) {
- return TCL_ERROR;
- }
-
/*
* Why a global array? In keeping with the Rrd:: namespace, why
* not simply create a normal variable Rrd::version and set it?