Add a patch to have mirall not segfault on startup.

Submitted by:	Tobias Berner
Sponsored by:	Absolight
This commit is contained in:
Mathieu Arnold 2014-03-25 16:27:25 +00:00
parent 1e3d758949
commit a64024d559
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=349156
2 changed files with 12 additions and 0 deletions

View file

@ -3,6 +3,7 @@
PORTNAME= mirall
PORTVERSION= 1.5.3
PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= http://download.owncloud.com/desktop/stable/

View file

@ -0,0 +1,11 @@
--- ./src/mirall/application.cpp.orig 2014-03-25 17:13:11.000000000 +0100
+++ ./src/mirall/application.cpp 2014-03-25 17:13:36.000000000 +0100
@@ -64,7 +64,7 @@
QString applicationTrPath()
{
-#ifdef Q_OS_LINUX
+#if defined(Q_OS_LINUX) || defined(Q_OS_FREEBSD)
return QString::fromLatin1(DATADIR"/"APPLICATION_EXECUTABLE"/i18n/");
#endif
#ifdef Q_OS_MAC