openbsd-ports/print/teTeX/base/patches/patch-texk_web2c_config_h
sturm 09e522ec98 update to tetex-3.0, see included ChangeLog for details
the texmf-doc SUBPACKAGE is not distributed via ftp due to size constraints
2005-02-21 21:36:06 +00:00

16 lines
522 B
Plaintext

$OpenBSD: patch-texk_web2c_config_h,v 1.1 2005/02/21 21:36:07 sturm Exp $
--- texk/web2c/config.h.orig Sat Feb 19 16:42:55 2005
+++ texk/web2c/config.h Sat Feb 19 16:45:19 2005
@@ -62,6 +62,11 @@ typedef SCHAR_TYPE schar;
If you define your own INTEGER_TYPE, you have to define your own
INTEGER_MAX and INTEGER_MIN, too. */
+#ifdef __OpenBSD__
+#define INTEGER_TYPE int
+#define INTEGER_MAX INT_MAX
+#define INTEGER_MIN INT_MIN
+#endif
#ifndef INTEGER_TYPE
#if SIZEOF_LONG > 4 && !defined (NO_DUMP_SHARE)