Skip to content

Enable OpenBSD support#1025

Closed
sizeofvoid wants to merge 0 commit intokeepassxreboot:developfrom
sizeofvoid:develop
Closed

Enable OpenBSD support#1025
sizeofvoid wants to merge 0 commit intokeepassxreboot:developfrom
sizeofvoid:develop

Conversation

@sizeofvoid
Copy link
Copy Markdown
Contributor

Make keepassxc BSD/UNIX ready

Description

  • Fix cmake build on OpenBSD
  • s/Q_OS_LINUX/Q_OS_UNIX/g

Motivation and context

I'm the maintainer of the OpenBSD keepassxc: port http://cvsweb.openbsd.org/cgi-bin/cvsweb/ports/security/keepassxc/ and I would like to push my patches upstream.

How has this been tested?

Build and runs fine over months on OpenBSD amd64 (6.1 and 6.2).

Checklist:

  • ✅ I have read the CONTRIBUTING document.
  • ✅ My code follows the code style of this project.
  • ✅ All new and existing tests passed.
  • ✅ I have compiled and verified my code with -DWITH_ASAN=ON.

Copy link
Copy Markdown
Member

@phoerious phoerious left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for your patch!

Please fix the requested changes and then rebase your patch against release/2.2.2.

#include "ScreenLockListenerMac.h"
#endif
#if defined(Q_OS_LINUX)
#if defined(Q_OS_UNIX)
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You need to exclude Q_OS_DARWIN here at least and I'm not sure about other BSDs. If in doubt, enable only Linux and OpenBSD (which you already did in CMakeLists.txt).

@phoerious
Copy link
Copy Markdown
Member

Replacement PR: #1328

@phoerious phoerious removed this from the v2.3.0 milestone Dec 27, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants