diff options
author | 2005-10-12 21:52:00 +0000 | |
---|---|---|
committer | 2005-10-12 21:52:00 +0000 | |
commit | b9195e10f26ed8408bc6f0fe3f41fb9503258e16 (patch) | |
tree | 6ed64a5538481456c11a161f6dd677ca925addea /sys-apps/dcfldd/files | |
parent | New prerelease (diff) | |
download | gentoo-2-b9195e10f26ed8408bc6f0fe3f41fb9503258e16.tar.gz gentoo-2-b9195e10f26ed8408bc6f0fe3f41fb9503258e16.tar.bz2 gentoo-2-b9195e10f26ed8408bc6f0fe3f41fb9503258e16.zip |
-amd64 masked on versions 1.2.2 and 1.2.4 due to bad md5 implenation in bug 108653. Corrected version in 1.2.4-r1
(Portage version: 2.0.53_rc3)
Diffstat (limited to 'sys-apps/dcfldd/files')
-rw-r--r-- | sys-apps/dcfldd/files/dcfldd-1.2.4_md5_amd64_fix.patch | 43 | ||||
-rw-r--r-- | sys-apps/dcfldd/files/digest-dcfldd-1.2.4-r1 | 1 |
2 files changed, 44 insertions, 0 deletions
diff --git a/sys-apps/dcfldd/files/dcfldd-1.2.4_md5_amd64_fix.patch b/sys-apps/dcfldd/files/dcfldd-1.2.4_md5_amd64_fix.patch new file mode 100644 index 000000000000..f20990bf4230 --- /dev/null +++ b/sys-apps/dcfldd/files/dcfldd-1.2.4_md5_amd64_fix.patch @@ -0,0 +1,43 @@ +diff -Nur dcfldd-1.2.4/md5.c dcfldd-1.2.4.fixed/md5.c +--- dcfldd-1.2.4/md5.c 2005-05-10 00:56:15.000000000 +0100 ++++ dcfldd-1.2.4.fixed/md5.c 2005-10-11 22:33:20.091158683 +0100 +@@ -31,6 +31,18 @@ + ********************************************************************** + */ + ++#ifdef HAVE_CONFIG_H ++#include <config.h> ++#endif /* HAVE_CONFIG_H */ ++ ++#if HAVE_INTTYPES_H ++# include <inttypes.h> ++#else ++# if HAVE_STDINT_H ++# include <stdint.h> ++# endif ++#endif ++ + /* -- include the following line if the md5.h header file is separate -- */ + #include "md5.h" + +diff -Nur dcfldd-1.2.4/md5.h dcfldd-1.2.4.fixed/md5.h +--- dcfldd-1.2.4/md5.h 2005-05-10 00:56:15.000000000 +0100 ++++ dcfldd-1.2.4.fixed/md5.h 2005-10-11 22:33:57.261568986 +0100 +@@ -39,8 +39,16 @@ + #ifndef MD5_H + #define MD5_H + ++#if HAVE_INTTYPES_H ++# include <inttypes.h> ++#else ++# if HAVE_STDINT_H ++# include <stdint.h> ++# endif ++#endif ++ + /* typedef a 32 bit type */ +-typedef unsigned long int UINT4; ++typedef uint32_t UINT4; + + #define MD5_DIGEST_STRING_LENGTH 32 + diff --git a/sys-apps/dcfldd/files/digest-dcfldd-1.2.4-r1 b/sys-apps/dcfldd/files/digest-dcfldd-1.2.4-r1 new file mode 100644 index 000000000000..484bac25b547 --- /dev/null +++ b/sys-apps/dcfldd/files/digest-dcfldd-1.2.4-r1 @@ -0,0 +1 @@ +MD5 429a0df4d6a6bf35b8be3f3204b98f0c dcfldd-1.2.4.tar.gz 163087 |