Re: teTeX-3.0

Jan Nieuwenhuizen <[email protected]>
Newsgroups gmane.comp.tex.tetex.general
Organization Jan at Appel
Message-ID <[email protected]>
Thomas Esser writes:

Hi Thomas,

Compiling for Mingw brought up a few small problems, fixed by the
patch below.

Greetings,
Jan.


--- ../tetex-bin-3.0.0/texk/dvipdfm/ChangeLog	2001-06-28 21:55:26 +0200
+++ ./texk/dvipdfm/ChangeLog	2005-05-05 12:47:59 +0200
@@ -1,3 +1,7 @@
+2005-05-05  Jan Nieuwenhuizen  <[email protected]>
+
+	* error.h (__error_t_defined): Bugfix: do not redefine error_t.
+
 2000-07-25  Mark A. Wicks  <[email protected]>
 
         * Changed version to 0.13
diff -purNXcygwin/.cvsignore ../tetex-bin-3.0.0/texk/dvipdfm/error.h ./texk/dvipdfm/error.h
--- ../tetex-bin-3.0.0/texk/dvipdfm/error.h	2001-06-28 21:55:26 +0200
+++ ./texk/dvipdfm/error.h	2005-05-05 12:47:39 +0200
@@ -39,7 +39,10 @@ extern void error_cleanup();
   fprintf (stderr, "\n");  \
   error_cleanup(); \
   exit(1);}
+#ifndef __error_t_defined
 typedef int error_t;
+#define __error_t_defined 1
+#endif
 
 #endif /* _ERROR_H_ */
 
diff -purNXcygwin/.cvsignore ../tetex-bin-3.0.0/texk/kpathsea/ChangeLog ./texk/kpathsea/ChangeLog
--- ../tetex-bin-3.0.0/texk/kpathsea/ChangeLog	2005-02-06 11:27:17 +0100
+++ ./texk/kpathsea/ChangeLog	2005-05-05 16:32:33 +0200
@@ -1,3 +1,8 @@
+2005-05-05  Jan Nieuwenhuizen  <[email protected]>
+
+	* hash.h: Bugfix: Add KPSEDLL to kpse_debug_hash_lookup_int
+	declaration.
+
 2005-02-06  Olaf Weber  <[email protected]>
 
 	* kpsereadlink.man: Correct banner: READLINK -> KPSEREADLINK.
--- ../tetex-bin-3.0.0/texk/kpathsea/getopt1.c	1997-09-16 12:56:14 +0200
+++ ./texk/kpathsea/getopt1.c	2005-05-05 16:13:31 +0200
@@ -23,7 +23,7 @@
 #include <config.h>
 #endif
 
-#include "getopt.h"
+#include <kpathsea/getopt.h>
 
 #if !defined (__STDC__) || !__STDC__
 /* This is a separate conditional since some stdc systems
diff -purNXcygwin/.cvsignore ../tetex-bin-3.0.0/texk/kpathsea/getopt.h ./texk/kpathsea/getopt.h
diff -purNXcygwin/.cvsignore ../tetex-bin-3.0.0/texk/kpathsea/hash.h ./texk/kpathsea/hash.h
--- ../tetex-bin-3.0.0/texk/kpathsea/hash.h	2002-12-14 12:48:51 +0100
+++ ./texk/kpathsea/hash.h	2005-05-05 16:32:04 +0200
@@ -40,7 +40,7 @@ typedef struct
 
 #ifdef KPSE_DEBUG
 /* How to print the hash results when debugging.  */
-extern boolean kpse_debug_hash_lookup_int;
+extern KPSEDLL boolean kpse_debug_hash_lookup_int;
 #endif
 
 /* Create a hash table of size SIZE.  */

-- 
Jan Nieuwenhuizen <[email protected]> | GNU LilyPond - The music typesetter
http://www.xs4all.nl/~jantien       | http://www.lilypond.org
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.