Blame SOURCES/0003-Look-for-libsofficeapp.dylib-in-the-right-place-on-O.patch

135360
From 9eb31913cc9f35fb792bf8c8051f44ba11e16a5c Mon Sep 17 00:00:00 2001
135360
From: Tor Lillqvist <tml@collabora.com>
135360
Date: Sat, 23 May 2015 10:09:18 +0100
135360
Subject: [PATCH 003/398] Look for libsofficeapp.dylib in the right place on OS
135360
 X
135360
135360
Change-Id: Icef6b70081b15d4b8d99eb4ba7103f059e8d00e4
135360
(cherry picked from commit a1aa2cdaa7c467376c1f7824e2b6a83cb252a39a)
135360
---
135360
 desktop/source/lib/init.cxx | 2 ++
135360
 1 file changed, 2 insertions(+)
135360
135360
diff --git a/desktop/source/lib/init.cxx b/desktop/source/lib/init.cxx
135360
index b2076c622bf1..88cbcbd8d285 100644
135360
--- a/desktop/source/lib/init.cxx
135360
+++ b/desktop/source/lib/init.cxx
135360
@@ -899,6 +899,8 @@ static bool initialize_uno(const OUString& aAppProgramURL)
135360
 #ifdef IOS
135360
     // For iOS we already hardocde the inifile as "rc" in the .app directory.
135360
     (void) aAppProgramURL;
135360
+#elif defined MACOSX
135360
+    rtl::Bootstrap::setIniFilename(aAppProgramURL + "/../Resources/" SAL_CONFIGFILE("soffice"));
135360
 #else
135360
     rtl::Bootstrap::setIniFilename(aAppProgramURL + "/" SAL_CONFIGFILE("soffice"));
135360
 #endif
135360
-- 
135360
2.12.0
135360