--- ./texk/web2c/cpascal.h.orig 2004-08-28 15:49:59.000000000 -0500 +++ ./texk/web2c/cpascal.h 2010-02-19 11:27:04.000000000 -0600 @@ -241,6 +241,14 @@ #define getname vms_getname #endif +/* Apparently POSIX 2008 has getline and glibc 2.9.90 exports it. + tangle, weave, et al. use that symbol; try to define it away so + something that a standard won't usurp. */ +#ifdef getline +#undef getline +#endif +#define getline web2c_getline + /* Declarations for the routines we provide ourselves in lib/. */ extern string basenamechangesuffix P3H(const_string,const_string,const_string);