teTeX3 on IRIX 5.3 bug + fix
[email protected] (Georg Schwarz)
| Newsgroups | gmane.comp.tex.tetex.general |
|---|---|
| Message-ID | <[email protected]> |
Dear teTeX developers, there is the following issue with compiling teTex 3.0 on IRIX 5.3: IRIX 5.3 does have inttypes.h, but it is known to conflict with sys/types.h. Therefore, to compile in texk/dvipng one has to explicitely set ac_cv_header_inttypes_h to "no". Moreover, texk/dvipng/dvipng.h needs the following patch: --- texk/dvipng/dvipng.h.orig 2005-04-06 20:21:12.000000000 +0200 +++ texk/dvipng/dvipng.h 2005-04-06 20:21:18.000000000 +0200 @@ -43,11 +43,19 @@ #ifdef HAVE_INTTYPES_H # include <inttypes.h> #else /* HAVE_INTTYPES_H */ +#ifndef __sgi +/* + IRIX has the following types typedef'd + in sys/types.h already (only relevant for + old IRIX systems; newer ones have a working + inttypes.h +*/ typedef signed char int8_t; -typedef unsigned char uint8_t; typedef short int16_t; -typedef unsigned short uint16_t; typedef int int32_t; +#endif /* ! __sgi */ +typedef unsigned char uint8_t; +typedef unsigned short uint16_t; typedef unsigned int uint32_t; typedef long long int64_t; typedef unsigned long long uint64_t; if you require additional information, please let me know. Georg -- Georg Schwarz http://home.pages.de/~schwarz/ [email protected] +49 178 8545053