Package: zsh-beta Version: 4.3.10-dev-1+20090626-1 Severity: important Tags: patch User: [email protected] Usertags: kfreebsd
Heya again Clint, (same story as with the zsh bug:) please also turn on extensions when __GLIBC__ is detected, fixing the FTBFS on GNU/kFreeBSD due to missing lstat et al.: | gcc -c -I. -DHAVE_CONFIG_H -Wall -g -O2 -o compat.o ../../Src/compat.c | ../../Src/compat.c: In function 'zgetdir': | ../../Src/compat.c:343: warning: implicit declaration of function 'lstat' | ../../Src/compat.c: In function 'zchdir': | ../../Src/compat.c:451: warning: implicit declaration of function 'fchdir' | gcc -c -I. -DHAVE_CONFIG_H -Wall -g -O2 -o cond.o ../../Src/cond.c | ../../Src/cond.c: In function 'evalcond': | ../../Src/cond.c:351: error: 'struct stat' has no member named 'st_atim' | ../../Src/cond.c:351: error: 'struct stat' has no member named 'st_mtim' | ../../Src/cond.c:370: error: 'struct stat' has no member named 'st_mtim' | ../../Src/cond.c:376: error: 'struct stat' has no member named 'st_mtim' | ../../Src/cond.c:377: error: 'struct stat' has no member named 'st_mtim' | ../../Src/cond.c: In function 'dolstat': | ../../Src/cond.c:457: warning: implicit declaration of function 'lstat' | make[3]: *** [cond.o] Error 1 Full build log linked from: https://buildd.debian.org/~luk/status/package.php?p=zsh-beta&suite=unstable Patch attached. (Testsuite still running but oh well, that should do.) Thanks for your time. Mraw, KiBi.
--- zsh-beta-4.3.10-dev-1+20090626/Src/system.h~ +++ zsh-beta-4.3.10-dev-1+20090626/Src/system.h @@ -37,7 +37,7 @@ #endif #endif -#if defined(__linux) || defined(__GNU__) +#if defined(__linux) || defined(__GNU__) || defined(__GLIBC__) /* * Turn on numerous extensions. * This is in order to get the functions for manipulating /dev/ptmx.

