pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/liblzo Comment out a most likely allready re...
details: https://anonhg.NetBSD.org/pkgsrc/rev/067674cfd01f
branches: trunk
changeset: 472390:067674cfd01f
user: reinoud <reinoud%pkgsrc.org@localhost>
date: Fri Apr 09 21:40:14 2004 +0000
description:
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:
archivers/liblzo/distinfo | 3 ++-
archivers/liblzo/patches/patch-aa | 14 ++++++++++++++
2 files changed, 16 insertions(+), 1 deletions(-)
diffs (28 lines):
diff -r 2792cbfef942 -r 067674cfd01f archivers/liblzo/distinfo
--- a/archivers/liblzo/distinfo Fri Apr 09 21:07:48 2004 +0000
+++ b/archivers/liblzo/distinfo Fri Apr 09 21:40:14 2004 +0000
@@ -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 -r 2792cbfef942 -r 067674cfd01f archivers/liblzo/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/archivers/liblzo/patches/patch-aa Fri Apr 09 21:40:14 2004 +0000
@@ -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);
Home |
Main Index |
Thread Index |
Old Index