summaryrefslogtreecommitdiff
path: root/devel/nss/patches
diff options
context:
space:
mode:
authorwiz <wiz@pkgsrc.org>2006-06-25 14:53:00 +0000
committerwiz <wiz@pkgsrc.org>2006-06-25 14:53:00 +0000
commit96742caa62c6d29766393ea301d4c2be4d171210 (patch)
tree9200f845f034ff6c619371f0252778705b1dc449 /devel/nss/patches
parentdaa517d7234bcf3e3e5678d8b253e8679c520d01 (diff)
downloadpkgsrc-96742caa62c6d29766393ea301d4c2be4d171210.tar.gz
Add patch to fix compilation on NetBSD-current.
Diffstat (limited to 'devel/nss/patches')
-rw-r--r--devel/nss/patches/patch-af16
1 files changed, 16 insertions, 0 deletions
diff --git a/devel/nss/patches/patch-af b/devel/nss/patches/patch-af
new file mode 100644
index 00000000000..f63679405f0
--- /dev/null
+++ b/devel/nss/patches/patch-af
@@ -0,0 +1,16 @@
+$NetBSD: patch-af,v 1.3 2006/06/25 14:53:00 wiz Exp $
+
+Fix gcc4 error:
+error: array type has incomplete element type
+
+--- lib/pki1/oiddata.h.orig 2006-06-25 06:03:14.000000000 +0000
++++ lib/pki1/oiddata.h
+@@ -43,7 +43,7 @@ static const char OIDDATA_CVS_ID[] = "@(
+ #include "nsspki1t.h"
+ #endif /* NSSPKI1T_H */
+
+-extern const NSSOID nss_builtin_oids[];
++extern const NSSOID *nss_builtin_oids;
+ extern const PRUint32 nss_builtin_oid_count;
+
+ /*extern const nssAttributeTypeAliasTable nss_attribute_type_aliases[];*/