aboutsummaryrefslogtreecommitdiffstats
path: root/deskutils
diff options
context:
space:
mode:
authormat <mat@FreeBSD.org>2014-03-26 00:27:25 +0800
committermat <mat@FreeBSD.org>2014-03-26 00:27:25 +0800
commit67f6ff0cff8b3e3c6a9fc1b7806d48c800a2e12f (patch)
tree7d75a300e387d40c66c9e7f904c717b28c81ac0e /deskutils
parente40101a7e4919b256bb8f086b99e5baf5d4cf78a (diff)
downloadfreebsd-ports-gnome-67f6ff0cff8b3e3c6a9fc1b7806d48c800a2e12f.tar.gz
freebsd-ports-gnome-67f6ff0cff8b3e3c6a9fc1b7806d48c800a2e12f.tar.zst
freebsd-ports-gnome-67f6ff0cff8b3e3c6a9fc1b7806d48c800a2e12f.zip
Add a patch to have mirall not segfault on startup.
Submitted by: Tobias Berner Sponsored by: Absolight
Diffstat (limited to 'deskutils')
-rw-r--r--deskutils/mirall/Makefile1
-rw-r--r--deskutils/mirall/files/patch-src__mirall__application.cpp11
2 files changed, 12 insertions, 0 deletions
diff --git a/deskutils/mirall/Makefile b/deskutils/mirall/Makefile
index 2ffe0bba9cd8..21e93bce9be2 100644
--- a/deskutils/mirall/Makefile
+++ b/deskutils/mirall/Makefile
@@ -3,6 +3,7 @@
PORTNAME= mirall
PORTVERSION= 1.5.3
+PORTREVISION= 1
CATEGORIES= deskutils
MASTER_SITES= http://download.owncloud.com/desktop/stable/
diff --git a/deskutils/mirall/files/patch-src__mirall__application.cpp b/deskutils/mirall/files/patch-src__mirall__application.cpp
new file mode 100644
index 000000000000..d82f52c980de
--- /dev/null
+++ b/deskutils/mirall/files/patch-src__mirall__application.cpp
@@ -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