pkgsrc/lang/p2c/patches/patch-out_c
dholland f25bee23a2 Assorted fixes:
- explain why we need post-extract chmods
 - sort PLIST
 - add patch comments
 - clean up some pkglint
 - fix a symbol name conflict with logf (from math.h + a gcc builtin)
 - fix some other bugs/issues found by gcc
 - add standard headers
 - remove some bogus BSD/System V include probing
 - probably fix gcc 4.5 build (not fully tested)
 - bump PKGREVISION
2011-12-18 16:54:08 +00:00

15 lines
531 B
Text

$NetBSD: patch-out_c,v 1.1 2011/12/18 16:54:09 dholland Exp $
- fix symbol conflict with logf (from math.h)
--- out.c~ 1991-04-24 20:30:39.000000000 +0000
+++ out.c
@@ -1136,7 +1136,7 @@ register char *msg;
" seconds, %ld tries on line %d [251]", alts, outf_lnum);
note(outbuf);
} else if (verbose) {
- fprintf(logf, "%s, %d/%d: Line breaker spent %ld tries\n",
+ fprintf(loggf, "%s, %d/%d: Line breaker spent %ld tries\n",
infname, inf_lnum, outf_lnum, alts);
}
if (testinglinebreaker)