diff options
author | Mikael Urankar <mikael@FreeBSD.org> | 2020-12-04 18:17:32 +0000 |
---|---|---|
committer | Mikael Urankar <mikael@FreeBSD.org> | 2020-12-04 18:17:32 +0000 |
commit | ecbb96a53302f3f796b6f5b873b1c63f122c4d31 (patch) | |
tree | 431ff6fe6c11bdacbc5ea40ddfacd68170d1f7a6 /math/gfan/files/patch-src_symmetriccomplex.cpp | |
parent | net-mgmt/zabbix52-agent: Add support for Modbus items (diff) |
math/gfan: pass maintainership
o Update URL in MASTER_SITES to current address
o Update MAINTAINER
o Remove post-patch target as it is not needed
- Use LDFLAGS instead of the non-standard variable
ADDITIONALLINKOPTIONS.
- Replace "${REINPLACE_CMD} 's,log2,gfan_log2,g'" by appropriate
patch files as the command triggers multiple warnings. log2 is
a macro defined in src/log.h. The name of this macro is in
conflict with the function log2 from math.h. To avoid errors
when compiling the code, the above renaming is necessary.
Furthermore, PHB 4.4.3 strongly suggests using patch files
instead of REINPLACE_CMD for static content.
o Sort pkg-plist alphabetically as required by PHB 3.2.2
o Shorten pkg-descr and make it less technical
PR: 250879
Submitted by: Moritz Schmitt (maintainer)
Notes
Notes:
svn path=/head/; revision=556996
Diffstat (limited to 'math/gfan/files/patch-src_symmetriccomplex.cpp')
-rw-r--r-- | math/gfan/files/patch-src_symmetriccomplex.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/math/gfan/files/patch-src_symmetriccomplex.cpp b/math/gfan/files/patch-src_symmetriccomplex.cpp new file mode 100644 index 000000000000..33c9971f48f9 --- /dev/null +++ b/math/gfan/files/patch-src_symmetriccomplex.cpp @@ -0,0 +1,11 @@ +--- src/symmetriccomplex.cpp.orig 2017-06-20 14:47:37 UTC ++++ src/symmetriccomplex.cpp +@@ -509,7 +509,7 @@ bool SymmetricComplex::isPure()const + int dim=-1; + for(ConeContainer::const_iterator i=cones.begin();i!=cones.end();i++) + { +- log2{static int a;if(!((a++)&63))fprintf(Stderr,"%i\n",a);}//log0 ++ gfan_log2{static int a;if(!((a++)&63))fprintf(Stderr,"%i\n",a);}//log0 + if(isMaximal(*i)) + { + int dim2=i->dimension; |