summaryrefslogtreecommitdiff
path: root/security/heimdal/patches
diff options
context:
space:
mode:
authorgavan <gavan@pkgsrc.org>2004-10-06 17:18:32 +0000
committergavan <gavan@pkgsrc.org>2004-10-06 17:18:32 +0000
commit9a103e8c28c84b6481874cedda23dc11db23dabb (patch)
treef2990957e88c3f045eb8f31e97e9e5b1a9fb2b9f /security/heimdal/patches
parent7d36e4d92445c2ca87a75166e1322e9bafa5d731 (diff)
downloadpkgsrc-9a103e8c28c84b6481874cedda23dc11db23dabb.tar.gz
Undefine open in ndbm_wrap.c. This fixes a build problem on Solaris.
Diffstat (limited to 'security/heimdal/patches')
-rw-r--r--security/heimdal/patches/patch-ae12
1 files changed, 12 insertions, 0 deletions
diff --git a/security/heimdal/patches/patch-ae b/security/heimdal/patches/patch-ae
new file mode 100644
index 00000000000..ec9db7366f8
--- /dev/null
+++ b/security/heimdal/patches/patch-ae
@@ -0,0 +1,12 @@
+$NetBSD: patch-ae,v 1.3 2004/10/06 17:18:32 gavan Exp $
+
+--- lib/roken/ndbm_wrap.c.orig 2003-08-29 18:00:34.000000000 +0100
++++ lib/roken/ndbm_wrap.c
+@@ -50,6 +50,7 @@ RCSID("$Id: ndbm_wrap.c,v 1.1.8.1 2003/0
+ #include <string.h>
+ #include <fcntl.h>
+
++#undef open
+
+ #define DBT2DATUM(DBT, DATUM) do { (DATUM)->dptr = (DBT)->data; (DATUM)->dsize = (DBT)->size; } while(0)
+ #define DATUM2DBT(DATUM, DBT) do { (DBT)->data = (DATUM)->dptr; (DBT)->size = (DATUM)->dsize; } while(0)