| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/www/onlyoffice-documentserver/files/ |
Upload File : |
--- core/DesktopEditor/xml/libxml2/trionan.c.orig 2021-09-30 12:13:32 UTC
+++ core/DesktopEditor/xml/libxml2/trionan.c
@@ -51,7 +51,7 @@
# include <signal.h>
#endif
#if defined(TRIO_COMPILER_DECC)
-# if defined(__linux__)
+# if defined(__linux__) || defined(__FreeBSD__)
# include <cpml.h>
# else
# include <fp_class.h>
@@ -85,7 +85,7 @@
# error "Must be compiled with option -ieee"
# endif
# endif
-# elif defined(TRIO_COMPILER_GCC) && (defined(__osf__) || defined(__linux__))
+# elif defined(TRIO_COMPILER_GCC) && (defined(__osf__) || defined(__linux__)) || defined(__FreeBSD__)
# error "Must be compiled with option -mieee"
# endif
#endif /* __alpha && ! _IEEE_FP */
@@ -443,7 +443,7 @@ trio_isinf
TRIO_ARGS1((number),
double number)
{
-#if defined(TRIO_COMPILER_DECC) && !defined(__linux__)
+#if defined(TRIO_COMPILER_DECC) && !defined(__linux__) && !defined(__FreeBSD__)
/*
* DECC has an isinf() macro, but it works differently than that
* of C99, so we use the fp_class() function instead.