pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/detex Apply some void love.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4450a31a3bc9
branches:  trunk
changeset: 610629:4450a31a3bc9
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Nov 01 19:26:14 2012 +0000

description:
Apply some void love.

diffstat:

 textproc/detex/distinfo         |   4 +-
 textproc/detex/patches/patch-ab |  45 ++++++++++++++++++++++++++++++++++++----
 2 files changed, 42 insertions(+), 7 deletions(-)

diffs (79 lines):

diff -r 29d729176e73 -r 4450a31a3bc9 textproc/detex/distinfo
--- a/textproc/detex/distinfo   Thu Nov 01 16:48:12 2012 +0000
+++ b/textproc/detex/distinfo   Thu Nov 01 19:26:14 2012 +0000
@@ -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 -r 29d729176e73 -r 4450a31a3bc9 textproc/detex/patches/patch-ab
--- a/textproc/detex/patches/patch-ab   Thu Nov 01 16:48:12 2012 +0000
+++ b/textproc/detex/patches/patch-ab   Thu Nov 01 19:26:14 2012 +0000
@@ -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 @@
  
  #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 @@
  #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;



Home | Main Index | Thread Index | Old Index