summaryrefslogtreecommitdiff
path: root/math/cocoalib/files/extra-patch-include-CoCoA_config.H
diff options
context:
space:
mode:
authorLorenzo Salvadore <salvadore@FreeBSD.org>2020-06-11 20:22:23 +0000
committerLorenzo Salvadore <salvadore@FreeBSD.org>2020-06-11 20:22:23 +0000
commit0b69618b648a5f56a59f6a26900819169e945fa2 (patch)
tree934a53cd96d8dd36e2a74585301e1674aab9bcd6 /math/cocoalib/files/extra-patch-include-CoCoA_config.H
parentFix format (diff)
math/cocoalib: Update to 0.99710
Also: - build the port by patching existing Makefiles instead of copying a new one from ${FILESDIR} in the hope that this eases maintainance; - change the SMALLDEG option so that it now applies a patch conditionally instead of using ${REINPLACE_CMD}. Approved by: gerald (mentor) Differential Revision: https://reviews.freebsd.org/D25234
Notes
Notes: svn path=/head/; revision=538535
Diffstat (limited to 'math/cocoalib/files/extra-patch-include-CoCoA_config.H')
-rw-r--r--math/cocoalib/files/extra-patch-include-CoCoA_config.H11
1 files changed, 11 insertions, 0 deletions
diff --git a/math/cocoalib/files/extra-patch-include-CoCoA_config.H b/math/cocoalib/files/extra-patch-include-CoCoA_config.H
new file mode 100644
index 000000000000..b15f13fc0911
--- /dev/null
+++ b/math/cocoalib/files/extra-patch-include-CoCoA_config.H
@@ -0,0 +1,11 @@
+--- include/CoCoA/config.H.orig 2020-06-09 22:18:10 UTC
++++ include/CoCoA/config.H
+@@ -25,7 +25,7 @@ namespace CoCoA
+ // This is the type used internally for "small" exponents in some PPMonoids
+ // (PPMonoidEv, PPMonoidEvOv). Also implies the number of bits used for a
+ // "compressed entry" in an order vector (see OrdvArith).
+- typedef unsigned int SmallExponent_t;
++ typedef unsigned short SmallExponent_t;
+
+ // **ROUNDING**
+ // The way CoCoALib rounds halves is determined by the fns RoundDiv in