summaryrefslogtreecommitdiff
path: root/sysutils/findutils/patches/patch-ah
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/findutils/patches/patch-ah')
-rw-r--r--sysutils/findutils/patches/patch-ah17
1 files changed, 17 insertions, 0 deletions
diff --git a/sysutils/findutils/patches/patch-ah b/sysutils/findutils/patches/patch-ah
new file mode 100644
index 00000000000..aff25c0a2fd
--- /dev/null
+++ b/sysutils/findutils/patches/patch-ah
@@ -0,0 +1,17 @@
+$NetBSD: patch-ah,v 1.4 2011/04/04 11:27:39 drochner Exp $
+
+test fails on NetBSD-current/32bit
+
+--- gnulib/lib/mktime.c.orig 2007-12-08 13:47:18.000000000 +0000
++++ gnulib/lib/mktime.c
+@@ -165,8 +165,10 @@ ydhms_diff (long int year1, long int yda
+ int year0, int yday0, int hour0, int min0, int sec0)
+ {
+ verify (C99_integer_division, -1 / 2 == 0);
++#if 0
+ verify (long_int_year_and_yday_are_wide_enough,
+ INT_MAX <= LONG_MAX / 2 || TIME_T_MAX <= UINT_MAX);
++#endif
+
+ /* Compute intervening leap days correctly even if year is negative.
+ Take care to avoid integer overflow here. */