diff options
author | reinoud <reinoud@pkgsrc.org> | 2004-04-09 21:40:14 +0000 |
---|---|---|
committer | reinoud <reinoud@pkgsrc.org> | 2004-04-09 21:40:14 +0000 |
commit | 6d5943e55e11a00a3c0bc95795be5473e8455b71 (patch) | |
tree | 445cd902566c45db4192d917f5c7beaab1983942 /archivers/liblzo | |
parent | 8a9b2d7484d4627a7d06fd23a2d7988eadce7969 (diff) | |
download | pkgsrc-6d5943e55e11a00a3c0bc95795be5473e8455b71.tar.gz |
Comment out a most likely allready redundant compilation time check that
made it bomb out during compilation. Propably Linux paranoia/ignorance?
The problem occured on NetBSD/shark 1.5ZG and with the patch compiles
without any warnings.
Diffstat (limited to 'archivers/liblzo')
-rw-r--r-- | archivers/liblzo/distinfo | 3 | ||||
-rw-r--r-- | archivers/liblzo/patches/patch-aa | 14 |
2 files changed, 16 insertions, 1 deletions
diff --git a/archivers/liblzo/distinfo b/archivers/liblzo/distinfo index 361dee593f4..c0e752776fa 100644 --- a/archivers/liblzo/distinfo +++ b/archivers/liblzo/distinfo @@ -1,4 +1,5 @@ -$NetBSD: distinfo,v 1.5 2002/08/25 21:49:15 jlam Exp $ +$NetBSD: distinfo,v 1.6 2004/04/09 21:40:14 reinoud Exp $ SHA1 (lzo-1.08.tar.gz) = ad1b458cf9d5d49153665d2adc25bd6129028221 Size (lzo-1.08.tar.gz) = 426692 bytes +SHA1 (patch-aa) = e889ba225be55952b2dd65e0960561bf292d4843 diff --git a/archivers/liblzo/patches/patch-aa b/archivers/liblzo/patches/patch-aa new file mode 100644 index 00000000000..24bb0166edd --- /dev/null +++ b/archivers/liblzo/patches/patch-aa @@ -0,0 +1,14 @@ +$NetBSD: patch-aa,v 1.5 2004/04/09 21:40:14 reinoud Exp $ + +--- src/lzo_init.c.orig 2002-07-13 01:31:52.000000000 +0000 ++++ src/lzo_init.c +@@ -169,7 +169,8 @@ static lzo_bool basic_integral_check(voi + COMPILE_TIME_ASSERT(LZO_UINT32_MAX == LZO_UTYPE_MAX(sizeof(lzo_uint32))); + COMPILE_TIME_ASSERT(LZO_UINT_MAX == LZO_UTYPE_MAX(sizeof(lzo_uint))); + #if !defined(__LZO_IN_MINILZO) +- COMPILE_TIME_ASSERT(SIZE_T_MAX == LZO_UTYPE_MAX(sizeof(size_t))); ++/* is this redundant ? */ ++/* COMPILE_TIME_ASSERT(SIZE_T_MAX == LZO_UTYPE_MAX(sizeof(size_t))); */ + #endif + + r &= __lzo_assert(LZO_BYTE(257) == 1); |