Package: librhino-java
Version: 1.7R3-4
Severity: normal
Tags: patch

Hi.

Geogebra uses Context.getSourcePositionFromStack() from librhino-java.
Please, apply the attached patch to make that method public, otherwise
geogebra FTBFS (that's why the bug is normal and not wishlist).

If this is not acceptable for you, I'll have to somewhat circumvent this
problem in Geogebra. I really hope to avoid this. :-)

Thanks, Giovanni.
-- 
Giovanni Mascellani <mascell...@poisson.phc.unipi.it>
Pisa, Italy

Web: http://poisson.phc.unipi.it/~mascellani
Jabber: g.mascell...@jabber.org / giova...@elabor.homelinux.org
diff -Nru rhino-1.7R3/debian/changelog rhino-1.7R3/debian/changelog
--- rhino-1.7R3/debian/changelog	2011-11-24 19:51:08.000000000 +0100
+++ rhino-1.7R3/debian/changelog	2011-12-18 11:41:39.000000000 +0100
@@ -1,3 +1,10 @@
+rhino (1.7R3-4.1) unstable; urgency=low
+
+  * Non-maintainer upload.
+  * Making getSourcePositionFromStack public (used by geogebra).
+
+ -- Giovanni Mascellani <g...@debian.org>  Sun, 18 Dec 2011 11:41:15 +0100
+
 rhino (1.7R3-4) unstable; urgency=low
 
   * Add OSGi metadata to jar manifest
diff -Nru rhino-1.7R3/debian/patches/public_getSourcePositionFromStack rhino-1.7R3/debian/patches/public_getSourcePositionFromStack
--- rhino-1.7R3/debian/patches/public_getSourcePositionFromStack	1970-01-01 01:00:00.000000000 +0100
+++ rhino-1.7R3/debian/patches/public_getSourcePositionFromStack	2011-12-18 11:46:08.000000000 +0100
@@ -0,0 +1,20 @@
+From: Giovanni Mascellani <g...@debian.org>
+Subject: Make getSourcePositionFromStack() pulic
+Forwarded: no
+Last-Update: 2011-12-08
+
+This is needed by package geogebra.
+
+Index: rhino-1.7R3/src/org/mozilla/javascript/Context.java
+===================================================================
+--- rhino-1.7R3.orig/src/org/mozilla/javascript/Context.java	2011-12-18 11:43:21.000000000 +0100
++++ rhino-1.7R3/src/org/mozilla/javascript/Context.java	2011-12-18 11:43:57.000000000 +0100
+@@ -2481,7 +2481,7 @@
+         return (Evaluator)Kit.newInstanceOrNull(interpreterClass);
+     }
+ 
+-    static String getSourcePositionFromStack(int[] linep)
++    public static String getSourcePositionFromStack(int[] linep)
+     {
+         Context cx = getCurrentContext();
+         if (cx == null)
diff -Nru rhino-1.7R3/debian/patches/series rhino-1.7R3/debian/patches/series
--- rhino-1.7R3/debian/patches/series	2009-07-17 16:01:37.000000000 +0200
+++ rhino-1.7R3/debian/patches/series	2011-12-18 11:43:49.000000000 +0100
@@ -1,2 +1,3 @@
 01_rhino-nowarn.patch
 02_exclude-jdk15.patch
+public_getSourcePositionFromStack

Attachment: signature.asc
Description: OpenPGP digital signature

__
This is the maintainer address of Debian's Java team
<http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-maintainers>. 
Please use
debian-j...@lists.debian.org for discussions and questions.

Reply via email to