403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.89
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/mprime/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/math/mprime/files/patch-commonc.c
--- commonc.c.orig	2019-04-11 22:46:50 UTC
+++ commonc.c
@@ -386,6 +386,8 @@ void getCpuInfo (void)
 	CPU_L2_CACHE_INCLUSIVE = -1;
 	CPU_L3_CACHE_INCLUSIVE = -1;
 	CPU_L4_CACHE_INCLUSIVE = -1;
+
+#if HWLOC_API_VERSION >= 0x00020000
 	for (depth = 0; depth < hwloc_topology_get_depth (hwloc_topology); depth++) {
 		for (i = 0; i < (int) hwloc_get_nbobjs_by_depth (hwloc_topology, depth); i++) {
 			hwloc_obj_t obj;
@@ -423,6 +425,7 @@ void getCpuInfo (void)
 			}
 		}
 	}
+#endif
 
 /* Overwrite the cache info calculated via CPUID as hwloc's info is more detailed and I believe more reliable. */
 /* We are transitioning away from using the cache size global variables computed by the CPUID code. */

Youez - 2016 - github.com/yon3zu
LinuXploit