summaryrefslogtreecommitdiff
path: root/Build/source/utils/t1utils/t1utils-1.34-PATCHES/patch-01-getline
diff options
context:
space:
mode:
authorPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-09 16:08:58 +0000
committerPeter Breitenlohner <peb@mppmu.mpg.de>2009-11-09 16:08:58 +0000
commit2c92c64be5afdf033f8d21178b02950a379c1fb4 (patch)
treea2a0365e0fc42c4b7a1a854da9d4074643a7ff1b /Build/source/utils/t1utils/t1utils-1.34-PATCHES/patch-01-getline
parentbfbe81796df41ce30c05a1dc88bb3147f28837b5 (diff)
update build system
git-svn-id: svn://tug.org/texlive/trunk@15951 c570f23f-e606-0410-a88d-b1316a301751
Diffstat (limited to 'Build/source/utils/t1utils/t1utils-1.34-PATCHES/patch-01-getline')
-rw-r--r--Build/source/utils/t1utils/t1utils-1.34-PATCHES/patch-01-getline32
1 files changed, 32 insertions, 0 deletions
diff --git a/Build/source/utils/t1utils/t1utils-1.34-PATCHES/patch-01-getline b/Build/source/utils/t1utils/t1utils-1.34-PATCHES/patch-01-getline
new file mode 100644
index 00000000000..006771de650
--- /dev/null
+++ b/Build/source/utils/t1utils/t1utils-1.34-PATCHES/patch-01-getline
@@ -0,0 +1,32 @@
+ Avoid conflict with getline from some newer C libraries.
+
+diff -ur t1utils-1.34.orig/t1asm.c t1utils-1.34/t1asm.c
+--- t1utils-1.34.orig/t1asm.c 2008-03-01 18:59:11.000000000 +0100
++++ t1utils-1.34/t1asm.c 2009-06-12 01:41:46.000000000 +0200
+@@ -280,7 +280,7 @@
+ the newline is put into line[]. When terminated by '{', the '{' is not put
+ into line[], and the flag start_charstring is set to 1. */
+
+-static void getline()
++static void texlive_getline()
+ {
+ int c;
+ char *p = line;
+@@ -721,7 +721,7 @@
+ without /Subrs sections and provided a patch. */
+
+ while (!feof(ifp) && !ferror(ifp)) {
+- getline();
++ texlive_getline();
+
+ if (!ever_active) {
+ if (strncmp(line, "currentfile eexec", 17) == 0 && isspace(line[17])) {
+@@ -792,7 +792,7 @@
+
+ /* There may be additional code. */
+ while (!feof(ifp) && !ferror(ifp)) {
+- getline();
++ texlive_getline();
+ eexec_string(line);
+ }
+