ports/opt (3.0): zsh: fix compilation against current glibc
7 Apr
2014
7 Apr
'14
9:30 p.m.
commit 5159fb694225d05c39c9ac1a695967d5c253b34d Author: Thomas Penteker <tek@serverop.de> Date: Mon Apr 7 23:29:55 2014 +0200 zsh: fix compilation against current glibc diff --git a/zsh/Pkgfile b/zsh/Pkgfile index 127a16d..93a6e04 100644 --- a/zsh/Pkgfile +++ b/zsh/Pkgfile @@ -29,6 +29,11 @@ build() { --enable-restricted-r \ --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 DESTDIR=$PKG install
3949
Age (days ago)
3949
Last active (days ago)
0 comments
1 participants
participants (1)
-
crux@crux.nu