summaryrefslogtreecommitdiff
path: root/print/jcabc2ps
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2012-11-19 03:04:22 +0000
committerjoerg <joerg@pkgsrc.org>2012-11-19 03:04:22 +0000
commit16b3c6dabdafc681e3ca598b691fdee3534a1fc8 (patch)
treeb6f1bb62093608706606fbdde5005d0f059eef28 /print/jcabc2ps
parentdd4b4a6249b98d94e3d6711b631052be274e4e1a (diff)
downloadpkgsrc-16b3c6dabdafc681e3ca598b691fdee3534a1fc8.tar.gz
Use more void.
Diffstat (limited to 'print/jcabc2ps')
-rw-r--r--print/jcabc2ps/distinfo8
-rw-r--r--print/jcabc2ps/patches/patch-misc_c12
-rw-r--r--print/jcabc2ps/patches/patch-music_c13
-rw-r--r--print/jcabc2ps/patches/patch-parse_c22
4 files changed, 45 insertions, 10 deletions
diff --git a/print/jcabc2ps/distinfo b/print/jcabc2ps/distinfo
index 28a70041c45..4a4956afe41 100644
--- a/print/jcabc2ps/distinfo
+++ b/print/jcabc2ps/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.2 2011/10/03 06:45:30 dholland Exp $
+$NetBSD: distinfo,v 1.3 2012/11/19 03:04:22 joerg Exp $
SHA1 (jcabc2ps-src.tar.gz) = 6dbd9d00453c97ccf04cf707e6c4db88361c3bea
RMD160 (jcabc2ps-src.tar.gz) = e454dc1d787c9b5a833316f5edb5dff463e6daa4
@@ -13,9 +13,9 @@ SHA1 (patch-memBlock_c) = 714a5b2ab8c88185b2419f1fef9eb599a17ad209
SHA1 (patch-memBlock_h) = 1ad1ab3ccc79881571c4222657cdf7fdaefd6150
SHA1 (patch-minStrM_c) = d1f53802383cd1d265189dddd8142a374228ff91
SHA1 (patch-minStr_c) = a83d1aa0ed266323d62dd0ece7f6d207127001d4
-SHA1 (patch-misc_c) = 1e801d82c3e309be464bc95b771d1797273dc07d
-SHA1 (patch-music_c) = a4f74c6c73ec3183fee32aa59d474cbd927454e4
-SHA1 (patch-parse_c) = afdb7166bb7dade13057f67da6920677996a1e7b
+SHA1 (patch-misc_c) = 0ed52fe7ae9e683735e83675519e98f65b268480
+SHA1 (patch-music_c) = 9e3878e0d40fd68437a04a952d9865ada98e126e
+SHA1 (patch-parse_c) = c77ef8a1daf3882609193edc3d486c7b55aa8793
SHA1 (patch-playback_c) = f51e8c7edede77944c379127349c809e7c327ef3
SHA1 (patch-pssubs_c) = ec4fba07e85cb21f59d553c70518202ef1a1990d
SHA1 (patch-setStr_c) = 5446511f40c6dc5c9018ad39b637a4742600a548
diff --git a/print/jcabc2ps/patches/patch-misc_c b/print/jcabc2ps/patches/patch-misc_c
index 8f8805bfb69..dc78da0eef4 100644
--- a/print/jcabc2ps/patches/patch-misc_c
+++ b/print/jcabc2ps/patches/patch-misc_c
@@ -1,8 +1,8 @@
-$NetBSD: patch-misc_c,v 1.1 2011/10/03 06:45:31 dholland Exp $
+$NetBSD: patch-misc_c,v 1.2 2012/11/19 03:04:22 joerg Exp $
Use standard headers.
---- misc.c~ 2004-05-18 20:56:52.000000000 +0000
+--- misc.c.orig 2004-05-18 20:56:52.000000000 +0000
+++ misc.c
@@ -1,3 +1,6 @@
+#include <string.h>
@@ -11,3 +11,11 @@ Use standard headers.
#include "jcabc2ps.h"
#include "misc.h"
+@@ -37,6 +40,7 @@ int FindChunk(
+ * we find it, we use its old entry. We also complain if we are asked to make
+ * a dubious change of usage.
+ */
++void
+ NewChunk(
+ void *p, // Pointer to chunk
+ int s, // Size of chunk (bytes)
diff --git a/print/jcabc2ps/patches/patch-music_c b/print/jcabc2ps/patches/patch-music_c
index d7912c7b08d..b79cbe5faac 100644
--- a/print/jcabc2ps/patches/patch-music_c
+++ b/print/jcabc2ps/patches/patch-music_c
@@ -1,8 +1,8 @@
-$NetBSD: patch-music_c,v 1.1 2011/10/03 06:45:31 dholland Exp $
+$NetBSD: patch-music_c,v 1.2 2012/11/19 03:04:22 joerg Exp $
Use standard headers.
---- music.c~ 2011-10-03 06:44:38.000000000 +0000
+--- music.c.orig 2006-01-06 22:49:30.000000000 +0000
+++ music.c
@@ -5,6 +5,7 @@
*/
@@ -12,3 +12,12 @@ Use standard headers.
#include <ctype.h>
#include "jcabc2ps.h"
+@@ -5155,7 +5156,7 @@ void doLine(fp,type,xref_str,npat,pat,se
+ }
+ }
+
+-dummy() {return;}
++void dummy() {return;}
+
+ Str line = {0};
+
diff --git a/print/jcabc2ps/patches/patch-parse_c b/print/jcabc2ps/patches/patch-parse_c
index d7538a52dd8..7fde2d87b22 100644
--- a/print/jcabc2ps/patches/patch-parse_c
+++ b/print/jcabc2ps/patches/patch-parse_c
@@ -1,8 +1,8 @@
-$NetBSD: patch-parse_c,v 1.1 2011/10/03 06:45:31 dholland Exp $
+$NetBSD: patch-parse_c,v 1.2 2012/11/19 03:04:22 joerg Exp $
Declare functions before calling them.
---- parse.c~ 2006-01-06 22:46:33.000000000 +0000
+--- parse.c.orig 2006-01-06 22:46:33.000000000 +0000
+++ parse.c
@@ -13,6 +13,7 @@
#include "format.h"
@@ -12,3 +12,21 @@ Declare functions before calling them.
#include "parse.h"
+@@ -20,6 +21,7 @@ int syntaxErrors = 0; // Count the error
+ int errorLimit = 100; // Give up after this many errors
+
+ int middleadj (char note);
++void prsEnd(int k);
+
+ int ksigcancel = 0; // Flag controlling ksig-cancel code.
+ Ksig *lastks = 0; // For remembering Ksig struct
+@@ -2482,8 +2484,7 @@ char *repquot(k,p)
+ * Modified to accept any string of digits [jc 2000-04-22]
+ * Modified to accept quoted string [jc 2002-05-20]
+ */
+-prsEnd(k)
+- int k;
++void prsEnd(int k)
+ { char *F = "prsEnd";
+ char *q = P; // Remember starting point
+ int c=0, d=0, i;