Ticket #15095: blt2.4z-noexactversion.patch

File blt2.4z-noexactversion.patch, 477 bytes (added by howarth@…, 15 years ago)

patch from Fedora 12 that eliminates check on exact tcl/tk version

  • src/bltInit.c

    old new  
    415415         * Check that the versions of Tcl that have been loaded are
    416416         * the same ones that BLT was compiled against.
    417417         */
    418         if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, EXACT) == NULL) {
     418        if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 0) == NULL) {
    419419            return TCL_ERROR;
    420420        }
    421421        /* Set the "blt_version", "blt_patchLevel", and "blt_libPath" Tcl