Discussion:
net/avahi does not build on osx
yrmt
2014-06-16 08:28:26 UTC
Permalink
Hello, net/avahi doesn't seem to build on either 10.9.3 and 10.10, but
appending this to the Makefile works:

CFLAGS.Darwin+= -D__APPLE_USE_RFC_3542

the file containing the error is
net/avahi/work/avahi-0.6.31/avahi-core/socket.c.


Can anyone take a look?


yrmt.
matthew sporleder
2014-06-16 12:37:49 UTC
Permalink
This is a common issue on osx. Can you open a bug report with your findings?
Greg Troxel
2014-06-16 19:05:31 UTC
Permalink
Post by yrmt
Hello, net/avahi doesn't seem to build on either 10.9.3 and 10.10, but
CFLAGS.Darwin+= -D__APPLE_USE_RFC_3542
the file containing the error is
net/avahi/work/avahi-0.6.31/avahi-core/socket.c.
So as I understand it:

The whole world except Apple just uses RFC3542.
Apple makes you define which sockets API is in use.

The right fix is for upstream avahi to detect Apple and define this.

Absent a fix upstream, pkgsrc should add the above, logically similar
to adding a patch.

Is that right?

Loading...