From 0212c8bdc0d48623e214fe2feac6a22ca242bdff Mon Sep 17 00:00:00 2001 From: Hans-Christoph Steiner Date: Wed, 22 Feb 2006 04:43:06 +0000 Subject: switched in Martin Peach's cleaner fix for the .. in pd_guidir on Windows, it shouldn't cause trouble on other platforms, but we shall see... svn path=/trunk/; revision=4603 --- packages/patches/remove_dotdot_from_guidir-0.39.2.patch | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 packages/patches/remove_dotdot_from_guidir-0.39.2.patch (limited to 'packages/patches/remove_dotdot_from_guidir-0.39.2.patch') diff --git a/packages/patches/remove_dotdot_from_guidir-0.39.2.patch b/packages/patches/remove_dotdot_from_guidir-0.39.2.patch new file mode 100644 index 00000000..03dee654 --- /dev/null +++ b/packages/patches/remove_dotdot_from_guidir-0.39.2.patch @@ -0,0 +1,13 @@ +--- u_main.tk 2006-01-26 11:15:41.468750000 -0500 ++++ u_main.tk 2006-01-26 11:47:40.375000000 -0500 +@@ -35,8 +35,8 @@ + global pd_guidir + global pd_tearoff + set pd_gui2 [string range $argv0 0 [expr [string last \\ $argv0 ] - 1]] +- regsub -all \\\\ $pd_gui2 / pd_gui3 +- set pd_guidir $pd_gui3/.. ++ regsub -all \\\\ $pd_gui2 / pd_guidir ++ set pd_guidir [string range $pd_guidir 0 [expr [string last / $pd_guidir] - 1]] + load $pd_guidir/bin/pdtcl.dll + set pd_tearoff 1 + } -- cgit v1.2.1