After quick try some dirty hints:
- create special arch kbsd base on fbsd arch, but
OS_LIB_DYNLOAD = -ldl
honor DESTDIR in make install
do not call ldconfig from install
- extend all checking of type
defined __FreeBSD__
into
defined (__FreeBSD__) || defined (__FreeBSD_kernel__)
- #include <stdlib.h> in src/hysteresis.c
- change order of includes in src/bsd/net.c
#include <ifaddrs.h>
have to be after
#include <netinet/in_var.h>
- missing strlcpy
get it from libbsd-dev
- into top of src/bsd/net.c add
#define _GNU_SOURCE 1
- condition in lib/nameservice/src/compat.c should be
#if !defined(__linux__) && !defined(__GLIBC__)
- put the same check into
lib/nameservice/src/compat.h
otherwise the definition of strndup() will colide with system definition
- fix location of config file
It should be almost all.
Petr
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]