summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2006-12-01 19:56:28 +0000
committerKeri Harris <keri@gentoo.org>2006-12-01 19:56:28 +0000
commit5d5195b22760b4e19aa035b03bf9a11bde0c3607 (patch)
treee7fbf2172ace34c7fba18ec9368ece234ed42e7b /dev-lang
parentMake support for hidden visibility explicit. (diff)
downloadgentoo-2-5d5195b22760b4e19aa035b03bf9a11bde0c3607.tar.gz
gentoo-2-5d5195b22760b4e19aa035b03bf9a11bde0c3607.tar.bz2
gentoo-2-5d5195b22760b4e19aa035b03bf9a11bde0c3607.zip
Use current_prolog_flag(threads,true) when determining multithreaded prolog engine.
(Portage version: 2.1.2_rc1-r7)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/swi-prolog/ChangeLog6
-rw-r--r--dev-lang/swi-prolog/files/swi-prolog-thread-tests.patch8
2 files changed, 9 insertions, 5 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog
index dbb1228bf901..f21e8fed739b 100644
--- a/dev-lang/swi-prolog/ChangeLog
+++ b/dev-lang/swi-prolog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/swi-prolog
# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.53 2006/11/29 09:01:13 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.54 2006/12/01 19:56:28 keri Exp $
+
+ 01 Dec 2006; keri <keri@gentoo.org> files/swi-prolog-thread-tests.patch:
+ Use current_prolog_flag(threads,true) when determining multithreaded prolog
+ engine.
*swi-prolog-5.6.24 (29 Nov 2006)
diff --git a/dev-lang/swi-prolog/files/swi-prolog-thread-tests.patch b/dev-lang/swi-prolog/files/swi-prolog-thread-tests.patch
index 150b10e95bfb..cac192faf4ac 100644
--- a/dev-lang/swi-prolog/files/swi-prolog-thread-tests.patch
+++ b/dev-lang/swi-prolog/files/swi-prolog-thread-tests.patch
@@ -4,7 +4,7 @@
client/1 % +Address
]).
-+:- ( current_prolog_flag(system_thread_id, _)
++:- ( current_prolog_flag(threads, true)
+ -> true
+ ; format('Disabling tcp_test on single-threaded engine~n~n', []),
+ halt
@@ -20,7 +20,7 @@
test/2
]).
+
-+:- ( current_prolog_flag(system_thread_id, _)
++:- ( current_prolog_flag(threads, true)
+ -> true
+ ; format('Disabling literal map test on single-threaded engine~n~n', []),
+ halt
@@ -35,7 +35,7 @@
Copyright (C) 1996 University of Amsterdam. All rights reserved.
*/
-+:- ( current_prolog_flag(system_thread_id, _)
++:- ( current_prolog_flag(threads, true)
+ -> true
+ ; format('Disabling RDF_DB test suite on single-threaded engine~n~n', []),
+ halt
@@ -50,7 +50,7 @@
the GNU General Public License.
*/
-+:- ( current_prolog_flag(system_thread_id, _)
++:- ( current_prolog_flag(threads, true)
+ -> true
+ ; format('Disabling SSL test on single-threaded engine~n~n', []),
+ halt