head 1.2; access; symbols pkgsrc-2013Q2:1.2.0.8 pkgsrc-2013Q2-base:1.2 pkgsrc-2012Q4:1.2.0.6 pkgsrc-2012Q4-base:1.2 pkgsrc-2011Q4:1.2.0.4 pkgsrc-2011Q4-base:1.2 pkgsrc-2011Q2:1.2.0.2 pkgsrc-2011Q2-base:1.2 pkgsrc-2009Q4:1.1.0.4 pkgsrc-2009Q4-base:1.1 pkgsrc-2009Q3:1.1.0.2 pkgsrc-2009Q3-base:1.1; locks; strict; comment @# @; 1.2 date 2010.01.16.03.15.39; author minskim; state dead; branches; next 1.1; 1.1 date 2009.07.17.06.58.52; author minskim; state Exp; branches; next ; desc @@ 1.2 log @Update web2c to 2009. Changes: - --shell-restricted aka shell_escape=p for restricted shell access. - --enable-write18 and --disable-write18 accepted as synonyms for --shell-escape and --no-shell-escape, for compatibility with MiKTeX. - Omega removed; use Aleph. - Build system now automake-based. @ text @$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); @ 1.1 log @Make metapost build on systems with native getline(). @ text @d1 1 a1 1 $NetBSD$ @