Ticket #12555: filezilla.patch

File filezilla.patch, 823 bytes (added by Bjorn Ketelaars, 3 years ago)
  • src/commonui/fz_paths.cpp

    diff --git src/commonui/fz_paths.cpp src/commonui/fz_paths.cpp
    index d977dd4..529f66e 100644
    CLocalPath GetDefaultsDir()  
    329329{
    330330    static CLocalPath path = [] {
    331331        CLocalPath path;
    332 #ifdef FZ_UNIX
     332#if defined(FZ_UNIX) || defined(FZ_OPENBSD)
    333333        path = GetUnadjustedSettingsDir();
    334334        if (path.empty() || !FileExists(path.GetPath() + L"fzdefaults.xml")) {
    335335            if (FileExists(L"/etc/filezilla/fzdefaults.xml")) {
  • src/engine/version.cpp

    diff --git src/engine/version.cpp src/engine/version.cpp
    index 49256e8..409b3ed 100644
     
    66
    77#if FZ_WINDOWS
    88#include <libfilezilla/glue/windows.hpp>
    9 #elif FZ_UNIX
     9#if defined(FZ_UNIX) || defined(FZ_OPENBSD)
    1010#include <sys/utsname.h>
    1111#else
    1212#include <Carbon/Carbon.h>