diff options
author | dholland <dholland@pkgsrc.org> | 2015-09-26 18:49:50 +0000 |
---|---|---|
committer | dholland <dholland@pkgsrc.org> | 2015-09-26 18:49:50 +0000 |
commit | 84dd973df9670b8bb38f21dd2909d347a29389ca (patch) | |
tree | db3f7b9d5ca24a3ca0c72cb02d428cd8b8a60e7c /sysutils/findutils | |
parent | ddfe9962ec30c2343527890216cb803337140339 (diff) | |
download | pkgsrc-84dd973df9670b8bb38f21dd2909d347a29389ca.tar.gz |
Remove wrong compile-time assertion about the size of time_t. (I'm
sure this wrong code has popped up before, but I can't find any other
patches for it in pkgsrc right now.) PR 50273.
Diffstat (limited to 'sysutils/findutils')
-rw-r--r-- | sysutils/findutils/distinfo | 3 | ||||
-rw-r--r-- | sysutils/findutils/patches/patch-gnulib_lib_getdate.y | 16 |
2 files changed, 18 insertions, 1 deletions
diff --git a/sysutils/findutils/distinfo b/sysutils/findutils/distinfo index 763eb9f06a0..cd8a38be832 100644 --- a/sysutils/findutils/distinfo +++ b/sysutils/findutils/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.16 2015/08/26 12:44:32 wiz Exp $ +$NetBSD: distinfo,v 1.17 2015/09/26 18:49:50 dholland Exp $ SHA1 (findutils-4.4.2.tar.gz) = e8dd88fa2cc58abffd0bfc1eddab9020231bb024 RMD160 (findutils-4.4.2.tar.gz) = d2954a31d59ca238e18b50be82f1eccf7ad69054 @@ -7,3 +7,4 @@ SHA1 (patch-aa) = 162de59955ded4cf6d53d012511402a672a39b7c SHA1 (patch-ab) = 782c5c642e8e6883686c36ddc470edc3d063f0f0 SHA1 (patch-ag) = 564ef15f6f9719ba33c54049a6e6780608afdf19 SHA1 (patch-ah) = 213f8984aba51d500cb0d0c8ba2362918e065741 +SHA1 (patch-gnulib_lib_getdate.y) = beb235623dbec1603fad783e4b2f45d27569f369 diff --git a/sysutils/findutils/patches/patch-gnulib_lib_getdate.y b/sysutils/findutils/patches/patch-gnulib_lib_getdate.y new file mode 100644 index 00000000000..55020b9d536 --- /dev/null +++ b/sysutils/findutils/patches/patch-gnulib_lib_getdate.y @@ -0,0 +1,16 @@ +$NetBSD: patch-gnulib_lib_getdate.y,v 1.1 2015/09/26 18:49:50 dholland Exp $ + +Remove flagrantly wrong compile-time assertion. + +--- gnulib/lib/getdate.y~ 2009-05-10 21:23:57.000000000 +0000 ++++ gnulib/lib/getdate.y +@@ -114,7 +114,9 @@ + wraps around, but there's no portable way to check for that at + compile-time. */ + verify (TYPE_IS_INTEGER (time_t)); ++#if 0 /* not true */ + verify (LONG_MIN <= TYPE_MINIMUM (time_t) && TYPE_MAXIMUM (time_t) <= LONG_MAX); ++#endif + + /* An integer value, and the number of digits in its textual + representation. */ |