﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	severity	resolution	keywords	cc
4731	Fix zsh-5.0.5 to build with libcap 2.24	Fernando de Oliveira	Fernando de Oliveira	"
{{{
gcc  -s -shared -o sched.so   sched..o    -lgdbm -lpcre -lcap -ldl -lncursesw -lrt -lm  -lc 
make[3]: Leaving directory '/home/fernando/tmp/paco-build-2014.02.21-11h19m15s/zsh-5.0.5/Src/Builtins'
make[3]: Entering directory '/home/fernando/tmp/paco-build-2014.02.21-11h19m15s/zsh-5.0.5/Src/Modules'
gcc -c -I. -I../../Src -I../../Src -I../../Src/Zle -I.  -DHAVE_CONFIG_H -DMODULE -Wall -Wmissing-prototypes -O2 -fPIC -o attr..o attr.c
In file included from /usr/include/sys/capability.h:30:0,
                 from ../../Src/zsh_system.h:510,
                 from ../../Src/zsh.mdh:17,
                 from attr.mdh:17,
                 from attr.c:30:
/usr/include/sys/xattr.h:31:3: error: expected identifier before numeric constant
   XATTR_CREATE = 1, /* set value, fail if attr already exists.  */
   ^
Makefile:241: recipe for target 'attr..o' failed
make[3]: *** [attr..o] Error 1
make[3]: Leaving directory '/home/fernando/tmp/paco-build-2014.02.21-11h19m15s/zsh-5.0.5/Src/Modules'
Makemod:373: recipe for target 'modules' failed
make[2]: *** [modules] Error 1
make[2]: Leaving directory '/home/fernando/tmp/paco-build-2014.02.21-11h19m15s/zsh-5.0.5/Src'
Makefile:451: recipe for target 'modules' failed
make[1]: *** [modules] Error 2
make[1]: Leaving directory '/home/fernando/tmp/paco-build-2014.02.21-11h19m15s/zsh-5.0.5/Src'
Makefile:189: recipe for target 'all' failed
make: *** [all] Error 1

real    0m31.894s
user    0m26.546s
sys 0m5.145s

}}}

patch already committed to patches-blfs

add gdbm as optional"	defect	closed	normal	7.5	BOOK	SVN	medium	fixed		
