1
0
Fork 0
mirror of https://git.freebsd.org/ports.git synced 2025-07-15 00:09:15 -04:00
ports/audio/tomahawk/files/patch-src_libtomahawk_utils_TomahawkUtils.cpp
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

20 lines
617 B
C++

--- src/libtomahawk/utils/TomahawkUtils.cpp.orig 2015-04-15 04:41:40 UTC
+++ src/libtomahawk/utils/TomahawkUtils.cpp
@@ -19,6 +19,8 @@
* along with Tomahawk. If not, see <http://www.gnu.org/licenses/>.
*/
+#include <unistd.h>
+
#include "utils/TomahawkUtils.h"
#include "config.h"
@@ -183,7 +185,7 @@ appDataDir()
}
#elif defined(Q_OS_MAC)
path = appSupportFolderPath();
- #elif defined(Q_OS_LINUX)
+ #elif defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
path = QDir::home().filePath( ".local/share" );
#else
path = QCoreApplication::applicationDirPath();