diff -u redet-8.26/debian/control redet-8.26/debian/control
--- redet-8.26/debian/control
+++ redet-8.26/debian/control
@@ -8,7 +8,7 @@
 
 Package: redet
 Architecture: all
-Depends: tk8.4, iwidgets4
+Depends: tk8.5, iwidgets4
 Suggests: redet-doc, dillo
 Description: regular expression development and execution tool
  Redet allows the user to construct regular expressions and test them against 
diff -u redet-8.26/debian/changelog redet-8.26/debian/changelog
--- redet-8.26/debian/changelog
+++ redet-8.26/debian/changelog
@@ -1,3 +1,10 @@
+redet (8.26-1.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Switched to Tcl/Tk 8.5 to match changes in itcl3 and itk3 packages.
+
+ -- Sergei Golovan <sgolovan@debian.org>  Wed, 02 Sep 2009 19:07:17 +0400
+
 redet (8.26-1) unstable; urgency=low
 
   * New upstream version. 
diff -u redet-8.26/debian/patches/00list redet-8.26/debian/patches/00list
--- redet-8.26/debian/patches/00list
+++ redet-8.26/debian/patches/00list
@@ -1,0 +2 @@
+02_wish
only in patch2:
unchanged:
--- redet-8.26.orig/debian/patches/02_wish.dpatch
+++ redet-8.26/debian/patches/02_wish.dpatch
@@ -0,0 +1,33 @@
+#! /bin/sh -e
+## 02_wish.dpatch
+## Sergei Golovan <sgolovan@debian.org>
+
+patch_opts="${patch_opts:--f --no-backup-if-mismatch ${2:+-d $2}}"
+
+if [ $# -ne 1 ]; then
+    echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+    exit 1
+fi
+case "$1" in
+	-patch) patch $patch_opts -p1 < $0;;
+	-unpatch) patch $patch_opts -R -p1 < $0;;
+	*)
+		echo >&2 "`basename $0`: script expects -patch|-unpatch as argument"
+		exit 1;;
+esac
+ 
+exit 0
+
+@DPATCH@
+diff -ru redet.orig/redet.tcl redet/redet.tcl
+--- redet.orig/redet.tcl
++++ redet/redet.tcl
+@@ -1,7 +1,7 @@
+ #!/bin/sh
+ #-*- mode: Tcl;time-stamp-start:"TimeStamp[ 	]+\\\\?[\"<]+";-*-
+ # the next line restarts using wish \
+-exec wish $0 -- $@
++exec wish8.5 $0 -- $@
+ set TimeStamp "2008-09-11 20:14:21 poser"
+ #
+ # Copyright (C) 2003-2008 William J. Poser (billposer@alum.mit.edu)
