rpms/blt/devel blt2.4z-noexactversion.patch, NONE, 1.1 blt.spec, 1.22, 1.23

Michael Thomas (wart) fedora-extras-commits at redhat.com
Tue Mar 18 01:48:26 UTC 2008


Author: wart

Update of /cvs/pkgs/rpms/blt/devel
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv30813

Modified Files:
	blt.spec 
Added Files:
	blt2.4z-noexactversion.patch 
Log Message:
Add patch to prevent BLT from puking every time there is a minor version bump for Tcl.



blt2.4z-noexactversion.patch:

--- NEW FILE blt2.4z-noexactversion.patch ---
--- src/bltInit.c.orig	2008-03-17 18:42:09.000000000 -0700
+++ src/bltInit.c	2008-03-17 18:43:05.000000000 -0700
@@ -415,7 +415,7 @@
 	 * Check that the versions of Tcl that have been loaded are
 	 * the same ones that BLT was compiled against.
 	 */
-	if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, EXACT) == NULL) {
+	if (Tcl_PkgRequire(interp, "Tcl", TCL_VERSION, 0) == NULL) {
 	    return TCL_ERROR;
 	}
 	/* Set the "blt_version", "blt_patchLevel", and "blt_libPath" Tcl


Index: blt.spec
===================================================================
RCS file: /cvs/pkgs/rpms/blt/devel/blt.spec,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -r1.22 -r1.23
--- blt.spec	9 Feb 2008 19:58:42 -0000	1.22
+++ blt.spec	18 Mar 2008 01:47:42 -0000	1.23
@@ -5,7 +5,7 @@
 Summary: BLT widget extension to Tcl/Tk scripting language development
 Name: blt
 Version: 2.4
-Release: 25%{?dist}
+Release: 26%{?dist}
 
 License: MIT
 Group: Development/Libraries
@@ -16,6 +16,7 @@
 Patch2: blt2.4-tk8.5.patch
 Patch3: blt2.4z-destdir.patch
 Patch4: blt2.4z-norpath.patch
+Patch5: blt2.4z-noexactversion.patch
 BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%__id_u -n)
 
 Provides: tk-blt = %{version}-%{release}
@@ -56,6 +57,7 @@
 %patch2 -p1
 %patch3 -p1
 %patch4 -p1
+%patch5 -p0
 
 # Fix bad interpreter path
 sed -i -e 's#/usr/local/bin/tclsh#/usr/bin/tclsh#' demos/scripts/page.tcl
@@ -108,6 +110,10 @@
 %{_includedir}/%{name}
 
 %changelog
+* Mon Mar 17 2008 Wart <wart at kobold.org> 2.4-26
+- Add patch to prevent BLT from puking every time there is a minor
+  version bump for Tcl.
+
 * Sat Feb 9 2008 Wart <wart at kobold.org> 2.4-25
 - Rebuild for gcc 4.3
 - Add patch to add soname and remove rpath




More information about the fedora-extras-commits mailing list