summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--net/ldns/Makefile5
-rw-r--r--net/ldns/distinfo8
-rw-r--r--net/ldns/patches/patch-util.c20
3 files changed, 6 insertions, 27 deletions
diff --git a/net/ldns/Makefile b/net/ldns/Makefile
index 26eceb2fd07..c843a38b833 100644
--- a/net/ldns/Makefile
+++ b/net/ldns/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.20 2012/01/02 07:35:22 pettai Exp $
+# $NetBSD: Makefile,v 1.21 2012/01/18 22:31:26 pettai Exp $
-DISTNAME= ldns-1.6.11
-PKGREVISION= 1
+DISTNAME= ldns-1.6.12
CATEGORIES= net
MASTER_SITES= http://www.nlnetlabs.nl/downloads/ldns/
diff --git a/net/ldns/distinfo b/net/ldns/distinfo
index 71456f1ac4f..7810025c22d 100644
--- a/net/ldns/distinfo
+++ b/net/ldns/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.12 2012/01/02 07:35:22 pettai Exp $
+$NetBSD: distinfo,v 1.13 2012/01/18 22:31:26 pettai Exp $
-SHA1 (ldns-1.6.11.tar.gz) = 2c4537eee39a1af63e8dde4f35498ce78c968c1f
-RMD160 (ldns-1.6.11.tar.gz) = 7580869e4b8bdd2d31cb08cb690c2e3d0663f381
-Size (ldns-1.6.11.tar.gz) = 1018369 bytes
+SHA1 (ldns-1.6.12.tar.gz) = 1d61df0f666908551d5a62768f77d63e727810aa
+RMD160 (ldns-1.6.12.tar.gz) = e6497be1abef97239726eef6872dba42f7f69d65
+Size (ldns-1.6.12.tar.gz) = 1057607 bytes
SHA1 (patch-util.c) = 7286524906313059684c287729ddca78bf0e0d5d
diff --git a/net/ldns/patches/patch-util.c b/net/ldns/patches/patch-util.c
deleted file mode 100644
index 25be065d229..00000000000
--- a/net/ldns/patches/patch-util.c
+++ /dev/null
@@ -1,20 +0,0 @@
-$NetBSD: patch-util.c,v 1.1 2012/01/02 07:35:22 pettai Exp $
-
-Fixes the bug in ldns_year_and_yday_from_days_since_epoch on 32-bit OSes
-http://open.nlnetlabs.nl/pipermail/ldns-users/2011-December/000452.html
-(patch taken from trunk)
-
---- util.c.orig 2012-01-01 23:16:59.000000000 +0000
-+++ util.c
-@@ -256,10 +256,7 @@ ldns_year_and_yday_from_days_since_epoch
- int new_year;
-
- while (days < 0 || days >= (int64_t) (is_leap_year(year) ? 366 : 365)) {
-- new_year = year + (int) LDNS_DIV(days, 366);
-- if (year == new_year) {
-- year += days < 0 ? -1 : 1;
-- }
-+ new_year = year + (int) LDNS_DIV(days, 365);
- days -= (new_year - year) * 365;
- days -= leap_days(year, new_year);
- year = new_year;