freebsd-ports/games/polypuzzle/files/patch-polypuzzle
Guido Falsi d07a6464b2 - Update to 1.8.2
- Update MASTER_SITES and unbreak
- Remove DOCS option since those files are not included anymore.
- Update pkg-descr

PR:		205207
Submitted by:	Ports fury
2016-03-02 01:13:12 +00:00

22 lines
752 B
Text

--- polypuzzle.orig 2008-10-26 00:53:04 UTC
+++ polypuzzle
@@ -1,8 +1,8 @@
#!/bin/sh
# the next line restarts using tclsh \
-exec wish "$0" "$@"
+exec %%WISH%% "$0" "$@"
-if {[file isdirectory /usr/local/lib/polypuzzle]} {cd /usr/local/lib/polypuzzle}
+if {[file isdirectory %%DATADIR%%]} {cd %%DATADIR%%}
# wish8.5.2 still occasionally has problems for polypuzzle without this hack:
set tcl_precision 12
@@ -380,7 +380,7 @@ proc DrawPiece {n xpos ypos} {
# Place this piece on top (but underneath text, which is our ceiling)
# in windows tcl 8.2 this generates an error on initiation
# as text is not defined - ooh noo (but is ok in tcl832)
- .c lower piece$n text
+ # .c lower piece$n text
.c move piece$n $xpos $ypos