pkgsrc/net/netatalk22/patches/patch-include_atalk_ldapconfig.h
hauke f1be08fe1f Update netatalk22 to patch release 2.2.6.
For changes see
<https://github.com/Netatalk/Netatalk/commits/branch-netatalk-2-2>
- the upstream release branch does not have a changelog.

Upstream took a lot of our patches - thanks, guys!

Package changes include untangling ldap support, so that the package
builds with it. There has been confusion between acl and ldap support
upstream as well as in the package - see
patch-include_atalk_ldapconfig.h and
<https://github.com/Netatalk/Netatalk/commits/branch-netatalk-2-2/include/atalk/ldapconfig.h>.
2017-07-12 13:56:00 +00:00

22 lines
626 B
C

$NetBSD: patch-include_atalk_ldapconfig.h,v 1.2 2017/07/12 13:56:00 hauke Exp $
Correct an erroneous patch that was unfortunately submitted upstream.
Providing an empty header because we do not support ACLs only serves
to break ldap support.
--- include/atalk/ldapconfig.h.orig 2017-07-09 11:03:31.000000000 +0000
+++ include/atalk/ldapconfig.h
@@ -1,5 +1,4 @@
#ifdef HAVE_LDAP
-#ifdef HAVE_ACLS
#ifndef LDAPCONFIG_H
#define LDAPCONFIG_H
@@ -40,5 +39,5 @@ extern struct pref_array prefs_array[];
extern int ldap_config_valid;
#endif /* LDAPCONFIG_H */
-#endif /* HAVE_ACLS */
+
#endif /* HAVE_LDAP */