zsh: make this build again.

This commit is contained in:
Juan RP 2014-01-06 12:27:21 +01:00
parent 97729d1cfd
commit 192583ef56
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,20 @@
Make this build by adding <sys/xattr.h> before <sys/capability.h>.
--- Src/Modules/attr.c.orig 2014-01-06 12:26:00.886670913 +0100
+++ Src/Modules/attr.c 2014-01-06 12:26:10.597587472 +0100
@@ -27,12 +27,12 @@
*
*/
-#include "attr.mdh"
-#include "attr.pro"
-
#include <sys/types.h>
#include <sys/xattr.h>
+#include "attr.mdh"
+#include "attr.pro"
+
static ssize_t
xgetxattr(const char *path, const char *name, void *value, size_t size, int symlink)
{

View File

@ -3,7 +3,7 @@ pkgname=zsh
version=5.0.5
revision=1
build_style=gnu-configure
make_build_args="info"
make_build_target="all info"
make_install_args="install.info"
configure_args="--enable-etcdir=/etc/zsh --enable-zshenv=/etc/zsh/zshenv
--enable-zlogin=/etc/zsh/zlogin --enable-zlogout=/etc/zsh/zlogout