diff options
author | taca <taca@pkgsrc.org> | 2009-08-11 14:52:28 +0000 |
---|---|---|
committer | taca <taca@pkgsrc.org> | 2009-08-11 14:52:28 +0000 |
commit | ab92bbfe6c4cbf9e2636e15deaeb848f52db132a (patch) | |
tree | cab5d5def0d3e4edfbaee65feb747ff3f0c23993 /fonts/t1utils | |
parent | 290009004f913966862e8be198d66313e69e2f14 (diff) | |
download | pkgsrc-ab92bbfe6c4cbf9e2636e15deaeb848f52db132a.tar.gz |
Add a patch to deal with getline(3) confliction.
Diffstat (limited to 'fonts/t1utils')
-rw-r--r-- | fonts/t1utils/distinfo | 3 | ||||
-rw-r--r-- | fonts/t1utils/patches/patch-aa | 31 |
2 files changed, 33 insertions, 1 deletions
diff --git a/fonts/t1utils/distinfo b/fonts/t1utils/distinfo index 559844ab735..0b673d8ce91 100644 --- a/fonts/t1utils/distinfo +++ b/fonts/t1utils/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.5 2008/04/16 14:23:05 wiz Exp $ +$NetBSD: distinfo,v 1.6 2009/08/11 14:52:28 taca Exp $ SHA1 (t1utils-1.34.tar.gz) = a5b174a1d132436c410edf514ac74a6f4ae258e2 RMD160 (t1utils-1.34.tar.gz) = 325b6be1267d570acf56cd850323aa12908e736e Size (t1utils-1.34.tar.gz) = 155425 bytes +SHA1 (patch-aa) = b88f3b11d453e94b23c8df3d4abfbffd3a9d45db diff --git a/fonts/t1utils/patches/patch-aa b/fonts/t1utils/patches/patch-aa new file mode 100644 index 00000000000..dbffcbefbbb --- /dev/null +++ b/fonts/t1utils/patches/patch-aa @@ -0,0 +1,31 @@ +$NetBSD: patch-aa,v 1.1 2009/08/11 14:52:28 taca Exp $ + +--- t1asm.c.orig 2008-03-02 02:59:11.000000000 +0900 ++++ t1asm.c +@@ -280,7 +280,7 @@ static int check_line_charstring() + 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 get_line() + { + int c; + char *p = line; +@@ -721,7 +721,7 @@ particular purpose.\n"); + without /Subrs sections and provided a patch. */ + + while (!feof(ifp) && !ferror(ifp)) { +- getline(); ++ get_line(); + + if (!ever_active) { + if (strncmp(line, "currentfile eexec", 17) == 0 && isspace(line[17])) { +@@ -792,7 +792,7 @@ particular purpose.\n"); + + /* There may be additional code. */ + while (!feof(ifp) && !ferror(ifp)) { +- getline(); ++ get_line(); + eexec_string(line); + } + |