mirror of
https://git.freebsd.org/ports.git
synced 2025-06-02 19:36:28 -04:00
- 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
23 lines
577 B
C
23 lines
577 B
C
--- 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>
|