Fixed by:
commit 493330cb8cd73be8a598308b78f0fc1d4912843a
Author: Mathieu Desnoyers <[email protected]>
Date: Mon Apr 22 12:12:50 2013 -0400
Fix kFreeBSD build
Use general error numbers available on kFreeBSD.
Reported-by: Petr Salinger <[email protected]>
Signed-off-by: Mathieu Desnoyers <[email protected]>
Thanks for reporting,
Mathieu
* Jon Bernard ([email protected]) wrote:
> Hello all, I received this request over the weekend and wanted to pass it on.
>
> ----- Forwarded message from Petr Salinger <[email protected]> -----
>
> Date: Sat, 20 Apr 2013 19:19:11 +0200 (CEST)
> From: Petr Salinger <[email protected]>
> To: [email protected]
> Subject: Bug#705827: babeltrace: FTBFS on GNU/kFreeBSD
>
> Package: babeltrace
> Version: 1.1.0-1
> Severity: serious
> Tags: patch
> User: [email protected]
> 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) {
>
> ----- End forwarded message -----
>
> --
> Jon
>
> _______________________________________________
> lttng-dev mailing list
> [email protected]
> http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev
--
Mathieu Desnoyers
EfficiOS Inc.
http://www.efficios.com
_______________________________________________
lttng-dev mailing list
[email protected]
http://lists.lttng.org/cgi-bin/mailman/listinfo/lttng-dev