Gentoo Archives: gentoo-commits

From: "Petteri Raty (betelgeuse)" <betelgeuse@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in dev-java/jibx-tools/files: 1.1.5-build.patch
Date: Thu, 21 Feb 2008 23:17:36
Message-Id: E1JSKfV-0004xm-Jf@stork.gentoo.org
1 betelgeuse 08/02/21 23:17:33
2
3 Added: 1.1.5-build.patch
4 Log:
5 Version bump. Fixes bug #210813. Thanks to Alex V. Fansky <damwihu@×××××.com> for the patch enabling it to build.
6 (Portage version: 2.1.4.4)
7
8 Revision Changes Path
9 1.1 dev-java/jibx-tools/files/1.1.5-build.patch
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jibx-tools/files/1.1.5-build.patch?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-java/jibx-tools/files/1.1.5-build.patch?rev=1.1&content-type=text/plain
13
14 Index: 1.1.5-build.patch
15 ===================================================================
16 diff -urN ./build/src/org/jibx/binding/SchemaGenerator.java ../jibx/build/src/org/jibx/binding/SchemaGenerator.java
17 --- ./build/src/org/jibx/binding/SchemaGenerator.java 2007-05-23 21:31:14.000000000 +0300
18 +++ ../jibx/build/src/org/jibx/binding/SchemaGenerator.java 2008-02-21 23:14:06.000000000 +0200
19 @@ -178,7 +178,7 @@
20 m_classLocator = new IClassLocator() {
21 public IClass getClassInfo(String name) {
22 try {
23 - return new ClassWrapper(ClassCache.getClassFile(name));
24 + return new ClassWrapper(m_classLocator, ClassCache.getClassFile(name));
25 } catch (JiBXException e) {
26 throw new IllegalStateException("Class not found " + name);
27 }
28 @@ -382,7 +382,7 @@
29
30 // check for reference to a mapped class
31 StructureElement structure = (StructureElement)comp;
32 - TemplateElementBase templ = structure.getMapAsMapping();
33 + TemplateElementBase templ = structure.getEffectiveMapping();
34 if (! (templ instanceof MappingElement)) {
35
36 // unknown content, leave it to user to fill in details
37
38
39
40 --
41 gentoo-commits@l.g.o mailing list