Date: Thu, 12 Oct 2006 02:42:25 -0700 From: Luigi Rizzo <rizzo@icir.org> To: gnome@freebsd.org Cc: marcus@freebsd.org Subject: avahi port and FreeBSD 4.x Message-ID: <20061012024225.A17313@xorpc.icir.org>
next in thread | raw e-mail | index | archive | help
hoping someone is interested... the port is marked "non working" on FreeBSD < 5, however it at least builds by adding #include <sys/types.h> to avahi-core/dns.c, and making sure -lgnugetopt is passed to the linker. For the former, the patch is simple (below). For the latter, i just added a line to "configure" +LIBS="-lgnugetopt $LIBS" but almost surely there is a better way... cheers luigi > more files/patch-avahi-core-dns.c --- avahi-core/dns.c.orig Thu Oct 12 10:58:18 2006 +++ avahi-core/dns.c Thu Oct 12 10:56:39 2006 @@ -28,6 +28,7 @@ #include <stdio.h> #include <assert.h> +#include <sys/types.h> #include <netinet/in.h> #include <avahi-common/defs.h>
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061012024225.A17313>