Christopher Sean Morrison <brl...@mac.com> writes: > On May 17, 2012, at 12:08 PM, Csanyi Pal wrote:
> I think I see the issue. One of the calls in the circle function > included a global scope and your version of Tcl is assuming that the > other non-scoped call must be local. I'd claim that's buggy scoping > behavior on Tcl's part, but we can accommodate it regardless. I've > attached a patch file that you can apply with this: > > patch -p0 < dist.patch > > It should prompt you for "File to patch:" and you can specify > /usr/brlcad/rel-7.20.4/share/brlcad/7.20.4/tclscripts/mged/skt_ed.tcl > or use whichever path where BRL-CAD is installed. Provide the full > path to the skt_ed.tcl resource file, then re-run MGED. I did following steps: patch -p0 < dist.patch can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: mged/skt_ed.tcl |=================================================================== |--- mged/skt_ed.tcl (revision 50546) |+++ mged/skt_ed.tcl (working copy) -------------------------- File to patch: /usr/brlcad/share/brlcad/7.18.5/tclscripts/mged/skt_ed.tcl patching file /usr/brlcad/share/brlcad/7.18.5/tclscripts/mged/skt_ed.tcl Hunk #1 succeeded at 1212 (offset -87 lines). Hunk #2 succeeded at 1276 (offset -87 lines). Hunk #3 succeeded at 1325 (offset -87 lines). Hunk #4 succeeded at 1334 (offset -87 lines). Hunk #5 FAILED at 1756. Hunk #6 FAILED at 1770. Hunk #7 FAILED at 1784. Hunk #8 FAILED at 1826. Hunk #9 FAILED at 1873. patch: **** Can't rename file /usr/brlcad/share/brlcad/7.18.5/tclscripts/mged/skt_ed.tcl to /usr/brlcad/share/brlcad/7.18.5/tclscripts/mged/skt_ed.tcl.orig : Permission denied So I tried with sudo: sudo patch -p0 < dist.patch can't find file to patch at input line 5 Perhaps you used the wrong -p or --strip option? The text leading up to this was: -------------------------- |Index: mged/skt_ed.tcl |=================================================================== |--- mged/skt_ed.tcl (revision 50546) |+++ mged/skt_ed.tcl (working copy) -------------------------- File to patch: /usr/brlcad/share/brlcad/7.18.5/tclscripts/mged/skt_ed.tcl patching file /usr/brlcad/share/brlcad/7.18.5/tclscripts/mged/skt_ed.tcl Hunk #1 succeeded at 1212 (offset -87 lines). Hunk #2 succeeded at 1276 (offset -87 lines). Hunk #3 succeeded at 1325 (offset -87 lines). Hunk #4 succeeded at 1334 (offset -87 lines). Hunk #5 FAILED at 1756. Hunk #6 FAILED at 1770. Hunk #7 FAILED at 1784. Hunk #8 FAILED at 1826. Hunk #9 FAILED at 1873. 5 out of 9 hunks FAILED -- saving rejects to file /usr/brlcad/share/brlcad/7.18.5/tclscripts/mged/skt_ed.tcl.rej What is the solution? -- Regards from Pal ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ BRL-CAD Users mailing list brlcad-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/brlcad-users