summaryrefslogtreecommitdiff
path: root/source/t/tetex/tetex.cpascal.getline.posix.2008.diff
diff options
context:
space:
mode:
Diffstat (limited to 'source/t/tetex/tetex.cpascal.getline.posix.2008.diff')
-rw-r--r--source/t/tetex/tetex.cpascal.getline.posix.2008.diff17
1 files changed, 17 insertions, 0 deletions
diff --git a/source/t/tetex/tetex.cpascal.getline.posix.2008.diff b/source/t/tetex/tetex.cpascal.getline.posix.2008.diff
new file mode 100644
index 00000000..879adc44
--- /dev/null
+++ b/source/t/tetex/tetex.cpascal.getline.posix.2008.diff
@@ -0,0 +1,17 @@
+--- ./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);