diff options
author | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-04-17 07:22:39 +0000 |
---|---|---|
committer | Peter Breitenlohner <peb@mppmu.mpg.de> | 2012-04-17 07:22:39 +0000 |
commit | a7c0448323c0aaaecb559e4d8c918bcd06b7f201 (patch) | |
tree | 270f16a512d4833ae569ae0230d1985d5027be78 /Build | |
parent | c55550dc1453a4b85bf207195463fc04971e5b9e (diff) |
xdvik: Patch from Nelson Beebe to avoid unaligned access on some 64-bit systems
git-svn-id: svn://tug.org/texlive/trunk@26011 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build')
-rw-r--r-- | Build/source/texk/xdvik/ChangeLog.TL | 6 | ||||
-rw-r--r-- | Build/source/texk/xdvik/xdvi.c | 3 |
2 files changed, 8 insertions, 1 deletions
diff --git a/Build/source/texk/xdvik/ChangeLog.TL b/Build/source/texk/xdvik/ChangeLog.TL index 0a8546ece48..500d1c83495 100644 --- a/Build/source/texk/xdvik/ChangeLog.TL +++ b/Build/source/texk/xdvik/ChangeLog.TL @@ -1,6 +1,12 @@ ChangeLog.TL: Changes for xdvik (TeX Live) ================================================== +2012-04-17 Peter Breitenlohner <peb@mppmu.mpg.de> + + * xdvi.c (run_dvi_file): Avoid unaligned access on some 64-bit + systems. Mail from Nelson H. F. Beebe <beebe@math.utah.edu> + [tlbuild] Mon, 16 Apr 2012 18:48:34. + 2012-04-02 Peter Breitenlohner <peb@mppmu.mpg.de> Imported xdvik-22.85.tar.gz diff --git a/Build/source/texk/xdvik/xdvi.c b/Build/source/texk/xdvik/xdvi.c index 91b3e117d2e..439c722f5d5 100644 --- a/Build/source/texk/xdvik/xdvi.c +++ b/Build/source/texk/xdvik/xdvi.c @@ -3300,7 +3300,8 @@ run_dvi_file(const char *filename, void *data) /* Store window id for use by src_client_check(). */ { - xuint32 data; + /* was xuint32, but need 8-byte alignment on some 64-bit systems. */ + long data; #if !(defined(WORD64) || defined(LONG64)) data = XtWindow(globals.widgets.top_level); #else |