[MacPorts] #19193: socat fails to build
MacPorts
noreply at macports.org
Mon Apr 6 21:46:22 PDT 2009
#19193: socat fails to build
----------------------------------------+-----------------------------------
Reporter: macports@… | Owner: md@…
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.7.1
Keywords: | Port: socat
----------------------------------------+-----------------------------------
Comment(by macports@…):
The following patches seem to fix the problem:
{{{
--- xioconfig.h.orig Mon Apr 6 21:15:42 2009
+++ xioconfig.h Mon Apr 6 21:17:01 2009
@@ -121,7 +121,7 @@
#endif
#ifndef HAVE_TYPE_SA_FAMILY_T
- typedef uint16_t sa_family_t;
+ typedef unsigned char sa_family_t;
#endif
#endif /* !defined(__xioconfig_h_included) */
}}}
{{{
--- filan.c.orig Mon Apr 6 21:38:38 2009
+++ filan.c Mon Apr 6 21:39:06 2009
@@ -136,7 +136,9 @@
#ifdef POLLRDBAND
|POLLRDBAND
#endif
+#ifdef POLLWRNORM
|POLLWRNORM
+#endif
#ifdef POLLWRBAND
|POLLWRBAND
#endif
}}}
Not sure if they're the exactly right things to do, but they allow the
package to build, and it seems to work fine when installed. hth.
--
Ticket URL: <http://trac.macports.org/ticket/19193#comment:2>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list