new FreeBSD port maintainer
Denys Vlasenko
vda.linux at googlemail.com
Sat Sep 10 02:31:28 UTC 2011
On Thursday 14 July 2011 11:57, Matthias Andree wrote:
> - Is there a particular reason the sed scripts use GNU extensions or
> syntax? What are the chances of these being replaced by POSIX default
> constructs (If none, add: possibly if I submit a patch)?
Since I use GNU or busybox sed, I don't know where we use
extensions. Where exactly is the problem?
> --- These are hints that there are missing #include <libgen.h>
> directives: ---
>
> coreutils/cp.c:168: warning: implicit declaration of function 'dirname'
>
> archival/unzip.c:225: warning: implicit declaration of function 'dirname'
>
> coreutils/dirname.c:20: warning: implicit declaration of function 'dirname'
>
> coreutils/install.c:164: warning: implicit declaration of function 'dirname'
>
> coreutils/rmdir.c:57: warning: implicit declaration of function 'dirname'
We probably need to remove the #if around this decl in libbb.h:
#if !defined __FreeBSD__
char *dirname(char *path);
#endif
Can you confirm that it helps?
--
vda
More information about the busybox
mailing list