summaryrefslogtreecommitdiff
path: root/net/djbdns/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'net/djbdns/patches/patch-ac')
-rw-r--r--net/djbdns/patches/patch-ac57
1 files changed, 0 insertions, 57 deletions
diff --git a/net/djbdns/patches/patch-ac b/net/djbdns/patches/patch-ac
deleted file mode 100644
index e16b78ac262..00000000000
--- a/net/djbdns/patches/patch-ac
+++ /dev/null
@@ -1,57 +0,0 @@
-$NetBSD: patch-ac,v 1.3 2005/03/21 04:03:35 schmonz Exp $
-
---- tinydns-data.c.orig 2001-02-11 16:11:45.000000000 -0500
-+++ tinydns-data.c
-@@ -196,6 +196,7 @@ int main()
- char type[2];
- char soa[20];
- char buf[4];
-+ uint32 hack64bit;
-
- umask(022);
-
-@@ -251,19 +252,39 @@ int main()
- if (!dns_domain_fromdot(&d1,f[0].s,f[0].len)) nomem();
-
- if (!stralloc_0(&f[3])) nomem();
-- if (!scan_ulong(f[3].s,&u)) uint32_unpack_big(defaultsoa,&u);
-+ if (!scan_ulong(f[3].s,&u))
-+ {
-+ uint32_unpack_big(defaultsoa,&hack64bit);
-+ u = hack64bit;
-+ }
- uint32_pack_big(soa,u);
- if (!stralloc_0(&f[4])) nomem();
-- if (!scan_ulong(f[4].s,&u)) uint32_unpack_big(defaultsoa + 4,&u);
-+ if (!scan_ulong(f[4].s,&u))
-+ {
-+ uint32_unpack_big(defaultsoa + 4,&hack64bit);
-+ u = hack64bit;
-+ }
- uint32_pack_big(soa + 4,u);
- if (!stralloc_0(&f[5])) nomem();
-- if (!scan_ulong(f[5].s,&u)) uint32_unpack_big(defaultsoa + 8,&u);
-+ if (!scan_ulong(f[5].s,&u))
-+ {
-+ uint32_unpack_big(defaultsoa + 8,&hack64bit);
-+ u = hack64bit;
-+ }
- uint32_pack_big(soa + 8,u);
- if (!stralloc_0(&f[6])) nomem();
-- if (!scan_ulong(f[6].s,&u)) uint32_unpack_big(defaultsoa + 12,&u);
-+ if (!scan_ulong(f[6].s,&u))
-+ {
-+ uint32_unpack_big(defaultsoa + 12,&hack64bit);
-+ u = hack64bit;
-+ }
- uint32_pack_big(soa + 12,u);
- if (!stralloc_0(&f[7])) nomem();
-- if (!scan_ulong(f[7].s,&u)) uint32_unpack_big(defaultsoa + 16,&u);
-+ if (!scan_ulong(f[7].s,&u))
-+ {
-+ uint32_unpack_big(defaultsoa + 16,&hack64bit);
-+ u = hack64bit;
-+ }
- uint32_pack_big(soa + 16,u);
-
- if (!stralloc_0(&f[8])) nomem();