diff options
author | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2018-06-15 11:03:29 +0000 |
---|---|---|
committer | Carlos J. Puga Medina <cpm@FreeBSD.org> | 2018-06-15 11:03:29 +0000 |
commit | ecf5be1635860a3f03c31ec3aa5667c16e91aa3c (patch) | |
tree | a954d3cb8b4bccc866752a3149f5522caaec26b8 /math/asymptote/files | |
parent | - Update to 0.2.20 (diff) |
math/asymptote: Udpate to 2.44
- Register the missing dependencies for USE_GL
- Add BDWGC (enable Boehm-Demers-Weiser garbage collector) option. At the moment, it is disabled by default to fix build on CURRENT and avoid breaking the interactive mode on 10.4
- Add USES=compiler:c++14-lang to fix segfault with 3D examples
- Use readline from ports
- Sort Makefile and cosmetic fixes
- Silence a explictly called command
Changelog: http://asymptote.sourceforge.net/ChangeLog
PR: 228667
Submitted by: cpm
Approved by: nivit (maintainer timeout, 2 weeks)
MFH: 2018Q2
Notes
Notes:
svn path=/head/; revision=472440
Diffstat (limited to 'math/asymptote/files')
-rw-r--r-- | math/asymptote/files/patch-runtime.in | 11 | ||||
-rw-r--r-- | math/asymptote/files/patch-xstream.h | 23 |
2 files changed, 34 insertions, 0 deletions
diff --git a/math/asymptote/files/patch-runtime.in b/math/asymptote/files/patch-runtime.in new file mode 100644 index 000000000000..cc77688859b0 --- /dev/null +++ b/math/asymptote/files/patch-runtime.in @@ -0,0 +1,11 @@ +--- runtime.in.orig 2018-06-03 13:52:26 UTC ++++ runtime.in +@@ -85,7 +85,7 @@ stringarray2* => stringArray2() + #include "process.h" + #include "arrayop.h" + +-#ifdef __APPLE__ ++#if defined(__APPLE__) || defined(__FreeBSD__) + extern "C" int isnan(double); + #endif + diff --git a/math/asymptote/files/patch-xstream.h b/math/asymptote/files/patch-xstream.h new file mode 100644 index 000000000000..fb97b38e644d --- /dev/null +++ b/math/asymptote/files/patch-xstream.h @@ -0,0 +1,23 @@ +--- xstream.h.orig 2018-06-10 15:14:47 UTC ++++ xstream.h +@@ -31,7 +31,7 @@ + #define quad_t long long + #define u_quad_t unsigned long long + +-#if defined(__CYGWIN__) || defined(__FreeBSD__) ++#if defined(__CYGWIN__) + #include <sys/select.h> + #define u_char unsigned char + #define u_int unsigned int +@@ -41,6 +41,11 @@ extern "C" int fseeko(FILE *, off_t, int + extern "C" off_t ftello(FILE *); + #endif + ++#ifdef __FreeBSD__ ++#define xdr_longlong_t xdr_int64_t ++#define xdr_u_longlong_t xdr_u_int64_t ++#endif ++ + #ifdef _POSIX_SOURCE + #undef _POSIX_SOURCE + #include <rpc/rpc.h> |