diff options
author | danw <danw@pkgsrc.org> | 2000-09-07 16:36:53 +0000 |
---|---|---|
committer | danw <danw@pkgsrc.org> | 2000-09-07 16:36:53 +0000 |
commit | 67fa30070f2174be51d8e33f81f83f04c5787304 (patch) | |
tree | ecabc20659d8758bcf53828e3c9a98c8b2bd7535 /lang/librep | |
parent | 73bce9e46c3a8fd1db489c8dd6ab1141bb2a7799 (diff) | |
download | pkgsrc-67fa30070f2174be51d8e33f81f83f04c5787304.tar.gz |
change LLONG_MAX/LLONG_MIN to QUAD_MAX/QUAD_MIN since the former don't
exist in 1.4
Diffstat (limited to 'lang/librep')
-rw-r--r-- | lang/librep/files/patch-sum | 4 | ||||
-rw-r--r-- | lang/librep/patches/patch-aa | 8 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lang/librep/files/patch-sum b/lang/librep/files/patch-sum index ca54516dc89..eec26e6ca91 100644 --- a/lang/librep/files/patch-sum +++ b/lang/librep/files/patch-sum @@ -1,3 +1,3 @@ -$NetBSD: patch-sum,v 1.3 2000/08/07 15:45:15 danw Exp $ +$NetBSD: patch-sum,v 1.4 2000/09/07 16:36:53 danw Exp $ -MD5 (patch-aa) = 6fda8a473fcd67f860519934f24d6af0 +MD5 (patch-aa) = 1498d9c4dd589f357cae2256068dfbfe diff --git a/lang/librep/patches/patch-aa b/lang/librep/patches/patch-aa index c0e695f94f8..9293cd5df7d 100644 --- a/lang/librep/patches/patch-aa +++ b/lang/librep/patches/patch-aa @@ -1,4 +1,4 @@ -$NetBSD: patch-aa,v 1.1 2000/08/07 15:45:15 danw Exp $ +$NetBSD: patch-aa,v 1.2 2000/09/07 16:36:54 danw Exp $ --- src/numbers.c.orig Fri Aug 4 02:03:23 2000 +++ src/numbers.c Fri Aug 4 02:04:01 2000 @@ -8,8 +8,8 @@ $NetBSD: patch-aa,v 1.1 2000/08/07 15:45:15 danw Exp $ # if SIZEOF_LONG_LONG > SIZEOF_LONG -# define BIGNUM_MIN LONG_LONG_MIN -# define BIGNUM_MAX LONG_LONG_MAX -+# define BIGNUM_MIN LLONG_MIN -+# define BIGNUM_MAX LLONG_MAX ++# define BIGNUM_MIN QUAD_MIN ++# define BIGNUM_MAX QUAD_MAX # else # define BIGNUM_MIN LONG_MIN # define BIGNUM_MAX LONG_MAX @@ -18,7 +18,7 @@ $NetBSD: patch-aa,v 1.1 2000/08/07 15:45:15 danw Exp $ return rep_make_long_int ((long) in); #if SIZEOF_LONG_LONG > SIZEOF_LONG - else if (in < LONG_LONG_MAX && in > LONG_LONG_MIN) -+ else if (in < LLONG_MAX && in > LLONG_MIN) ++ else if (in < QUAD_MAX && in > QUAD_MIN) return rep_make_longlong_int (in); #endif } |