Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

KeePassXC: Fix by setting deployment target for darwin 24. #25836

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

slewsys
Copy link
Contributor

@slewsys slewsys commented Sep 19, 2024

Description

KeePassXC fails to compile on macOS 15/Xcode 16. Setting the macOS deployment target to 14 (or less) resolves the issue. See also:
https://trac.macports.org/wiki/SequoiaProblems#ScreenCaptureKitRequirementwithmacOS15SDK

NB: KeePassXC depends on ports qt5-qtbase and libsodium, which must be patched as well on macOS 15. qt5-qtbase can be patched in the same manner as this PR. libsodium just needs to be updated - see PR #25833.

Type(s)
  • bugfix
  • enhancement
  • security fix
Tested on

macOS 15.0 24A335 arm64
Xcode 16.0 16A242d / Command Line Tools 16.0.0.0.1.1724870825

Verification

Have you

  • followed our Commit Message Guidelines?
  • squashed and minimized your commits?
  • checked that there aren't other open pull requests for the same change?
  • referenced existing tickets on Trac with full URL in commit message?
  • checked your Portfile with port lint --nitpick?
  • tried existing tests with sudo port test?
  • tried a full install with sudo port -vs install?
  • tested basic functionality of all binary files?
  • checked that the Portfile's most important variants haven't been broken?

@@ -28,6 +28,10 @@ long_description KeePassXC is a community fork of KeePassX with the \
license {GPL-2 GPL-3}
license_noconflict openssl openssl10 openssl11 openssl3

if { ${os.platform} eq "darwin" && ${os.major} >= 24 } {
Copy link
Member

@markemer markemer Sep 19, 2024

Choose a reason for hiding this comment

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

I know my qt5 fix was bad but:

platform darwin 24 {
   macosx_deployment_target 14.0
}

doesn't work?

P.S. - qt5 should be fixed now

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Development

Successfully merging this pull request may close these issues.

3 participants