* Petr Salinger <petr.salin...@seznam.cz> wrote: > Package: babeltrace > Version: 1.1.0-1 > Severity: serious > Tags: patch > User: debian-...@lists.debian.org > Usertags: kfreebsd > > Hi, > > the current version fails to build on GNU/kFreeBSD. > > The value ENODATA is linux specific, > please use some general error number, like shown bellow. > > It would also be nice if you can inform upstream about this. > > Thanks > Petr > > --- formats/ctf/ctf.c > +++ formats/ctf/ctf.c > @@ -1032,7 +1032,7 @@ > buflen = strlen(*buf); > if (!buflen) { > *fp = NULL; > - return -ENODATA; > + return -ENOENT; > } > *fp = babeltrace_fmemopen(*buf, buflen, "rb"); > if (!*fp) {
Fixed upstream by: commit 493330cb8cd73be8a598308b78f0fc1d4912843a Author: Mathieu Desnoyers <mathieu.desnoy...@efficios.com> Date: Mon Apr 22 12:12:50 2013 -0400 Fix kFreeBSD build Use general error numbers available on kFreeBSD. Reported-by: Petr Salinger <petr.salin...@seznam.cz> Signed-off-by: Mathieu Desnoyers <mathieu.desnoy...@efficios.com> This will be in the next release, which I expect to be very soon. Cheers, -- Jon -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org