[SCM] Package for Analyzing Lattice Polytopes branch, master, updated. upstream/2.1-21-gfb2b0fe

Julien Puydt julien.puydt at laposte.net
Wed Mar 27 07:30:24 UTC 2013


The following commit has been merged in the master branch:
commit efce75e6fb7fed40522a1844f09f5afa46c8c00d
Author: Julien Puydt <julien.puydt at laposte.net>
Date:   Tue Mar 26 23:56:35 2013 +0100

    Added the patch to make changing POLY_Dmax easier

diff --git a/debian/changelog b/debian/changelog
index 57dfa47..de9fb90 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -8,6 +8,7 @@ palp (2.1-1) unstable; urgency=low
   * Added manpages (obtained using help2man and manual work).
   * Patched away formatting warnings (forwarded upstream).
   * Use autotools to build the sources (forwarded upstream).
+  * Allow using -D to set POLY_Dmax (forwarded upstream).
 
  -- Julien Puydt <julien.puydt at laposte.net>  Mon, 13 Aug 2012 14:27:31 +0200
 
diff --git a/debian/patches/dim.patch b/debian/patches/dim.patch
new file mode 100644
index 0000000..1cd5990
--- /dev/null
+++ b/debian/patches/dim.patch
@@ -0,0 +1,19 @@
+Description: makes POLY_Dmax easy to change without patching the source more
+ This way, compiling palp with various POLY_Dmax is as easy
+ as using -D POLY_Dmax=<value> in the C flags.
+Forwarded: by mail to Harald Skalke (Tue, 26 Mar 2013)
+Author: Julien Puydt <julien.puydt at laposte.net>
+
+--- a/Global.h	2012-06-07 14:03:31.000000000 +0200
++++ b/Global.h	2013-03-26 22:52:35.000000000 +0100
+@@ -19,7 +19,10 @@
+ necessary to set even Long to 64 bits.
+ */
+ 
++#ifndef POLY_Dmax
+ #define   		POLY_Dmax	6	/* max dim of polytope	    */
++#endif
++
+ /*
+ POLY_Dmax should be set to the dimension of the polytopes that are analysed.
+ While the programs still work if POLY_Dmax is set to a higher value, they may
diff --git a/debian/patches/series b/debian/patches/series
index ed3ffd5..f3f2c91 100644
--- a/debian/patches/series
+++ b/debian/patches/series
@@ -1 +1,2 @@
 fix-format-errors.patch
+dim.patch

-- 
Package for Analyzing Lattice Polytopes



More information about the debian-science-commits mailing list