kumquat-buildroot/package/netatalk/0002-no-acl.patch
Gustavo Zacarias 834da4d454 netatalk: bump to version 3.1.7
Rename patch to new standard and add hash file as well.

Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2014-12-03 23:01:11 +01:00

16 lines
517 B
Diff

Fix builds without acl, from http://sourceforge.net/p/netatalk/bugs/574/
Signed-off-by: Gustavo Zacarias <gustavo@zacarias.com.ar>
diff -Nura netatalk-3.1.7.orig/include/atalk/acl.h netatalk-3.1.7/include/atalk/acl.h
--- netatalk-3.1.7.orig/include/atalk/acl.h 2014-12-03 17:34:49.895524464 -0300
+++ netatalk-3.1.7/include/atalk/acl.h 2014-12-03 17:34:58.735243283 -0300
@@ -61,6 +61,7 @@
#else /* HAVE_ACLS=no */
#define O_NETATALK_ACL 0
+#define O_IGNORE 0
#define chmod_acl chmod
#endif /* HAVE_ACLS */