pkgsrc/lang/swi-prolog-lite/patches/patch-ah
2004-05-20 11:09:16 +00:00

14 lines
510 B
Text

$NetBSD: patch-ah,v 1.1.1.1 2004/05/20 11:09:17 hubertf Exp $
--- src/pl-xterm.c.orig Thu Apr 22 16:35:01 2004
+++ src/pl-xterm.c
@@ -27,7 +27,8 @@
#endif
#include "pl-incl.h"
-#if defined(HAVE_GRANTPT) && defined(O_PLMT)
+#if defined(HAVE_GRANTPT) && defined(O_PLMT) \
+ && !defined(__FreeBSD__) /* grantpt is borked on freebsd up to 5.2.1-rc */
/* - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
Open an alternative xterm-console. Used to support multi-threading