diff options
-rw-r--r-- | textproc/detex/distinfo | 4 | ||||
-rw-r--r-- | textproc/detex/patches/patch-ab | 45 |
2 files changed, 42 insertions, 7 deletions
diff --git a/textproc/detex/distinfo b/textproc/detex/distinfo index 286034550f3..27521d51203 100644 --- a/textproc/detex/distinfo +++ b/textproc/detex/distinfo @@ -1,7 +1,7 @@ -$NetBSD: distinfo,v 1.8 2008/11/20 02:19:26 chuck Exp $ +$NetBSD: distinfo,v 1.9 2012/11/01 19:26:14 joerg Exp $ SHA1 (detex-2.8.tar) = 57691f8e4dd52cbf632f38abebfd8c3725de019b RMD160 (detex-2.8.tar) = 983ea90de9e3559317baf4a71de0e8de47863b7d Size (detex-2.8.tar) = 318976 bytes SHA1 (patch-aa) = 4ad2937ed0c6fbd00b3767c8bdeb92dd1e7e5652 -SHA1 (patch-ab) = 43234d568b157da60db666daab75d9df6c9a392d +SHA1 (patch-ab) = b9fe692f1dbbb96c6d249c702f53f15658d01d0a diff --git a/textproc/detex/patches/patch-ab b/textproc/detex/patches/patch-ab index fc00ae8ed65..94f48da941a 100644 --- a/textproc/detex/patches/patch-ab +++ b/textproc/detex/patches/patch-ab @@ -1,8 +1,8 @@ -$NetBSD: patch-ab,v 1.2 2008/11/20 02:19:26 chuck Exp $ +$NetBSD: patch-ab,v 1.3 2012/11/01 19:26:15 joerg Exp $ ---- detex.l.orig 2008-11-19 20:20:18.000000000 -0500 -+++ detex.l 2008-11-19 20:20:54.000000000 -0500 -@@ -59,9 +59,7 @@ +--- detex.l.orig 2008-02-01 19:55:51.000000000 +0000 ++++ detex.l +@@ -59,9 +59,7 @@ static char rcsid[] = "$Header: /p/src/l #ifndef MAXPATHLEN #include <sys/param.h> #endif @@ -12,9 +12,14 @@ $NetBSD: patch-ab,v 1.2 2008/11/20 02:19:26 chuck Exp $ #define LaBEGIN if (fLatex) BEGIN #define IGNORE if (fSpace && !fWord) putchar(' ') -@@ -73,9 +71,6 @@ +@@ -72,10 +70,11 @@ static char rcsid[] = "$Header: /p/src/l + #define STRIPARGS(x) cArgs=x; LaBEGIN LaMacro2 #define CITE(x) if (fLatex && !fCite) KILLARGS(x) ++void InputFile(char *sbFile); ++void IncludeFile(char *sbFile); ++void AddInclude(char *sbFile); ++ char *SafeMalloc(); -#ifndef NO_MALLOC_DECL -char *malloc(); @@ -22,3 +27,33 @@ $NetBSD: patch-ab,v 1.2 2008/11/20 02:19:26 chuck Exp $ #ifdef OS2 void yyless(int); #endif +@@ -565,8 +564,7 @@ char *sbEnv; + ** the sbFile is ignored. + ******/ + +-InputFile(sbFile) +-char *sbFile; ++void InputFile(char *sbFile) + { + FILE *TexOpen(); + +@@ -589,8 +587,7 @@ char *sbFile; + ** and open sbFile. If the open fails, the sbFile is ignored. + ******/ + +-IncludeFile(sbFile) +-char *sbFile; ++void IncludeFile(char *sbFile) + { + FILE *TexOpen(); + +@@ -615,8 +612,7 @@ char *sbFile; + ** If the include list is too long, sbFile is ignored. + ******/ + +-AddInclude(sbFile) +-char *sbFile; ++void AddInclude(char *sbFile) + { + if (!fFollow) + return; |