summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeri Harris <keri@gentoo.org>2007-01-02 05:54:01 +0000
committerKeri Harris <keri@gentoo.org>2007-01-02 05:54:01 +0000
commit61e81bd51b28634cc9a9eef33d79c73a0dfa7b38 (patch)
treeffbd6fe2d54b439a4a3aba4038b3017d089e217f /dev-lang
parentStable on x86, bug #151003. (diff)
downloadgentoo-2-61e81bd51b28634cc9a9eef33d79c73a0dfa7b38.tar.gz
gentoo-2-61e81bd51b28634cc9a9eef33d79c73a0dfa7b38.tar.bz2
gentoo-2-61e81bd51b28634cc9a9eef33d79c73a0dfa7b38.zip
Fix bitmatrix handling in semweb package.
(Portage version: 2.1.2_rc4-r2)
Diffstat (limited to 'dev-lang')
-rw-r--r--dev-lang/swi-prolog/ChangeLog6
-rw-r--r--dev-lang/swi-prolog/files/swi-prolog-semweb-bitmatrix.patch20
-rw-r--r--dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild3
3 files changed, 27 insertions, 2 deletions
diff --git a/dev-lang/swi-prolog/ChangeLog b/dev-lang/swi-prolog/ChangeLog
index aa1af0d1bbfe..4ffd973cadcb 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-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.56 2007/01/01 05:01:30 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/ChangeLog,v 1.57 2007/01/02 05:54:00 keri Exp $
+
+ 02 Jan 2007; keri <keri@gentoo.org>
+ +files/swi-prolog-semweb-bitmatrix.patch, swi-prolog-5.6.25.ebuild:
+ Fix bitmatrix handling in semweb package.
01 Jan 2007; keri <keri@gentoo.org>
+files/swi-prolog-ssl-SIO_FLUSHOUTPUT.patch, swi-prolog-5.6.25.ebuild:
diff --git a/dev-lang/swi-prolog/files/swi-prolog-semweb-bitmatrix.patch b/dev-lang/swi-prolog/files/swi-prolog-semweb-bitmatrix.patch
new file mode 100644
index 000000000000..7a489c3c8d0e
--- /dev/null
+++ b/dev-lang/swi-prolog/files/swi-prolog-semweb-bitmatrix.patch
@@ -0,0 +1,20 @@
+--- pl-5.6.25.orig/packages/semweb/rdf_db.c 2006-11-27 22:08:01.000000000 +1300
++++ pl-5.6.25/packages/semweb/rdf_db.c 2007-01-02 18:30:50.000000000 +1300
+@@ -1025,7 +1025,7 @@
+ int word = ij/WSIZE;
+ int bit = ij%WSIZE;
+
+- m->bits[word] |= 1<<(bit-1);
++ m->bits[word] |= 1<<bit;
+ }
+
+
+@@ -1035,7 +1035,7 @@
+ int word = ij/WSIZE;
+ int bit = ij%WSIZE;
+
+- return ((m->bits[word] & (1<<(bit-1))) != 0);
++ return ((m->bits[word] & (1<<bit)) != 0);
+ }
+
+
diff --git a/dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild b/dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild
index 4a617a5791e5..74f627c5112a 100644
--- a/dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild
+++ b/dev-lang/swi-prolog/swi-prolog-5.6.25.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/swi-prolog/swi-prolog-5.6.25.ebuild,v 1.2 2007/01/01 05:01:30 keri Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-lang/swi-prolog/swi-prolog-5.6.25.ebuild,v 1.3 2007/01/02 05:54:00 keri Exp $
inherit eutils
@@ -49,6 +49,7 @@ src_unpack() {
epatch "${FILESDIR}"/${PN}-jpl-junit.patch
epatch "${FILESDIR}"/${PN}-jpl-check_java.patch
epatch "${FILESDIR}"/${PN}-ltx2htm.patch
+ epatch "${FILESDIR}"/${PN}-semweb-bitmatrix.patch
epatch "${FILESDIR}"/${PN}-SGML_CATALOG_FILES.patch
epatch "${FILESDIR}"/${PN}-ssl-SIO_FLUSHOUTPUT.patch
epatch "${FILESDIR}"/${PN}-thread-tests.patch