Package: 9base Severity: important Tags: patch Hi,
currently your package FTBFS on GNU/kFreeBSD with the following error: > LD rc > ../lib9/lib9.a(dirread.o): In function `dirread': > dirread.c:(.text+0x448): undefined reference to `mygetdents' > ../lib9/lib9.a(dirread.o): In function `dirreadall': > dirread.c:(.text+0x548): undefined reference to `mygetdents' > collect2: ld returned 1 exit status > make[3]: *** [rc] Error 1 > make[3]: Leaving directory `/build/buildd/9base-2/rc' > make[2]: *** [all] Error 2 > make[2]: Leaving directory `/build/buildd/9base-2/rc' > make[1]: *** [all] Error 2 > make[1]: Leaving directory `/build/buildd/9base-2' > make: *** [build-stamp] Error 2 Full build logs are available at <http://experimental.ftbfs.de/build.php?arch=kfreebsd-i386&pkg=9base>. The attached patch fixes this, thanks in advance for considering it. Cheers, -- Cyril Brulebois
--- 9base-2/lib9/dirread.c 2007-03-10 03:45:45.712567000 +0100 +++ 9base-2/lib9/dirread.c 2007-03-10 03:46:33.000000000 +0100 @@ -6,7 +6,7 @@ extern int _p9dir(struct stat*, struct stat*, char*, Dir*, char**, char*); -#if defined(__linux__) +#if defined(__linux__) || defined(__FreeBSD_kernel__) static int mygetdents(int fd, struct dirent *buf, int n) {