diff options
author | B Stack <bgstack15@gmail.com> | 2018-11-14 21:51:08 -0500 |
---|---|---|
committer | B Stack <bgstack15@gmail.com> | 2018-11-14 21:51:08 -0500 |
commit | 731ddfab7db2766d68e9d7b461bc134925c42690 (patch) | |
tree | 017e5aad016f8b995a095135f589eb2b1cc4b973 /freefilesync/ffs_xdg_config_dir.patch | |
parent | Merge branch 'libdvdcss' into 'master' (diff) | |
download | stackrpms-731ddfab7db2766d68e9d7b461bc134925c42690.tar.gz stackrpms-731ddfab7db2766d68e9d7b461bc134925c42690.tar.bz2 stackrpms-731ddfab7db2766d68e9d7b461bc134925c42690.zip |
freefilesync 10.6-1
Diffstat (limited to 'freefilesync/ffs_xdg_config_dir.patch')
-rw-r--r-- | freefilesync/ffs_xdg_config_dir.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/freefilesync/ffs_xdg_config_dir.patch b/freefilesync/ffs_xdg_config_dir.patch new file mode 100644 index 0000000..6f27ab7 --- /dev/null +++ b/freefilesync/ffs_xdg_config_dir.patch @@ -0,0 +1,17 @@ +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-14 21:39:14.715702415 -0500 +@@ -85,8 +85,11 @@ + else //OS standard path (XDG layout): ~/.config/FreeFileSync + { + //wxBug: wxStandardPaths::GetUserDataDir() does not honor FileLayout_XDG flag +- wxStandardPaths::Get().SetFileLayout(wxStandardPaths::FileLayout_XDG); +- cfgFolderPath = appendSeparator(utfTo<Zstring>(wxStandardPaths::Get().GetUserConfigDir())) + "FreeFileSync"; ++ ++ // Fedora 28 does not ship wxgtk 3.1.1... ++ // So subsitute a hard-coded name instead of requesting file layout of XDG ++ //wxStandardPaths::Get().SetFileLayout(wxStandardPaths::FileLayout_XDG); ++ cfgFolderPath = appendSeparator(utfTo<Zstring>(wxStandardPaths::Get().GetUserConfigDir())) + appendSeparator(utfTo<Zstring>(".config")) + "FreeFileSync"; + } + + #ifdef __GNUC__ |