Sisyphus repositório
Última atualização: 1 outubro 2023 | SRPMs: 18631 | Visitas: 37852691
en ru br
ALT Linux repositórios
S:2.3.8-alt1
5.0: 2.1.1-alt7
4.1: 2.1.1-alt7
4.0: 2.1.1-alt7
3.0: 2.1.1-alt6

Group :: Shelss
RPM: tcl-readline

 Main   Changelog   Spec   Patches   Sources   Download   Gear   Bugs e FR  Repocop 

Patch: tclreadline-2.1.0-init.patch
Download


--- tclreadline-2.1.0/tclreadlineInit.tcl.in~	2004-11-03 18:33:01 +0300
+++ tclreadline-2.1.0/tclreadlineInit.tcl.in	2004-11-03 18:34:35 +0300
@@ -11,22 +11,7 @@
 
 package provide tclreadline @VERSION@
 
-namespace eval tclreadline:: {
-    namespace export Init
-}
-
-proc ::tclreadline::Init {} {
-    uplevel #0 {
-	if ![info exists tclreadline::library] {
-	    if [catch {load [file join @TCLRL_LIBDIR@ libtclreadline[info sharedlibextension]]} msg] {
-		puts stderr $msg
-		exit 2
-	    }
-	}
-    }
-}
-
-tclreadline::Init
+namespace eval tclreadline:: {}
 ::tclreadline::readline customcompleter ::tclreadline::ScriptCompleter
 
 source [file join [file dirname [info script]] tclreadlineSetup.tcl]
--- tclreadline-2.1.0/pkgIndex.tcl.in~	2004-11-03 18:33:01 +0300
+++ tclreadline-2.1.0/pkgIndex.tcl.in	2004-11-03 18:37:44 +0300
@@ -9,5 +9,4 @@
 # Copyright (c) 1998 - 2001, Johannes Zellner <johannes@zellner.org>
 # This software is copyright under the BSD license.
 
-package ifneeded tclreadline @VERSION@ \
-    [list source [file join $dir tclreadlineInit.tcl]]
+package ifneeded tclreadline @VERSION@ "[list load [file join $dir .. .. .. lib tcl libtclreadline.so]]; [list source [file join $dir tclreadlineInit.tcl]]"
 
projeto & código: Vladimir Lettiev aka crux © 2004-2005, Andrew Avramenko aka liks © 2007-2008
mantenedor atual: Michael Shigorin
mantenedor da tradução: Fernando Martini aka fmartini © 2009