Skip to content
Tcl Source Code Ticket Change Details
Login

Ticket Change Details

Overview

Artifact ID: b7775b939f09c5258687aae9849e9d77cdfa3139
Ticket: 922727ffffffffffffffffffffffffffffffffff
Header reform
User & Date: das on 2004-04-20 15:00:16
Changes

  1. icomment:
    
    
    File Added - 84358: tclPort.diff
    
    Logged In: YES 
    user_id=90580
    
    Don,
    sorry for the delay, finally getting back to this.
    
    while your patch greatly simplifies the internal header organization, the 
    issue I originally reported on tcl-core remains (broken macosx tk build):
    
    tclPort.h cannot be  used when it is installed outside of the tcl source 
    hierarchy (e.g. in /usr/local/include) because it #includes the platform 
    port headers via relative paths.
    I.e. it is currently not possible to #include tclPort.h when it is installed in /
    usr/local/include; or in Tcl.framework/PrivateHeaders, which is something 
    the OSX Tk build relies on.
    
    The attached patch fixes this for tclUnixPort.h, and adds related makefile 
    support. Something similar should be done for tclWinPort.h, can't test that 
    myself though.
    
    Note that tkPort.h already doesn't use relative paths when including 
    tkWinPort.h and tkMacOSXPort.h, probably a similar fix for tkUnixPort.h 
    should be applied there as well.
    
    If there are no objections I'll check this in (this is essentially the same 
    patch I originally posted to tcl-core).
    
    
    
  2. login: "das"
  3. mimetype: "text/plain"
  4. status changed to: "Open"
  5. username: "das"