Package: beast
Severity: important
Version: 0.6.6-7
Tags: patch
Hi,
the current version fails to build on GNU/kFreeBSD.
It uses value for errno, which is not defined on GNU/kFreeBSD.
Please choose another one from basic POSIX errors.
It would also be nice if you can inform
upstream about this issue.
Thanks in advance
Petr
--- beast-0.6.6.orig/bse/gslcommon.c
+++ beast-0.6.6/bse/gslcommon.c
@@ -188,7 +188,7 @@
case EROFS:
case EPERM:
case EACCES: return BSE_ERROR_PERMS;
- case ENODATA: return BSE_ERROR_FILE_EOF;
+ case ENOMSG: return BSE_ERROR_FILE_EOF;
case ENOMEM: return BSE_ERROR_NO_MEMORY;
case ENOSPC: return BSE_ERROR_NO_SPACE;
case ENFILE: return BSE_ERROR_NO_FILES;
--- beast-0.6.6.orig/bse/gsldatahandle-vorbis.c
+++ beast-0.6.6/bse/gsldatahandle-vorbis.c
@@ -525,7 +525,7 @@
j = gsl_rfile_read (v1h->rfile, blength, buffer);
while (j < 0 && errno == EINTR);
if (j <= 0) /* bail on errors */
- return errno ? -errno : -ENODATA;
+ return errno ? -errno : -ENOMSG;
gsl_vorbis_cutter_write_ogg (v1h->vcutter, j, buffer);
}
}
--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]