summaryrefslogtreecommitdiff
path: root/lang/swi-prolog-lite/patches/patch-ah
blob: 37e0e8e54a6575054b2f9a7668264579898837eb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
$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