rpms/itcl/F-11 itcl-3.4-findinit.patch, NONE, 1.1 itcl.spec, 1.12, 1.13

Michael Thomas wart at fedoraproject.org
Sun Jul 12 00:29:42 UTC 2009


Author: wart

Update of /cvs/pkgs/rpms/itcl/F-11
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv21199

Modified Files:
	itcl.spec 
Added Files:
	itcl-3.4-findinit.patch 
Log Message:
Fix bad logic for locating itcl.tcl from the C bindings (bz# 485252)



itcl-3.4-findinit.patch:

--- NEW FILE itcl-3.4-findinit.patch ---
--- incrtcl-20071231cvs/generic/itcl_cmds.c.orig	2009-07-11 16:24:45.000000000 -0700
+++ incrtcl-20071231cvs/generic/itcl_cmds.c	2009-07-11 16:30:04.000000000 -0700
@@ -70,7 +70,7 @@
             lappend dirs [file join $bindir .. .. itcl library]\n\
             lappend dirs [file join $bindir .. .. .. itcl library]\n\
             # On MacOSX, check the directories in the tcl_pkgPath\n\
-            if {[string equal $::tcl_platform(platform) \"unix\"] && \
+            if {[string equal $::tcl_platform(platform) \"unix\"] || \
                     [string equal $::tcl_platform(os) \"Darwin\"]} {\n\
                 foreach d $::tcl_pkgPath {\n\
                     lappend dirs [file join $d itcl$version]\n\


Index: itcl.spec
===================================================================
RCS file: /cvs/pkgs/rpms/itcl/F-11/itcl.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -p -r1.12 -r1.13
--- itcl.spec	25 Feb 2009 08:17:24 -0000	1.12
+++ itcl.spec	12 Jul 2009 00:29:42 -0000	1.13
@@ -3,7 +3,7 @@
 
 Name:           itcl
 Version:        3.4
-Release:        3%{?dist}
+Release:        4%{?dist}
 Summary:        Object oriented extensions to Tcl and Tk
 
 Group:          Development/Libraries
@@ -15,6 +15,7 @@ Source0:        incrtcl-20071231cvs.tgz
 Patch0:         itcl-3.4-tclbindir.patch
 Patch1:         itcl-3.4-libdir.patch
 Patch2:         itcl-3.4-soname.patch
+Patch3:         itcl-3.4-findinit.patch
 BuildRoot:      %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 Requires:  tcl(abi) = 8.5
@@ -36,6 +37,7 @@ Development headers and libraries for li
 %patch0 -p1
 %patch1 -p1
 %patch2 -p1
+%patch3 -p1
 
 %build
 %configure
@@ -71,6 +73,9 @@ rm -rf $RPM_BUILD_ROOT
 %{_libdir}/itclConfig.sh
 
 %changelog
+* Sat Jul 11 2009 Wart <wart at kobold.org> - 3.4-4
+- Fix bad logic for locating itcl.tcl from the C bindings (bz# 485252)
+
 * Wed Feb 25 2009 Fedora Release Engineering <rel-eng at lists.fedoraproject.org> - 3.4-3
 - Rebuilt for https://fedoraproject.org/wiki/Fedora_11_Mass_Rebuild
 




More information about the fedora-extras-commits mailing list