openbsd-ports/graphics/tesseract/patches/patch-ccutil_debugwin_cpp
ajacoutot b9094d6b19 Update to tesseract-2.04
Fixes more than 20 issues, including portability ones.

from Daniel Dickman, thanks!
2009-08-24 07:12:40 +00:00

13 lines
604 B
Plaintext

$OpenBSD: patch-ccutil_debugwin_cpp,v 1.2 2009/08/24 07:12:40 ajacoutot Exp $
--- ccutil/debugwin.cpp.orig Fri Nov 14 00:13:57 2008
+++ ccutil/debugwin.cpp Sun Aug 23 20:34:12 2009
@@ -231,7 +231,7 @@ DEBUG_WIN::DEBUG_WIN( //constructor
length += sprintf (command + length, "trap \"\" 1 2 3 13 15\n");
length +=
sprintf (command + length,
- "/usr/bin/xterm -sb -sl " INT32FORMAT " -geometry "
+ "${X11BASE}/xterm -sb -sl " INT32FORMAT " -geometry "
INT32FORMAT "x" INT32FORMAT "", buflines, xsize / 8, ysize / 16);
if (xpos >= 0)
command[length++] = '+';