Ticket #45835: patch-unreference-macports_fastload_tcl.diff

File patch-unreference-macports_fastload_tcl.diff, 1.1 KB (added by jerryyhom, 10 years ago)
  • MPInterpreter.m

    old new  
    203203                path = PKGPath;
    204204       
    205205       
    206         NSString * mport_fastload = [[@"source [file join \"" stringByAppendingString:path]
    207                                                                  stringByAppendingString:@"\" macports1.0 macports_fastload.tcl]"];
    208         if(Tcl_Eval(*interp, [mport_fastload UTF8String]) != TCL_OK) {
    209                 NSLog(@"Error in Tcl_EvalFile macports_fastload.tcl: %s", Tcl_GetStringResult(*interp));
    210                 Tcl_DeleteInterp(*interp);
    211                 return result;
    212         }
    213        
     206//      NSString * mport_fastload = [[@"source [file join \"" stringByAppendingString:path]
     207//                                                               stringByAppendingString:@"\" macports1.0 macports_fastload.tcl]"];
     208//      if(Tcl_Eval(*interp, [mport_fastload UTF8String]) != TCL_OK) {
     209//              NSLog(@"Error in Tcl_EvalFile macports_fastload.tcl: %s", Tcl_GetStringResult(*interp));
     210//              Tcl_DeleteInterp(*interp);
     211//              return result;
     212//      }
     213
    214214       
    215215        Tcl_CreateObjCommand(*interp, "notifications", Notifications_Command, NULL, NULL);
    216216        if (Tcl_PkgProvide(*interp, "notifications", "1.0") != TCL_OK) {