head 1.4; access; symbols OPENPKG_E1_MP_HEAD:1.3 OPENPKG_E1_MP:1.3 OPENPKG_E1_MP_2_STABLE:1.3 OPENPKG_E1_FP:1.3 OPENPKG_2_STABLE_MP:1.3 OPENPKG_2_STABLE_20061018:1.3 OPENPKG_2_STABLE_20060622:1.3 OPENPKG_2_STABLE:1.3.0.2 OPENPKG_2_STABLE_BP:1.3; locks; strict; comment @# @; 1.4 date 2009.03.27.11.05.29; author rse; state Exp; branches; next 1.3; commitid NQM3IL8Se5N14FHt; 1.3 date 2006.03.16.08.11.46; author rse; state Exp; branches; next 1.2; commitid dNcn3qwKLMDAGnpr; 1.2 date 2006.02.19.10.24.49; author rse; state Exp; branches; next 1.1; commitid cPX8ucX6n6p3ebmr; 1.1 date 2005.12.08.19.10.01; author rse; state Exp; branches; next ; commitid w0GTCA0uCXJHtQcr; desc @@ 1.4 log @upgrading package: mhash 0.9.9 -> 0.9.9.9 @ text @Index: lib/stdfns.c --- lib/stdfns.c.orig 2008-12-08 00:29:11 +0100 +++ lib/stdfns.c 2009-03-27 12:01:14 +0100 @@@@ -24,6 +24,7 @@@@ */ #include "libdefs.h" +#include /** * Some of these are wrappers. The idea is to eventually produce an extremely @@@@ -360,11 +361,11 @@@@ { return(0); } - return(-MAXINT); + return(-INT_MAX); } if (s2 == NULL) { - return(MAXINT); + return(INT_MAX); } return(memcmp(s1, s2, n)); @@@@ -491,11 +492,11 @@@@ { return(0); } - return(-MAXINT); + return(-INT_MAX); } if (src2 == NULL) { - return(MAXINT); + return(INT_MAX); } return(strcmp((char *) src1, (char *) src2)); } @@@@ -514,11 +515,11 @@@@ { return(0); } - return(-MAXINT); + return(-INT_MAX); } if (src2 == NULL) { - return(MAXINT); + return(INT_MAX); } return(strncmp((char *) src1, (char *) src2, n)); } @ 1.3 log @upgrading package: mhash 0.9.4a -> 0.9.6 @ text @d2 2 a3 2 --- lib/stdfns.c.orig 2006-03-15 21:12:36 +0100 +++ lib/stdfns.c 2006-03-16 08:03:44 +0100 d5 49 a53 49 */ #include "libdefs.h" +#include /** * Some of these are wrappers. The idea is to eventually produce an extremely @@@@ -269,11 +270,11 @@@@ { return(0); } - return(-MAXINT); + return(-INT_MAX); } if (s2 == NULL) { - return(MAXINT); + return(INT_MAX); } return(memcmp(s1, s2, n)); @@@@ -390,11 +391,11 @@@@ { return(0); } - return(-MAXINT); + return(-INT_MAX); } if (src2 == NULL) { - return(MAXINT); + return(INT_MAX); } return(strcmp((char *) src1, (char *) src2)); } @@@@ -413,11 +414,11 @@@@ { return(0); } - return(-MAXINT); + return(-INT_MAX); } if (src2 == NULL) { - return(MAXINT); + return(INT_MAX); } return(strncmp((char *) src1, (char *) src2, n)); } @ 1.2 log @fix run-time by installing missing header @ text @a0 12 Index: include/Makefile.in --- include/Makefile.in.orig 2006-01-10 05:44:15 +0100 +++ include/Makefile.in 2006-02-19 11:18:48 +0100 @@@@ -174,7 +174,7 @@@@ target_cpu = @@target_cpu@@ target_os = @@target_os@@ target_vendor = @@target_vendor@@ -nobase_include_HEADERS = mhash.h mutils/mhash.h mutils/mglobal.h mutils/mtypes.h mutils/mutils.h mutils/mhash_config.h +nobase_include_HEADERS = mhash.h mutils/mhash.h mutils/mglobal.h mutils/mtypes.h mutils/mutils.h mutils/mhash_config.h mutils/mincludes.h all: all-am .SUFFIXES: d2 2 a3 2 --- lib/stdfns.c.orig 2006-01-10 04:47:18 +0100 +++ lib/stdfns.c 2006-02-19 11:16:56 +0100 d12 1 a12 1 @@@@ -222,11 +223,11 @@@@ d26 1 a26 1 @@@@ -343,11 +344,11 @@@@ d40 1 a40 1 @@@@ -366,11 +367,11 @@@@ @ 1.1 log @upgrading package: mhash 0.9.2 -> 0.9.3 @ text @d1 12 d14 2 a15 2 --- lib/stdfns.c.orig 2005-12-07 04:09:46 +0100 +++ lib/stdfns.c 2005-12-08 20:03:28 +0100 d24 1 a24 1 @@@@ -184,11 +185,11 @@@@ d38 1 a38 1 @@@@ -305,11 +306,11 @@@@ d52 1 a52 1 @@@@ -328,11 +329,11 @@@@ @