Package: coreutils Severity: important
Version: 5.97-5.6
Tags: patch
User: [EMAIL PROTECTED]
Usertags: kfreebsd

Hi,

the current version fails to build on GNU/kFreeBSD.

It needs updated getcwd.c from gnulib,
as version used in your package is incompatible
with glibc 2.7 on GNU/kFreeBSD.
Please see bellow sufficient patch.

It would also be nice if you can ask upstream
to update lib from current gnulib.

Thanks in advance

                        Petr


--- lib/getcwd.c~       2007-12-14 13:52:07.000000000 +0100
+++ lib/getcwd.c        2007-12-14 13:52:07.000000000 +0100
@@ -156,7 +156,7 @@
   size_t allocated = size;
   size_t used;

-#if HAVE_PARTLY_WORKING_GETCWD && !defined AT_FDCWD
+#if HAVE_PARTLY_WORKING_GETCWD
   /* The system getcwd works, except it sometimes fails when it
      shouldn't, setting errno to ERANGE, ENAMETOOLONG, or ENOENT.  If
      AT_FDCWD is not defined, the algorithm below is O(N**2) and this




--
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to