Tcl Source Code

View Ticket
Login
Ticket UUID: 2883533
Title: tcl.m4 support for Haiku OS
Type: Patch Version: None
Submitter: brlcad Created on: 2009-10-21 21:37:53
Subsystem: 52. Portability Support Assigned To: jan.nijtmans
Priority: 5 Medium Severity: Minor
Status: Closed Last Modified: 2013-09-25 14:56:04
Resolution: Out of Date Closed By: jan.nijtmans
    Closed on: 2013-09-25 14:56:04
Description:
The attached patch provides a couple more compilation fixes by adding a Haiku section to the tcl.m4 script.

The section fixes a linker error where the networking symbols (such as socket(), inet_ntoa(), recv(), etc) are not found.  Haiku provides them via -lnetwork.  Additionally, this provides shared and dynamic library settings (e.g., dlopen() is in -lroot).

This is just a preliminary version that can probably be improved upon and expanded, but it results in a successful complete build.

Cheers!
Sean
User Comments: brlcad added on 2012-11-14 22:47:20:
Don, thanks for the recap/confirm.  Looks like this bug can be closed.

Now that Haiku's Alpha 4 is out, I'm looking into revisiting Tk support but wanted to close out all of the Tcl issues first.  This should do it!  Thanks again.

dgp added on 2012-11-14 21:41:15:
http://core.tcl.tk/tcl/info/100e5d2f1262afde210c7844d866359a8409924c

is the commit to the core-8-5-branch.  Should be in releases since then.

dgp added on 2012-11-14 21:33:57:
All of the dev branches have a Haiku stanza in their unix/tcl.m4 files.

brlcad added on 2012-11-14 08:56:21:
Wasn't this patch applied?  I recall reading release notes in 8.5.8 that mentioned Haiku portability fixes, but wasn't clear if it was this patch or something else.  Pretty simple linker fixes if it wasn't. ;)

brlcad added on 2009-10-22 04:37:53:

File Added - 347651: haiku2.patch

Attachments: