pkgsrc/devel/GConf/patches/patch-ad
2007-09-21 12:58:12 +00:00

17 lines
497 B
Text

$NetBSD: patch-ad,v 1.5 2007/09/21 12:58:14 wiz Exp $
Needed for Solaris 9. Without the <lber.h> header, struct berval, which
is used as a member of another struct in <ldap.h>, has an unknown size.
--- backends/evoldap-backend.c.orig 2007-03-02 22:10:18.000000000 +0000
+++ backends/evoldap-backend.c
@@ -25,6 +25,9 @@
#include <unistd.h>
#include <string.h>
#include <time.h>
+#ifdef __sun
+#include <lber.h>
+#endif
#include <ldap.h>
#include <libxml/parser.h>
#include <libxml/xpath.h>