The following commit has been merged in the master branch:
commit 20064a3e5011a623fe1d259c2edb65724e7348b5
Author: Giovanni Mascellani <mascell...@poisson.phc.unipi.it>
Date:   Wed Nov 23 08:58:05 2011 +0100

    Add patch for a changed API in JAS.

diff --git a/debian/patches/series b/debian/patches/series
new file mode 100644
index 0000000..451ed48
--- /dev/null
+++ b/debian/patches/series
@@ -0,0 +1 @@
+variableList
diff --git a/debian/patches/variableList b/debian/patches/variableList
new file mode 100644
index 0000000..ce18dce
--- /dev/null
+++ b/debian/patches/variableList
@@ -0,0 +1,68 @@
+Index: mathpiper/src/org/mathpiper/builtin/library/jas/JFactorsPolyInt.java
+===================================================================
+--- mathpiper.orig/src/org/mathpiper/builtin/library/jas/JFactorsPolyInt.java  
2011-11-23 08:53:56.000000000 +0100
++++ mathpiper/src/org/mathpiper/builtin/library/jas/JFactorsPolyInt.java       
2011-11-23 08:57:29.000000000 +0100
+@@ -19,7 +19,6 @@
+ import edu.jas.poly.GenPolynomial;
+ import edu.jas.poly.GenPolynomialRing;
+ import edu.jas.poly.TermOrder;
+-import edu.jas.util.StringUtil;
+ 
+ //------------------------------------------------------------------------
+ 
+Index: mathpiper/src/org/mathpiper/builtin/library/jas/JasAccess.java
+===================================================================
+--- mathpiper.orig/src/org/mathpiper/builtin/library/jas/JasAccess.java        
2011-11-23 08:53:56.000000000 +0100
++++ mathpiper/src/org/mathpiper/builtin/library/jas/JasAccess.java     
2011-11-23 08:57:05.000000000 +0100
+@@ -20,7 +20,7 @@
+ import edu.jas.poly.GenPolynomial;
+ import edu.jas.poly.GenPolynomialRing;
+ import edu.jas.poly.TermOrder;
+-import edu.jas.util.StringUtil;
++import edu.jas.poly.GenPolynomialTokenizer;
+ 
+ //-----------------------------------------------
+ public class JasAccess {
+@@ -49,7 +49,7 @@
+         }
+ 
+         //  convert string of variable names to array of strings as required
+-        String[] jvars = StringUtil.variableList(vars);
++        String[] jvars = GenPolynomialTokenizer.variableList(vars);
+         int nvars = jvars.length;
+         if (debug) {
+             System.out.print("\n number of variables: ");
+Index: mathpiper/src/org/mathpiper/builtin/library/jas/JasAccess2.java
+===================================================================
+--- mathpiper.orig/src/org/mathpiper/builtin/library/jas/JasAccess2.java       
2011-11-23 08:53:56.000000000 +0100
++++ mathpiper/src/org/mathpiper/builtin/library/jas/JasAccess2.java    
2011-11-23 08:57:05.000000000 +0100
+@@ -21,7 +21,7 @@
+ import edu.jas.poly.GenPolynomial;
+ import edu.jas.poly.GenPolynomialRing;
+ import edu.jas.poly.TermOrder;
+-import edu.jas.util.StringUtil;
++import edu.jas.poly.GenPolynomialTokenizer;
+ 
+ //-----------------------------------------------
+ public class JasAccess2 {
+@@ -52,7 +52,7 @@
+         }
+ 
+         //  convert string of variable names to array of strings as required
+-        String[] jvars = StringUtil.variableList(vars);
++        String[] jvars = GenPolynomialTokenizer.variableList(vars);
+         int nvars = jvars.length;
+         if (debug) {
+             System.out.print("\n number of variables: ");
+Index: mathpiper/src/org/mathpiper/builtin/library/jas/JasPolynomial.java
+===================================================================
+--- mathpiper.orig/src/org/mathpiper/builtin/library/jas/JasPolynomial.java    
2011-11-23 08:53:56.000000000 +0100
++++ mathpiper/src/org/mathpiper/builtin/library/jas/JasPolynomial.java 
2011-11-23 08:57:22.000000000 +0100
+@@ -23,7 +23,6 @@
+ import edu.jas.poly.GenPolynomial;
+ import edu.jas.poly.GenPolynomialRing;
+ import edu.jas.poly.TermOrder;
+-import edu.jas.util.StringUtil;
+ 
+ //------------------------------------------------------------------------
+ 

-- 
Mathpiper: a Java Computer Algebra System

_______________________________________________
pkg-java-commits mailing list
pkg-java-comm...@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-java-commits

Reply via email to