summaryrefslogtreecommitdiff
path: root/fonts/t1utils
diff options
context:
space:
mode:
authortaca <taca>2009-08-11 14:52:28 +0000
committertaca <taca>2009-08-11 14:52:28 +0000
commitfde3e5239ea42b14b45fb09616d8c0171b359ef0 (patch)
treecab5d5def0d3e4edfbaee65feb747ff3f0c23993 /fonts/t1utils
parentc24381412c13bdcc55d03ac4c9b3558db4d9338e (diff)
downloadpkgsrc-fde3e5239ea42b14b45fb09616d8c0171b359ef0.tar.gz
Add a patch to deal with getline(3) confliction.
Diffstat (limited to 'fonts/t1utils')
-rw-r--r--fonts/t1utils/distinfo3
-rw-r--r--fonts/t1utils/patches/patch-aa31
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);
+ }
+