OpenPKG CVS Repository http://cvs.openpkg.org/ ____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall Root: /v/openpkg/cvs Email: r...@openpkg.org Module: openpkg-src Date: 27-Mar-2009 12:05:32 Branch: HEAD Handle: 2009032711052900 Modified files: openpkg-src/mhash mhash.patch mhash.spec Log: upgrading package: mhash 0.9.9 -> 0.9.9.9 Summary: Revision Changes Path 1.4 +51 -51 openpkg-src/mhash/mhash.patch 1.36 +2 -2 openpkg-src/mhash/mhash.spec ____________________________________________________________________________ patch -p0 <<'@@ .' Index: openpkg-src/mhash/mhash.patch ============================================================================ $ cvs diff -u -r1.3 -r1.4 mhash.patch --- openpkg-src/mhash/mhash.patch 16 Mar 2006 08:11:46 -0000 1.3 +++ openpkg-src/mhash/mhash.patch 27 Mar 2009 11:05:29 -0000 1.4 @@ -1,53 +1,53 @@ Index: lib/stdfns.c ---- lib/stdfns.c.orig 2006-03-15 21:12:36 +0100 -+++ lib/stdfns.c 2006-03-16 08:03:44 +0100 +--- 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 <limits.h> - - /** - * 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)); - } + */ + + #include "libdefs.h" ++#include <limits.h> + + /** + * 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)); + } @@ . patch -p0 <<'@@ .' Index: openpkg-src/mhash/mhash.spec ============================================================================ $ cvs diff -u -r1.35 -r1.36 mhash.spec --- openpkg-src/mhash/mhash.spec 1 Jan 2008 14:58:32 -0000 1.35 +++ openpkg-src/mhash/mhash.spec 27 Mar 2009 11:05:29 -0000 1.36 @@ -31,8 +31,8 @@ Class: PLUS Group: Cryptography License: LGPL -Version: 0.9.9 -Release: 20080101 +Version: 0.9.9.9 +Release: 20090327 # list of sources Source0: http://switch.dl.sourceforge.net/sourceforge/mhash/mhash-%{version}.tar.gz @@ . ______________________________________________________________________ OpenPKG http://openpkg.org CVS Repository Commit List openpkg-cvs@openpkg.org