Re: 2.96.4 pretest
Harald Koenig <[email protected]>
| Newsgroups | gmane.comp.tex.tetex.beta |
|---|---|
| Message-ID | <[email protected]> |
On Jun 27, Thomas Esser wrote:
> * upgrade dvipng to version 1.1
dvipng doesn't compile on DEC OSF1 V4.0 (AXP) because OSF1
has neither stdint.h nor inttypes.h which is included in dvipng.h.
btw: the configure script in dvipng has no test for stdint.h, so
HAVE_STDINT_H doesn't get set on any platform.
here is my temporary fix for dvipng on AXP:
-------------------------------------------------------------------------------
--- tetex-src-beta-2.96.4.20040627/texk/dvipng/dvipng.h~ Mon May 24 08:11:00 2004
+++ tetex-src-beta-2.96.4.20040627/texk/dvipng/dvipng.h Mon Jun 28 11:24:16 2004
@@ -13,10 +13,21 @@
/* Name of the program which is called to generate missing pk files */
#define MAKETEXPK "mktexpk"
+#ifdef __alpha__
+ typedef __signed char int8_t;
+ typedef unsigned char uint8_t;
+ typedef short int16_t;
+ typedef unsigned short uint16_t;
+ typedef int int32_t;
+ typedef unsigned int uint32_t;
+ typedef long long int64_t;
+ typedef unsigned long long uint64_t;
+#else
#ifdef HAVE_STDINT_H
#include <stdint.h>
#else
#include <inttypes.h>
+#endif
#endif
/* For some reason FreeBSD does not follow the C standard */
-------------------------------------------------------------------------------
Harald Koenig
--
"I hope to die ___ _____
before I *have* to use Microsoft Word.", 0--,| /OOOOOOO\
Donald E. Knuth, 02-Oct-2001 in Tuebingen. <_/ / /OOOOOOOOOOO\
\ \/OOOOOOOOOOOOOOO\
\ OOOOOOOOOOOOOOOOO|//
Harald Koenig \/\/\/\/\/\/\/\/\/
science+computing ag // / \\ \
[email protected] ^^^^^ ^^^^^