summaryrefslogtreecommitdiff
path: root/freefilesync/debian/patches/ffs_devuan.patch
blob: ff840d74dc910d60bcd4aeb55024c0311d3ab2ab (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
diff -Naur -x '*.orig' -x '*.rej' 10.3-0/FreeFileSync/Source/ui/small_dlgs.cpp 10.3-2/FreeFileSync/Source/ui/small_dlgs.cpp
--- 10.3-0/FreeFileSync/Source/ui/small_dlgs.cpp	2018-08-07 05:03:34.000000000 -0400
+++ 10.3-2/FreeFileSync/Source/ui/small_dlgs.cpp	2018-08-29 22:13:40.240595334 -0400
@@ -106,6 +106,8 @@
         L" x64";
 #endif
 
+    build +=
+        L" for Devuan";
 
     GetSizer()->SetSizeHints(this); //~=Fit() + SetMinSize()
 
diff -Naur 10.6-0/FreeFileSync/Source/base/ffs_paths.cpp 10.6-1/FreeFileSync/Source/base/ffs_paths.cpp
--- 10.6-0/FreeFileSync/Source/base/ffs_paths.cpp	2018-11-13 06:58:40.771249592 -0500
+++ 10.6-1/FreeFileSync/Source/base/ffs_paths.cpp	2018-11-16 21:34:30.341077845 -0500
@@ -66,7 +66,7 @@
     ZEN_ON_SCOPE_EXIT(wxTheApp->SetAppName(appName));
 
     //if (isPortableVersion())
-    return appendSeparator(getExeFolderParentPath());
+    return appendSeparator("/usr") + appendSeparator("share") + appendSeparator("freefilesync");
     //else //use OS' standard paths
     //    return appendSeparator(utfTo<Zstring>(wxStandardPathsBase::Get().GetResourcesDir()));
 }
bgstack15