pkgsrc/textproc/dict-dictionaries/patches/patch-ad
shannonjr 5dc2891618 Re: PR 25725 Syntax errors prevent compilation of with gcc 3.4.0
The patch-ac corrects four instances of printf being called with an
uncompilable argument list; the patch follows a recommendation from
Christian Biere <christianbiere@gmx.de>.
The patch-ad corrects a situation where a label at end of block prevents
compilation; the fix adds a null statement as the label's target.
2004-06-01 15:36:50 +00:00

12 lines
319 B
Text

$NetBSD: patch-ad,v 1.1 2004/06/01 15:36:50 shannonjr Exp $
--- ./dict-misc-1.5/dictfmt.c.orig 1998-07-05 19:33:40.000000000 -0600
+++ ./dict-misc-1.5/dictfmt.c
@@ -465,6 +465,7 @@ int main( int argc, char **argv )
fmt_string(buf);
fmt_newline();
skip:
+ ;
}
fmt_newheadword(NULL,0);