summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2007-11-09 18:25:21 +0000
committerKeri Harris <keri@gentoo.org>2007-11-09 18:25:21 +0000
commitd61e6be9f1bce529d2ccbfaa83a7e474280d7492 (patch)
treed89a2d2879f7ade0d77f9943622562378e3de1a7 /dev-lang
parentVersion bump. (diff)
downloadgentoo-2-d61e6be9f1bce529d2ccbfaa83a7e474280d7492.tar.gz
gentoo-2-d61e6be9f1bce529d2ccbfaa83a7e474280d7492.tar.bz2
gentoo-2-d61e6be9f1bce529d2ccbfaa83a7e474280d7492.zip
Add DCG \ operator
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/tuprolog/ChangeLog6
-rw-r--r--dev-lang/tuprolog/files/tuprolog-2.1-DCGLibrary.patch12
-rw-r--r--dev-lang/tuprolog/tuprolog-2.1.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/dev-lang/tuprolog/ChangeLog b/dev-lang/tuprolog/ChangeLog
index 792b07d8dc20..009b8bc90dcb 100644
--- a/dev-lang/tuprolog/ChangeLog
+++ b/dev-lang/tuprolog/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for dev-lang/tuprolog
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.23 2007/08/11 17:10:36 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/ChangeLog,v 1.24 2007/11/09 18:25:20 keri Exp $
+
+ 09 Nov 2007; keri <keri@gentoo.org> +files/tuprolog-2.1-DCGLibrary.patch,
+ tuprolog-2.1.ebuild:
+ Add DCG \ operator
11 Aug 2007; Steve Dibb <beandog@gentoo.org> tuprolog-2.1.ebuild:
amd64 stable, bug 186260
diff --git a/dev-lang/tuprolog/files/tuprolog-2.1-DCGLibrary.patch b/dev-lang/tuprolog/files/tuprolog-2.1-DCGLibrary.patch
new file mode 100644
index 000000000000..740d2471b456
--- /dev/null
+++ b/dev-lang/tuprolog/files/tuprolog-2.1-DCGLibrary.patch
@@ -0,0 +1,12 @@
+--- src.orig/alice/tuprolog/lib/DCGLibrary.java 2007-11-10 07:00:33.000000000 +1300
++++ src/alice/tuprolog/lib/DCGLibrary.java 2007-11-10 07:03:21.000000000 +1300
+@@ -36,7 +36,8 @@
+ //
+ // operators defined by the BasicLibrary theory
+ //
+- ":- op( 1200, xfx, '-->'). \n"+
++ ":- op(1200, xfx, '-->'). \n" +
++ ":- op(200, xfx, '\\'). \n" +
+ "dcg_nonterminal(X) :- list(X),!,fail. \n"+
+ "dcg_nonterminal(_). \n"+
+ "dcg_terminals(Xs) :- list(Xs). \n"+
diff --git a/dev-lang/tuprolog/tuprolog-2.1.ebuild b/dev-lang/tuprolog/tuprolog-2.1.ebuild
index 46aac11a6901..58a4abe81341 100644
--- a/dev-lang/tuprolog/tuprolog-2.1.ebuild
+++ b/dev-lang/tuprolog/tuprolog-2.1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.1.ebuild,v 1.7 2007/08/11 17:10:36 beandog Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/tuprolog/tuprolog-2.1.ebuild,v 1.8 2007/11/09 18:25:20 keri Exp $
inherit eutils java-pkg-2 java-ant-2
@@ -29,6 +29,7 @@ src_unpack() {
epatch "${FILESDIR}"/${P}-java1.4.patch
epatch "${FILESDIR}"/${P}-javadocs.patch
epatch "${FILESDIR}"/${P}-junit.patch
+ epatch "${FILESDIR}"/${P}-DCGLibrary.patch
cd "${S}"
cp "${FILESDIR}"/build.xml "${S}"