Files
ports/graphics/cloudcompare/files/patch-libs_CCAppCommon_src_ccApplicationBase.cpp
T
Älven 4725a14c96 graphics/cloudcompare: Update 2.12.4 => 2.13.2, take maintainership
* Add WWW for source code repository.
* Static tarball is available, but not used, as GH_TUPLE is needed
  for bundled external libraries and 3-rd party plugins.
* GL is needed for the main application, not for the plugins only.
* Build PLUGIN_IO_QPDAL unconditionally, just like other plugins.
* Supply *.desktop with *.png files from the previous version, as
  upstream doesn't ship them anymore. Fix post-install accordingly.
* Fix plugin path detection actually enabling plugins autoloading.
* Improve COMMENT and pkg-descr

Reviewed by:		arrowd@
Approved by:	    	db@, yuri@ (Mentors, implicit)
Differential Revision: 	https://reviews.freebsd.org/D55434
2026-02-22 19:44:26 +04:00

12 lines
550 B
C++

--- libs/CCAppCommon/src/ccApplicationBase.cpp.orig 2024-07-06 10:08:06 UTC
+++ libs/CCAppCommon/src/ccApplicationBase.cpp
@@ -213,7 +213,7 @@ void ccApplicationBase::setupPaths()
m_pluginPaths << (appDir.absolutePath() + "/plugins");
m_shaderPath = (appDir.absolutePath() + "/shaders");
m_translationPath = (appDir.absolutePath() + "/translations");
-#elif defined(Q_OS_LINUX)
+#elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
// Shaders & plugins are relative to the bin directory where the executable is found
QDir theDir = appDir;