pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/fonts/t1utils Add a patch to deal with getline(3) conf...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/88c247ed5682
branches:  trunk
changeset: 397397:88c247ed5682
user:      taca <taca%pkgsrc.org@localhost>
date:      Tue Aug 11 14:52:28 2009 +0000

description:
Add a patch to deal with getline(3) confliction.

diffstat:

 fonts/t1utils/distinfo         |   3 ++-
 fonts/t1utils/patches/patch-aa |  31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (46 lines):

diff -r 813f6449adcb -r 88c247ed5682 fonts/t1utils/distinfo
--- a/fonts/t1utils/distinfo    Tue Aug 11 14:41:23 2009 +0000
+++ b/fonts/t1utils/distinfo    Tue Aug 11 14:52:28 2009 +0000
@@ -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 -r 813f6449adcb -r 88c247ed5682 fonts/t1utils/patches/patch-aa
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/fonts/t1utils/patches/patch-aa    Tue Aug 11 14:52:28 2009 +0000
@@ -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);
+   }
+   



Home | Main Index | Thread Index | Old Index