diff options
author | skrll <skrll@pkgsrc.org> | 2001-04-04 16:26:12 +0000 |
---|---|---|
committer | skrll <skrll@pkgsrc.org> | 2001-04-04 16:26:12 +0000 |
commit | da5c89950e5065e1e7c0b3cdaf0df3370d16965f (patch) | |
tree | 1ecea2296fef10cb5debc9a2b19b6df1cb06d7c9 /devel/libg++/patches | |
parent | ad9c381c34d11997a945f415e5d89995b175cfb2 (diff) | |
download | pkgsrc-da5c89950e5065e1e7c0b3cdaf0df3370d16965f.tar.gz |
Change ignore message slightly.
One patch per file.
MD5 -> SHA1
Diffstat (limited to 'devel/libg++/patches')
-rw-r--r-- | devel/libg++/patches/patch-aa | 70 | ||||
-rw-r--r-- | devel/libg++/patches/patch-ab | 13 | ||||
-rw-r--r-- | devel/libg++/patches/patch-ac | 13 |
3 files changed, 38 insertions, 58 deletions
diff --git a/devel/libg++/patches/patch-aa b/devel/libg++/patches/patch-aa index 0ac82e2af1d..9a1ac07eb3a 100644 --- a/devel/libg++/patches/patch-aa +++ b/devel/libg++/patches/patch-aa @@ -1,59 +1,13 @@ -$NetBSD: patch-aa,v 1.2 1998/08/07 10:40:25 agc Exp $ +$NetBSD: patch-aa,v 1.3 2001/04/04 16:26:12 skrll Exp $ -*** libg++/src/ACG.cc.orig Sat Jun 24 17:40:39 1995 ---- libg++/src/ACG.cc Thu Apr 9 07:34:24 1998 -*************** -*** 172,178 **** - // - - static const _G_uint32_t LC_A = 66049; -! static const _G_uint32_t LC_C = 3907864577; - static inline _G_uint32_t LCG(_G_uint32_t x) - { - return( x * LC_A + LC_C ); ---- 172,178 ---- - // - - static const _G_uint32_t LC_A = 66049; -! static const _G_uint32_t LC_C = 3907864577U; - static inline _G_uint32_t LCG(_G_uint32_t x) - { - return( x * LC_A + LC_C ); -*** libg++/src/hash.cc.orig Sat Jun 24 12:45:40 1995 ---- libg++/src/hash.cc Thu Apr 9 07:34:51 1998 -*************** -*** 41,47 **** - unsigned int multiplicativehash(int x) - { - // uses a const close to golden ratio * pow(2,32) -! return ((unsigned)x) * 2654435767; - } - - ---- 41,47 ---- - unsigned int multiplicativehash(int x) - { - // uses a const close to golden ratio * pow(2,32) -! return ((unsigned)x) * 2654435767U; - } - - -*** libg++/src/timer.c.orig Sat Jun 24 12:45:41 1995 ---- libg++/src/timer.c Thu Apr 9 08:51:48 1998 -*************** -*** 29,35 **** - - #if 1 - -! #include <_G_config.h> - #include <sys/types.h> - #if _G_HAVE_SYS_RESOURCE - #include <sys/time.h> ---- 29,35 ---- - - #if 1 - -! #include <g++/_G_config.h> - #include <sys/types.h> - #if _G_HAVE_SYS_RESOURCE - #include <sys/time.h> +--- libg++/src/ACG.cc.orig Sat Jun 24 22:40:39 1995 ++++ libg++/src/ACG.cc +@@ -172,7 +172,7 @@ + // + + static const _G_uint32_t LC_A = 66049; +-static const _G_uint32_t LC_C = 3907864577; ++static const _G_uint32_t LC_C = 3907864577U; + static inline _G_uint32_t LCG(_G_uint32_t x) + { + return( x * LC_A + LC_C ); diff --git a/devel/libg++/patches/patch-ab b/devel/libg++/patches/patch-ab new file mode 100644 index 00000000000..3181ecc28ce --- /dev/null +++ b/devel/libg++/patches/patch-ab @@ -0,0 +1,13 @@ +$NetBSD: patch-ab,v 1.1 2001/04/04 16:26:12 skrll Exp $ + +--- libg++/src/hash.cc.orig Sat Jun 24 17:45:40 1995 ++++ libg++/src/hash.cc +@@ -41,7 +41,7 @@ + unsigned int multiplicativehash(int x) + { + // uses a const close to golden ratio * pow(2,32) +- return ((unsigned)x) * 2654435767; ++ return ((unsigned)x) * 2654435767U; + } + + diff --git a/devel/libg++/patches/patch-ac b/devel/libg++/patches/patch-ac new file mode 100644 index 00000000000..8a66e82c11b --- /dev/null +++ b/devel/libg++/patches/patch-ac @@ -0,0 +1,13 @@ +$NetBSD: patch-ac,v 1.1 2001/04/04 16:26:12 skrll Exp $ + +--- libg++/src/timer.c.orig Sat Jun 24 17:45:41 1995 ++++ libg++/src/timer.c +@@ -29,7 +29,7 @@ + + #if 1 + +-#include <_G_config.h> ++#include <g++/_G_config.h> + #include <sys/types.h> + #if _G_HAVE_SYS_RESOURCE + #include <sys/time.h> |