summaryrefslogtreecommitdiff
path: root/devel/GConf2/patches
diff options
context:
space:
mode:
authorrillig <rillig@pkgsrc.org>2005-10-24 22:10:29 +0000
committerrillig <rillig@pkgsrc.org>2005-10-24 22:10:29 +0000
commit5d9332a147d91a65ad033d16fbd38c6df5a823d5 (patch)
tree5ee5e118c75f494b20a766641dc3c1587e7e0c08 /devel/GConf2/patches
parentcbf57a228aaeb08ed1c695ed669c09a3050685a9 (diff)
downloadpkgsrc-5d9332a147d91a65ad033d16fbd38c6df5a823d5.tar.gz
Added a patch for Solaris 9.
Diffstat (limited to 'devel/GConf2/patches')
-rw-r--r--devel/GConf2/patches/patch-ad18
1 files changed, 18 insertions, 0 deletions
diff --git a/devel/GConf2/patches/patch-ad b/devel/GConf2/patches/patch-ad
new file mode 100644
index 00000000000..6ff69cdc2b1
--- /dev/null
+++ b/devel/GConf2/patches/patch-ad
@@ -0,0 +1,18 @@
+$NetBSD: patch-ad,v 1.5 2005/10/24 22:10:29 rillig 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 Mon Oct 24 23:58:16 2005
++++ backends/evoldap-backend.c Mon Oct 24 23:59:16 2005
+@@ -24,6 +24,10 @@
+ #include <sys/types.h>
+ #include <unistd.h>
+ #include <time.h>
++#ifdef __sun
++#include <string.h>
++#include <lber.h>
++#endif
+ #include <ldap.h>
+ #include <libxml/parser.h>
+ #include <libxml/xpath.h>