ports/math/cocoalib/files/extra-patch-include-CoCoA_config.H
Lorenzo Salvadore 0b69618b64 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
2020-06-11 20:22:23 +00:00

11 lines
514 B
C

--- 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