openbsd-ports/graphics/gocr/patches/patch-src_pgm2asc_c
ajacoutot 1931de4761 Update to gocr-0.48.
Use default Tk version and prefer SUBST_CMD over perl...

ok william@ (maintainer)
2009-08-12 15:23:56 +00:00

13 lines
553 B
Plaintext

$OpenBSD: patch-src_pgm2asc_c,v 1.3 2009/08/12 15:23:56 ajacoutot Exp $
--- src/pgm2asc.c.orig Mon Jul 27 14:53:43 2009
+++ src/pgm2asc.c Fri Aug 7 15:13:59 2009
@@ -1729,7 +1729,7 @@ int glue_broken_chars( pix *pp ){
}
} end_for_each(&(JOB->res.boxlist));
box4=box5; // next nearest box within the same line
- if (box4) {
+ if (box2 && box4) {
#if 0 /* set this to 1 for debugging of melting bugs */
if (JOB->cfg.verbose & 7) {
fprintf(stderr,"\n# next two boxes are candidates for melting ");