1.1 --- a/tetex/tetex.patch Fri Aug 10 14:12:46 2012 +0200 1.2 +++ b/tetex/tetex.patch Fri Aug 10 14:15:27 2012 +0200 1.3 @@ -1,5 +1,4 @@ 1.4 Index: texk/gsftopk/gsftopk.c 1.5 -diff -Nau texk/gsftopk/gsftopk.c.orig texk/gsftopk/gsftopk.c 1.6 --- texk/gsftopk/gsftopk.c.orig 2005-03-15 13:05:16.817449597 +0100 1.7 +++ texk/gsftopk/gsftopk.c 2005-03-15 13:06:07.241499293 +0100 1.8 @@ -417,7 +417,7 @@ 1.9 @@ -114,3 +113,30 @@ 1.10 fprintf (stderr, "\nThumbnail not a png file! Skipping\n"); 1.11 return NULL; 1.12 } 1.13 +Index: texk/dvipsk/afm2tfm.c 1.14 +--- texk/dvipsk/afm2tfm.c.orig 2005-01-30 14:17:09.000000000 +0100 1.15 ++++ texk/dvipsk/afm2tfm.c 2012-08-10 13:51:16.204770293 +0200 1.16 +@@ -40,6 +40,9 @@ 1.17 + #endif 1.18 + #endif /* KPATHSEA */ 1.19 + 1.20 ++/* Definitions to accommodate flawed or defective code. */ 1.21 ++#define getline local_getline 1.22 ++ 1.23 + /* JLH: added these to make the code easier to read and remove some 1.24 + ascii<->ebcdic dependencies */ 1.25 + #define ASCII_A 65 1.26 +Index: texk/web2c/cpascal.h 1.27 +--- texk/web2c/cpascal.h.orig 2004-08-28 22:49:59.000000000 +0200 1.28 ++++ texk/web2c/cpascal.h 2012-08-10 13:50:28.634075696 +0200 1.29 +@@ -241,6 +241,10 @@ 1.30 + #define getname vms_getname 1.31 + #endif 1.32 + 1.33 ++/* Definitions to accommodate flawed or defective code. */ 1.34 ++ 1.35 ++#define getline local_getline 1.36 ++ 1.37 + /* Declarations for the routines we provide ourselves in lib/. */ 1.38 + 1.39 + extern string basenamechangesuffix P3H(const_string,const_string,const_string);