diff -r 0838649dd325 -r ed99728b62ad tetex/tetex.patch --- a/tetex/tetex.patch Fri Aug 10 14:12:46 2012 +0200 +++ b/tetex/tetex.patch Fri Aug 10 14:15:27 2012 +0200 @@ -1,5 +1,4 @@ Index: texk/gsftopk/gsftopk.c -diff -Nau texk/gsftopk/gsftopk.c.orig texk/gsftopk/gsftopk.c --- texk/gsftopk/gsftopk.c.orig 2005-03-15 13:05:16.817449597 +0100 +++ texk/gsftopk/gsftopk.c 2005-03-15 13:06:07.241499293 +0100 @@ -417,7 +417,7 @@ @@ -114,3 +113,30 @@ fprintf (stderr, "\nThumbnail not a png file! Skipping\n"); return NULL; } +Index: texk/dvipsk/afm2tfm.c +--- texk/dvipsk/afm2tfm.c.orig 2005-01-30 14:17:09.000000000 +0100 ++++ texk/dvipsk/afm2tfm.c 2012-08-10 13:51:16.204770293 +0200 +@@ -40,6 +40,9 @@ + #endif + #endif /* KPATHSEA */ + ++/* Definitions to accommodate flawed or defective code. */ ++#define getline local_getline ++ + /* JLH: added these to make the code easier to read and remove some + ascii<->ebcdic dependencies */ + #define ASCII_A 65 +Index: texk/web2c/cpascal.h +--- texk/web2c/cpascal.h.orig 2004-08-28 22:49:59.000000000 +0200 ++++ texk/web2c/cpascal.h 2012-08-10 13:50:28.634075696 +0200 +@@ -241,6 +241,10 @@ + #define getname vms_getname + #endif + ++/* Definitions to accommodate flawed or defective code. */ ++ ++#define getline local_getline ++ + /* Declarations for the routines we provide ourselves in lib/. */ + + extern string basenamechangesuffix P3H(const_string,const_string,const_string);