keepassxc/src/browser
Tobias Kortkamp ef3c2daef1 Unbreak build on FreeBSD (#3304)
* Unbreak build on FreeBSD

```
In file included from src/core/Alloc.cpp:24:
/usr/include/malloc.h:3:2: error: "<malloc.h> has been replaced by <stdlib.h>"
 ^
src/core/Alloc.cpp:65:28: error: use of undeclared identifier 'malloc_usable_size'
    ::operator delete(ptr, malloc_usable_size(ptr));
                           ^
2 errors generated.
```

Non-standard APIs like `malloc_usable_size()` [1] are defined in
`malloc_np.h` on FreeBSD, so use it instead of `malloc.h` there.

[1] https://man.freebsd.org/jemalloc(3)

* Allow Browser HostInstaller to work on FreeBSD and other OS's

* Drop custom GNUInstallDirs cmake module and use cmake's own module

It seems to be an outdated version and cmake generally provides it
itself, so there should be no need for keepassxc to provide its own
custom version.

On FreeBSD this fixes the issue that man pages were installed into
the wrong directory, i.e., `/usr/local/share/man` vs `/usr/local/man`
as per FreeBSD's current packaging policy.

Signed-off-by: Tobias Kortkamp <tobik@FreeBSD.org>
2019-06-22 08:18:47 -04:00
..
BrowserAccessControlDialog.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
BrowserAccessControlDialog.h Restore correct formatting 2018-11-28 18:29:15 -05:00
BrowserAccessControlDialog.ui Multiple browser related fixes 2018-01-20 00:47:26 +01:00
BrowserAction.cpp Fix keepassxc-browser password entropy display (#3107) 2019-06-19 20:40:41 -04:00
BrowserAction.h Support returning a canceled message 2019-06-14 17:57:07 -04:00
BrowserClients.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
BrowserClients.h Restore correct formatting 2018-11-28 18:29:15 -05:00
BrowserEntryConfig.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
BrowserEntryConfig.h Restore correct formatting 2018-11-28 18:29:15 -05:00
BrowserEntrySaveDialog.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
BrowserEntrySaveDialog.h Restore correct formatting 2018-11-28 18:29:15 -05:00
BrowserEntrySaveDialog.ui Choose database for saving or updating entries from KeePassXC-Browser (#2391) 2018-10-19 14:44:08 -04:00
BrowserOptionDialog.cpp Add option for returning expired credentials 2019-05-09 10:31:51 -04:00
BrowserOptionDialog.h Restore correct formatting 2018-11-28 18:29:15 -05:00
BrowserOptionDialog.ui simplify wording of enabling browser integration 2019-06-18 21:38:29 -04:00
BrowserService.cpp Run code formatter 2019-06-18 18:51:38 -04:00
BrowserService.h Support returning a canceled message 2019-06-14 17:57:07 -04:00
BrowserSettings.cpp Fix keepassxc-browser password entropy display (#3107) 2019-06-19 20:40:41 -04:00
BrowserSettings.h Fix keepassxc-browser password entropy display (#3107) 2019-06-19 20:40:41 -04:00
CMakeLists.txt Improve resilience against memory attacks 2019-04-21 09:39:28 -04:00
HostInstaller.cpp Unbreak build on FreeBSD (#3304) 2019-06-22 08:18:47 -04:00
HostInstaller.h Add integration with Brave browser 2019-04-07 21:00:15 -04:00
NativeMessagingBase.cpp Merge branch 'release/2.4.2' into develop 2019-05-30 17:22:09 -04:00
NativeMessagingBase.h Various minor code improvements 2019-05-19 18:21:34 -04:00
NativeMessagingHost.cpp Various minor code improvements 2019-05-19 18:21:34 -04:00
NativeMessagingHost.h Code quality updates for 2.4.0 (#2709) 2019-02-18 08:26:56 -05:00
Variant.cpp Restore correct formatting 2018-11-28 18:29:15 -05:00
Variant.h Restore correct formatting 2018-11-28 18:29:15 -05:00