aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
Diffstat (limited to 'packages')
-rwxr-xr-xpackages/patches/openhtml_win32_fix-0.39-2.patch11
-rw-r--r--packages/patches/remove_dotdot_from_guidir-0.39.2.patch13
2 files changed, 13 insertions, 11 deletions
diff --git a/packages/patches/openhtml_win32_fix-0.39-2.patch b/packages/patches/openhtml_win32_fix-0.39-2.patch
deleted file mode 100755
index 61adfa03..00000000
--- a/packages/patches/openhtml_win32_fix-0.39-2.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- u_main.tk 2006-01-16 21:03:04.937500000 -0500
-+++ /c/Program Files/pd/bin/pd.tk 2006-01-22 18:44:12.843750000 -0500
-@@ -370,7 +367,7 @@
- exec sh -c [format "open %s" $filename]
- } else {
- exec rundll32 url.dll,FileProtocolHandler \
-- [format "file:%s" $filename] &
-+ [format "file:%s" [file attributes $filename -shortname]] &
- }
- }
-
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
+ }