openbsd-ports/graphics/tesseract/patches/patch-ccutil_debugwin_cpp
jasper 7c09bf2f16 - fix patch names, no binary change
- regen others while here
2011-07-08 11:25:47 +00:00

15 lines
726 B
Plaintext

$OpenBSD: patch-ccutil_debugwin_cpp,v 1.4 2011/07/08 11:25:47 jasper Exp $
--- ccutil/debugwin.cpp.orig Wed Aug 4 02:35:09 2010
+++ ccutil/debugwin.cpp Fri Jul 8 13:23:50 2011
@@ -238,8 +238,8 @@ 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 "
- INT32FORMAT "x" INT32FORMAT "", buflines, xsize / 8, ysize / 16);
+ "${X11BASE}/xterm -sb -sl " INT32FORMAT " -geometry "
+ INT32FORMAT "x" INT32FORMAT "", buflines, xsize / 8, ysize / 16);
if (xpos >= 0)
command[length++] = '+';
length += sprintf (command + length, INT32FORMAT, xpos);