summaryrefslogtreecommitdiff
path: root/security/heimdal
diff options
context:
space:
mode:
authortonio <tonio@pkgsrc.org>2005-08-04 16:50:18 +0000
committertonio <tonio@pkgsrc.org>2005-08-04 16:50:18 +0000
commit3033387472b7b93138d99e504f3183b7d351e413 (patch)
treeff3b58336ccd9f1861313b257087823ca8616fe9 /security/heimdal
parent5e36f0fde1ddad85a854ec4dbd087251051b52f2 (diff)
downloadpkgsrc-3033387472b7b93138d99e504f3183b7d351e413.tar.gz
Add patch-aa to make heimdal compile with gcc-4 (default with darwin 8)
This patch is the same as revision 1.3 of /cvsroot/src/crypto/dist/heimdal/lib/asn1/gen_glue.c by matt@ those cvs log: Don't emit struct units [] anymore. emit a struct units * const foo and in the C file initialize that to the static list. Bump pkgrevision: it changes the binary package on gcc<4 platforms approved by wiz@
Diffstat (limited to 'security/heimdal')
-rw-r--r--security/heimdal/Makefile3
-rw-r--r--security/heimdal/distinfo3
-rw-r--r--security/heimdal/patches/patch-aa29
3 files changed, 33 insertions, 2 deletions
diff --git a/security/heimdal/Makefile b/security/heimdal/Makefile
index c5717cc124e..e5c7318f4cd 100644
--- a/security/heimdal/Makefile
+++ b/security/heimdal/Makefile
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.40 2005/06/20 09:51:02 lha Exp $
+# $NetBSD: Makefile,v 1.41 2005/08/04 16:50:18 tonio Exp $
DISTNAME= heimdal-0.6.5
+PKGREVISION= 1
CATEGORIES= security
MASTER_SITES= ftp://ftp.pdc.kth.se/pub/heimdal/src/ \
ftp://ftp.sunet.se/pub/unix/admin/mirror-pdc/heimdal/src/
diff --git a/security/heimdal/distinfo b/security/heimdal/distinfo
index d17d3887832..812ae2b40a5 100644
--- a/security/heimdal/distinfo
+++ b/security/heimdal/distinfo
@@ -1,8 +1,9 @@
-$NetBSD: distinfo,v 1.12 2005/06/20 09:51:02 lha Exp $
+$NetBSD: distinfo,v 1.13 2005/08/04 16:50:18 tonio Exp $
SHA1 (heimdal-0.6.5.tar.gz) = 1cb896e2f081e74bf766279535a2510c9a5cb0b3
RMD160 (heimdal-0.6.5.tar.gz) = 726f9b4c655e6380ac0ad4ea3917b938013d8e5c
Size (heimdal-0.6.5.tar.gz) = 3329395 bytes
+SHA1 (patch-aa) = c0a736131b3fb54f9cdea57ea55e4f0f0619532b
SHA1 (patch-ab) = 400a9ac3a76ac7e8b4dcc230e0bdf7fc5222fbb7
SHA1 (patch-ac) = 121961811f559822c6a4f3d7f7e4646b16908942
SHA1 (patch-ad) = 20347c61cf79c17500ab3508424632efc3545b65
diff --git a/security/heimdal/patches/patch-aa b/security/heimdal/patches/patch-aa
new file mode 100644
index 00000000000..b1ee7e02f86
--- /dev/null
+++ b/security/heimdal/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.3 2005/08/04 16:50:18 tonio Exp $
+
+--- lib/asn1/gen_glue.c.orig 2005-08-04 16:58:58.000000000 +0200
++++ lib/asn1/gen_glue.c 2005-08-04 17:02:45.000000000 +0200
+@@ -103,11 +103,11 @@
+ int tag = -1;
+
+ fprintf (headerfile,
+- "extern struct units %s_units[];",
++ "extern struct units * const %s_units;",
+ s->gen_name);
+
+ fprintf (codefile,
+- "struct units %s_units[] = {\n",
++ "struct units %s_units_static[] = {\n",
+ s->gen_name);
+
+ if(t->members)
+@@ -122,6 +122,10 @@
+ fprintf (codefile,
+ "\t{NULL,\t0}\n"
+ "};\n\n");
++
++ fprintf (codefile,
++ "struct units * const %s_units = %s_units_static;\n\n",
++ s->gen_name, s->gen_name);
+ }
+
+ void