# New Ticket Created by  "Adam Thomason" 
# Please include the string:  [perl #24239]
# in the subject line of all future correspondence about this issue. 
# <URL: http://rt.perl.org/rt2/Ticket/Display.html?id=24239 >

Two issues while building parrot on OpenBSD 3.3/i386:

* arpa/inet.h doesn't include netinet/in.h (which defines struct in_addr) on its own.  
This sends up a wave a warnings about the incomplete type in function signatures.  
Moving the inclusion of netinet/in.h above arpa/inet.h in parrot.h fixes the problem 
for me, and doesn't seem to affect building on AIX or Gentoo.

* pthread support requires both a ccflags option (-pthread) and a libs option 
(-lpthread).  I've added config/init/hints/openbsd.pl to address this.

Patch for both is attached.  With it applied, the standard tests all pass and testj 
fails 5/924 subtests.  I'll try to investigate the holdouts.

--
Adam Thomason
[EMAIL PROTECTED]



-- attachment  1 ------------------------------------------------------
url: http://rt.perl.org/rt2/attach/66165/49438/fa1e3b/openbsd.patch

Attachment: openbsd.patch
Description: openbsd.patch

Reply via email to