[MacPorts] #32044: socat not building on Lion

MacPorts noreply at macports.org
Sun Jan 1 11:44:17 PST 2012


#32044: socat not building on Lion
-------------------------------+--------------------------------------------
 Reporter:  dave@…             |       Owner:  md@…        
     Type:  defect             |      Status:  new         
 Priority:  Normal             |   Milestone:              
Component:  ports              |     Version:  2.0.3       
 Keywords:  clang              |        Port:  socat       
-------------------------------+--------------------------------------------

Comment(by hmijail@…):

 The socat developer answered that this is indeed a bug. He doesn't
 explicitly support any compiler apart from gcc, though there is some
 compatibility fallback; and this fallback was absent in the file which
 failed to compile, xioexit.c :

 @@ -5,6 +5,7 @@
 /* this file contains the source for the extended exit function */

 #include "xiosysincludes.h"
 +#include "compat.h"
 #include "xio.h"

 I just tried it and works with clang.

 The socat developer doesn't seem to plan to publish an official bugfix
 soon. So, now I have a question. How should I make a Portfile? I already
 did one for socat 1.7.2 + llvm-gcc-4.2.2 (#32698). But maybe it would be
 better to add this patch and use the standard clang instead?

-- 
Ticket URL: <https://trac.macports.org/ticket/32044#comment:5>
MacPorts <http://www.macports.org/>
Ports system for Mac OS


More information about the macports-tickets mailing list