diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-11 07:25:52 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2011-03-11 07:25:52 +0000 |
commit | e8b6682ed539f76a81a7be257185634cd01ed000 (patch) | |
tree | a05fbd9d8ea9a0b67d3011aa2a986e06f729c4c3 /Build | |
parent | 3584b3fd37a37c0c9da6474c55f77e66c146a596 (diff) |
Sync with dvipdfmx-20110311
git-svn-id: svn://tug.org/texlive/trunk@21685 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
8 files changed, 120 insertions, 19 deletions
diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/ChangeLog b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/ChangeLog index 6b7722c5768..4e37cd82eb4 100644 --- a/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/ChangeLog +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/ChangeLog @@ -1,3 +1,7 @@ +2011-03-11 Peter Breitenlohner <peb@mppmu.mpg.de> + + * patch-04-dvipdfmx-20110311 (new): From upstream. + 2011-03-09 Peter Breitenlohner <peb@mppmu.mpg.de> Imported snapshot 20110309. diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/patch-04-dvipdfmx-20110311 b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/patch-04-dvipdfmx-20110311 new file mode 100644 index 00000000000..6dd179a6b32 --- /dev/null +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110309-PATCHES/patch-04-dvipdfmx-20110311 @@ -0,0 +1,86 @@ +diff -ur dvipdfmx-20110309.orig/ChangeLog dvipdfmx-20110309/ChangeLog +--- dvipdfmx-20110309.orig/ChangeLog 2011-03-09 08:58:12.000000000 +0100 ++++ dvipdfmx-20110309/ChangeLog 2011-03-11 04:15:31.000000000 +0100 +@@ -1,8 +1,13 @@ +-$Header: /home/cvsroot/dvipdfmx/ChangeLog,v 1.289 2011/03/09 07:58:12 chofchof Exp $ ++$Header: /home/cvsroot/dvipdfmx/ChangeLog,v 1.290 2011/03/11 03:15:31 chofchof Exp $ + + ChangeLog: Changes for DVIPDFMx + =============================== + ++2011-03-11 Jin-Hwan Cho ++ ++ * dpxcrypt.c: ++ Applied the patch for 64bit systems; suggested by Akira Kakuto. ++ + 2011-03-09 Jin-Hwan Cho + + * dpxfile.c, configure.in, man/extractbb.1: +diff -ur dvipdfmx-20110309.orig/configure dvipdfmx-20110309/configure +--- dvipdfmx-20110309.orig/configure 2011-03-09 08:48:47.000000000 +0100 ++++ dvipdfmx-20110309/configure 2011-03-11 04:14:39.000000000 +0100 +@@ -2321,7 +2321,7 @@ + + # Define the identity of the package. + PACKAGE=dvipdfmx +- VERSION=20110309 ++ VERSION=20110311 + + + cat >>confdefs.h <<_ACEOF +diff -ur dvipdfmx-20110309.orig/configure.in dvipdfmx-20110309/configure.in +--- dvipdfmx-20110309.orig/configure.in 2011-03-09 08:48:39.000000000 +0100 ++++ dvipdfmx-20110309/configure.in 2011-03-11 04:14:28.000000000 +0100 +@@ -1,6 +1,6 @@ + dnl Process this file with autoconf to produce a configure script. + AC_INIT(src/dvipdfmx.c) +-AM_INIT_AUTOMAKE(dvipdfmx, 20110309) ++AM_INIT_AUTOMAKE(dvipdfmx, 20110311) + AM_CONFIG_HEADER(config.h) + AM_MAINTAINER_MODE + +diff -ur dvipdfmx-20110309.orig/src/dpxcrypt.c dvipdfmx-20110309/src/dpxcrypt.c +--- dvipdfmx-20110309.orig/src/dpxcrypt.c 2011-03-06 04:14:13.000000000 +0100 ++++ dvipdfmx-20110309/src/dpxcrypt.c 2011-03-11 04:12:23.000000000 +0100 +@@ -1,4 +1,4 @@ +-/* $Header: /home/cvsroot/dvipdfmx/src/dpxcrypt.c,v 1.3 2011/03/06 03:14:13 chofchof Exp $ ++/* $Header: /home/cvsroot/dvipdfmx/src/dpxcrypt.c,v 1.4 2011/03/11 03:12:23 chofchof Exp $ + + This is DVIPDFMx, an eXtended version of DVIPDFM by Mark A. Wicks. + +@@ -24,6 +24,7 @@ + #include "config.h" + #endif + ++#include <stdint.h> + #include <string.h> + + #include "dpxcrypt.h" +@@ -89,12 +90,12 @@ + /* transform n*64 bytes */ + static void transform (MD5_CONTEXT *ctx, const unsigned char *data) + { +- unsigned long correct_words[16]; +- register unsigned long A = ctx->A; +- register unsigned long B = ctx->B; +- register unsigned long C = ctx->C; +- register unsigned long D = ctx->D; +- unsigned long *cwp = correct_words; ++ uint32_t correct_words[16]; ++ register uint32_t A = ctx->A; ++ register uint32_t B = ctx->B; ++ register uint32_t C = ctx->C; ++ register uint32_t D = ctx->D; ++ uint32_t *cwp = correct_words; + + #ifdef WORDS_BIGENDIAN + { int i; const unsigned char *p1; unsigned char *p2; +@@ -103,7 +104,7 @@ + } + } + #else +- memcpy(correct_words, data, 64); ++ memcpy(correct_words, data, sizeof(uint32_t) * 16); + #endif + + #define OP(a, b, c, d, s, T) \ diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110309/ChangeLog b/Build/source/texk/dvipdfmx/dvipdfmx-20110309/ChangeLog index 9a3b04b7040..6388029be5d 100644 --- a/Build/source/texk/dvipdfmx/dvipdfmx-20110309/ChangeLog +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110309/ChangeLog @@ -1,8 +1,13 @@ -$Header: /home/cvsroot/dvipdfmx/ChangeLog,v 1.289 2011/03/09 07:58:12 chofchof Exp $ +$Header: /home/cvsroot/dvipdfmx/ChangeLog,v 1.290 2011/03/11 03:15:31 chofchof Exp $ ChangeLog: Changes for DVIPDFMx =============================== +2011-03-11 Jin-Hwan Cho + + * dpxcrypt.c: + Applied the patch for 64bit systems; suggested by Akira Kakuto. + 2011-03-09 Jin-Hwan Cho * dpxfile.c, configure.in, man/extractbb.1: diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110309/configure b/Build/source/texk/dvipdfmx/dvipdfmx-20110309/configure index 876e3c4f791..fbb1408381a 100755 --- a/Build/source/texk/dvipdfmx/dvipdfmx-20110309/configure +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110309/configure @@ -2321,7 +2321,7 @@ fi # Define the identity of the package. PACKAGE=dvipdfmx - VERSION=20110309 + VERSION=20110311 cat >>confdefs.h <<_ACEOF diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110309/configure.in b/Build/source/texk/dvipdfmx/dvipdfmx-20110309/configure.in index b76ef10cf32..5cf4542d705 100644 --- a/Build/source/texk/dvipdfmx/dvipdfmx-20110309/configure.in +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110309/configure.in @@ -1,6 +1,6 @@ dnl Process this file with autoconf to produce a configure script. AC_INIT(src/dvipdfmx.c) -AM_INIT_AUTOMAKE(dvipdfmx, 20110309) +AM_INIT_AUTOMAKE(dvipdfmx, 20110311) AM_CONFIG_HEADER(config.h) AM_MAINTAINER_MODE diff --git a/Build/source/texk/dvipdfmx/dvipdfmx-20110309/src/dpxcrypt.c b/Build/source/texk/dvipdfmx/dvipdfmx-20110309/src/dpxcrypt.c index 8c818b038d5..4bad1620485 100644 --- a/Build/source/texk/dvipdfmx/dvipdfmx-20110309/src/dpxcrypt.c +++ b/Build/source/texk/dvipdfmx/dvipdfmx-20110309/src/dpxcrypt.c @@ -1,4 +1,4 @@ -/* $Header: /home/cvsroot/dvipdfmx/src/dpxcrypt.c,v 1.3 2011/03/06 03:14:13 chofchof Exp $ +/* $Header: /home/cvsroot/dvipdfmx/src/dpxcrypt.c,v 1.4 2011/03/11 03:12:23 chofchof Exp $ This is DVIPDFMx, an eXtended version of DVIPDFM by Mark A. Wicks. @@ -24,6 +24,7 @@ #include "config.h" #endif +#include <stdint.h> #include <string.h> #include "dpxcrypt.h" @@ -89,12 +90,12 @@ void MD5_init (MD5_CONTEXT *ctx) /* transform n*64 bytes */ static void transform (MD5_CONTEXT *ctx, const unsigned char *data) { - unsigned long correct_words[16]; - register unsigned long A = ctx->A; - register unsigned long B = ctx->B; - register unsigned long C = ctx->C; - register unsigned long D = ctx->D; - unsigned long *cwp = correct_words; + uint32_t correct_words[16]; + register uint32_t A = ctx->A; + register uint32_t B = ctx->B; + register uint32_t C = ctx->C; + register uint32_t D = ctx->D; + uint32_t *cwp = correct_words; #ifdef WORDS_BIGENDIAN { int i; const unsigned char *p1; unsigned char *p2; @@ -103,7 +104,7 @@ static void transform (MD5_CONTEXT *ctx, const unsigned char *data) } } #else - memcpy(correct_words, data, 64); + memcpy(correct_words, data, sizeof(uint32_t) * 16); #endif #define OP(a, b, c, d, s, T) \ diff --git a/Build/source/texk/xdvipdfmx/ChangeLog.TL b/Build/source/texk/xdvipdfmx/ChangeLog.TL index 8be817b3427..dbb47c46ca2 100644 --- a/Build/source/texk/xdvipdfmx/ChangeLog.TL +++ b/Build/source/texk/xdvipdfmx/ChangeLog.TL @@ -1,6 +1,10 @@ ChangeLog.TL: TeX Live (TL) changes for xdvipdfmx ================================================= +2011-03-11 Peter Breitenlohner <peb@mppmu.mpg.de> + + * src/dpxcrypt.c: Sync with dvipdfmx. + 2011-03-10 Peter Breitenlohner <peb@mppmu.mpg.de> * src/cff_dict.h, src/cff_types.h, src/cmap.c, src/cmap_write.c, diff --git a/Build/source/texk/xdvipdfmx/src/dpxcrypt.c b/Build/source/texk/xdvipdfmx/src/dpxcrypt.c index 8c818b038d5..4bad1620485 100644 --- a/Build/source/texk/xdvipdfmx/src/dpxcrypt.c +++ b/Build/source/texk/xdvipdfmx/src/dpxcrypt.c @@ -1,4 +1,4 @@ -/* $Header: /home/cvsroot/dvipdfmx/src/dpxcrypt.c,v 1.3 2011/03/06 03:14:13 chofchof Exp $ +/* $Header: /home/cvsroot/dvipdfmx/src/dpxcrypt.c,v 1.4 2011/03/11 03:12:23 chofchof Exp $ This is DVIPDFMx, an eXtended version of DVIPDFM by Mark A. Wicks. @@ -24,6 +24,7 @@ #include "config.h" #endif +#include <stdint.h> #include <string.h> #include "dpxcrypt.h" @@ -89,12 +90,12 @@ void MD5_init (MD5_CONTEXT *ctx) /* transform n*64 bytes */ static void transform (MD5_CONTEXT *ctx, const unsigned char *data) { - unsigned long correct_words[16]; - register unsigned long A = ctx->A; - register unsigned long B = ctx->B; - register unsigned long C = ctx->C; - register unsigned long D = ctx->D; - unsigned long *cwp = correct_words; + uint32_t correct_words[16]; + register uint32_t A = ctx->A; + register uint32_t B = ctx->B; + register uint32_t C = ctx->C; + register uint32_t D = ctx->D; + uint32_t *cwp = correct_words; #ifdef WORDS_BIGENDIAN { int i; const unsigned char *p1; unsigned char *p2; @@ -103,7 +104,7 @@ static void transform (MD5_CONTEXT *ctx, const unsigned char *data) } } #else - memcpy(correct_words, data, 64); + memcpy(correct_words, data, sizeof(uint32_t) * 16); #endif #define OP(a, b, c, d, s, T) \ |