mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-16 07:58:04 +00:00
Fix a breakage introduced by r553237:
Use polisirreducible() instead of isirreducible() Obtained from: upstream (7bf4211)
This commit is contained in:
parent
7f78b89b92
commit
bfa76d6d9c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=553498
@ -3,7 +3,7 @@
|
||||
|
||||
PORTNAME= cypari2
|
||||
DISTVERSION= 2.1.1
|
||||
PORTREVISION= 1
|
||||
PORTREVISION= 2
|
||||
CATEGORIES= math python
|
||||
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
|
||||
|
||||
|
11
math/py-cypari2/files/patch-cypari2_gen.pyx
Normal file
11
math/py-cypari2/files/patch-cypari2_gen.pyx
Normal file
@ -0,0 +1,11 @@
|
||||
--- cypari2/gen.pyx.orig 2019-04-23 10:57:51 UTC
|
||||
+++ cypari2/gen.pyx
|
||||
@@ -4109,7 +4109,7 @@ cdef class Gen(Gen_base):
|
||||
non-constant polynomial, or False if f is reducible or constant.
|
||||
"""
|
||||
sig_on()
|
||||
- t = isirreducible(self.g)
|
||||
+ t = polisirreducible(self.g)
|
||||
clear_stack()
|
||||
return t != 0
|
||||
|
11
math/py-cypari2/files/patch-cypari2_paridecl.pxd
Normal file
11
math/py-cypari2/files/patch-cypari2_paridecl.pxd
Normal file
@ -0,0 +1,11 @@
|
||||
--- cypari2/paridecl.pxd.orig 2019-04-23 10:57:51 UTC
|
||||
+++ cypari2/paridecl.pxd
|
||||
@@ -3850,7 +3850,7 @@ cdef extern from *: # PARI headers already include
|
||||
GEN glcm0(GEN x, GEN y)
|
||||
GEN gp_factor0(GEN x, GEN flag)
|
||||
GEN idealfactorback(GEN nf, GEN L, GEN e, int red)
|
||||
- long isirreducible(GEN x)
|
||||
+ long polisirreducible "isirreducible"(GEN x)
|
||||
GEN newtonpoly(GEN x, GEN p)
|
||||
GEN nffactorback(GEN nf, GEN L, GEN e)
|
||||
GEN nfrootsQ(GEN x)
|
Loading…
Reference in New Issue
Block a user