165141b472cb786c4c42e9a2945f1a68c440144e
[packages/trusty/cirros-testvm.git] / cirros-testvm / src-cirros / buildroot-2015.05 / package / netatalk / 0002-no-acl.patch
1 Fix builds without acl, from http://sourceforge.net/p/netatalk/bugs/574/
2
3 Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
4
5 diff -Nura netatalk-3.1.7.orig/include/atalk/acl.h netatalk-3.1.7/include/atalk/acl.h
6 --- netatalk-3.1.7.orig/include/atalk/acl.h     2014-12-03 17:34:49.895524464 -0300
7 +++ netatalk-3.1.7/include/atalk/acl.h  2014-12-03 17:34:58.735243283 -0300
8 @@ -61,6 +61,7 @@
9  #else /* HAVE_ACLS=no */
10  
11  #define O_NETATALK_ACL 0
12 +#define O_IGNORE 0
13  #define chmod_acl chmod
14  
15  #endif /* HAVE_ACLS */