Package: attr Severity: important Version: 1:2.4.43-2 Tags: patch User: glibc-bsd-de...@lists.alioth.debian.org Usertags: kfreebsd
Hi, the current version fails to build on GNU/kFreeBSD. It is kind of reopen of #414232. Please use the patch bellow instead of the patch in #414232. It might look surprisingly, but it is correct for all architectures. The Linux uses ENODATA and does not define ENOATTR, the GNU/kFreeBSD uses ENOATTR and does not define ENODATA in errno.h (similarly as original SGI code). Therefore the code in attr mainly uses ENOATTR, see also include/xattr.h. It would also be nice if you can ask upstream to include this change. Thanks in advance Petr only in patch2: unchanged: --- attr-2.4.43.orig/getfattr/getfattr.c +++ attr-2.4.43/getfattr/getfattr.c @@ -93,7 +93,7 @@ const char *strerror_ea(int err) { - if (err == ENODATA) + if (err == ENOATTR) return _("No such attribute"); return strerror(err); } only in patch2: unchanged: --- attr-2.4.43.orig/setfattr/setfattr.c +++ attr-2.4.43/setfattr/setfattr.c @@ -66,7 +66,7 @@ const char *strerror_ea(int err) { - if (err == ENODATA) + if (err == ENOATTR) return _("No such attribute"); return strerror(err); } -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org