pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/web2c Make metapost build on systems with native...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ab5b9b95f62f
branches:  trunk
changeset: 395994:ab5b9b95f62f
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Jul 17 06:58:51 2009 +0000

description:
Make metapost build on systems with native getline().

diffstat:

 print/web2c/distinfo         |   3 ++-
 print/web2c/patches/patch-av |  31 +++++++++++++++++++++++++++++++
 2 files changed, 33 insertions(+), 1 deletions(-)

diffs (49 lines):

diff -r 15b3bd7b77ac -r ab5b9b95f62f print/web2c/distinfo
--- a/print/web2c/distinfo      Fri Jul 17 06:55:14 2009 +0000
+++ b/print/web2c/distinfo      Fri Jul 17 06:58:51 2009 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.4 2009/07/17 06:55:14 minskim Exp $
+$NetBSD: distinfo,v 1.5 2009/07/17 06:58:51 minskim Exp $
 
 SHA1 (texlive-20080816-source.tar.lzma) = 730986c628bd658b5062face9e400f61203d6b8d
 RMD160 (texlive-20080816-source.tar.lzma) = 629784b111c0d4bc9fac9f9131f63203d6e1dd38
@@ -24,3 +24,4 @@
 SHA1 (patch-as) = b676605ce6f599d75ef9076316f60a5679656a16
 SHA1 (patch-at) = 590c83e0decf5603a75970e33d8028d794d920d2
 SHA1 (patch-au) = acc255d4e4eacd960d4b9a9807ca4b0cff37d000
+SHA1 (patch-av) = 9b7272f47229daf1daccafdafbf201c34f8ef6d8
diff -r 15b3bd7b77ac -r ab5b9b95f62f print/web2c/patches/patch-av
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/print/web2c/patches/patch-av      Fri Jul 17 06:58:51 2009 +0000
@@ -0,0 +1,31 @@
+$NetBSD: patch-av,v 1.1 2009/07/17 06:58:52 minskim Exp $
+
+--- mpware/mpto.c.orig 2008-04-11 09:33:03.000000000 -0700
++++ mpware/mpto.c
+@@ -97,7 +97,7 @@ usage(char *progn)
+ }
+ 
+ char *
+-getline(void)
++mp_getline(void)
+ {                             /* returns NULL on EOF or error, otherwise buf */
+     int c;
+     unsigned loc = 0;
+@@ -302,7 +302,7 @@ copytex(void)
+     char *res = NULL;
+     do {
+       if (*aa == 0)
+-        if ((aa = getline()) == NULL)
++        if ((aa = mp_getline()) == NULL)
+           err("btex section does not end");
+ 
+       if (getbta(aa) && *tt == 'e') {
+@@ -483,7 +483,7 @@ Current maintainer: Taco Hoekwater.\n");
+       postverb = troff_postverb;
+     }
+     printf("%s", predoc);
+-    while (getline() != NULL)
++    while (mp_getline() != NULL)
+       do_line();
+     printf("%s", postdoc);
+     exit(0);



Home | Main Index | Thread Index | Old Index