Ok, with the following patch it builds:
#v+
% cat debian/patches/kfreebsd.patch
--- a/src/osflags
+++ b/src/osflags
@@ -38,6 +38,9 @@
[ -e /usr/include/systemd/sd-daemon.h ] && FLAGS="$FLAGS
-DHAVE_SYSTEMD";
echo $FLAGS;
;;
+ GNU/kFreeBSD)
+ echo '-D_GNU_SOURCE'
+ ;;
esac
;;
*)
#v-
(I'm attaching the original src/osflags for reference).
Does this look ok for kFreeBSD?
Yes, we have the same glibc as Linux and _GNU_SOURCE is hint for glibc.
If it suffices, perfect.
Cheers
Petr
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]