zsh: fix compilation against current glibc
This commit is contained in:
parent
7832714e4f
commit
5159fb6942
@ -29,6 +29,11 @@ build() {
|
|||||||
--enable-restricted-r \
|
--enable-restricted-r \
|
||||||
--enable-cap
|
--enable-cap
|
||||||
|
|
||||||
|
# fix a bug in recent glibc versions (2.16)
|
||||||
|
sed -e '/#include "attr.mdh"/d;/#include "attr.pro/d' \
|
||||||
|
-e 's|\(#include <sys/xattr.h>\)|\1\n#include "attr.mdh"\n#include "attr.pro"|g' \
|
||||||
|
-i Src/Modules/attr.c
|
||||||
|
|
||||||
make
|
make
|
||||||
make DESTDIR=$PKG install
|
make DESTDIR=$PKG install
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user