<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/d1f06baa23b4852845664c29ab939994d0d8ba2d">https://github.com/macports/macports-ports/commit/d1f06baa23b4852845664c29ab939994d0d8ba2d</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'>     new d1f06baa23b KeePassXC: fix compilation issue of 2.6.6 on El Capitan
</span>d1f06baa23b is described below

<span style='display:block; white-space:pre;color:#808000;'>commit d1f06baa23b4852845664c29ab939994d0d8ba2d
</span>Author: tenzap <fabstz-it@yahoo.fr>
AuthorDate: Wed Nov 10 16:27:38 2021 +0100

<span style='display:block; white-space:pre;color:#404040;'>    KeePassXC: fix compilation issue of 2.6.6 on El Capitan
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Closes: https://trac.macports.org/ticket/62220
</span>---
 security/KeePassXC/Portfile                 |  2 +-
 security/KeePassXC/files/patch-old-mac.diff | 42 +++++++++++++++++++++++++++++
 2 files changed, 43 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/KeePassXC/Portfile b/security/KeePassXC/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ae2f4e80c0c..d0c862a2d2f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/KeePassXC/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/KeePassXC/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -21,7 +21,7 @@ license                 GPL-2+
</span> license_noconflict      openssl
 
 github.setup            keepassxreboot keepassxc 2.6.6
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision                0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision                1
</span> github.tarball_from     releases
 distname                keepassxc-${version}-src
 use_xz                  yes
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/KeePassXC/files/patch-old-mac.diff b/security/KeePassXC/files/patch-old-mac.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 72ee87e1eab..201566f64f5 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/KeePassXC/files/patch-old-mac.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/KeePassXC/files/patch-old-mac.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,3 +16,45 @@
</span>      return YES;
  }
  
<span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/gui/styles/base/BaseStyle.orig.cpp      2021-11-10 11:10:45.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/gui/styles/base/BaseStyle.cpp      2021-11-10 11:07:30.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -292,16 +292,20 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef Q_OS_MACOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             QColor tabBarBase(const QPalette& pal)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 if (QOperatingSystemVersion::current() >= QOperatingSystemVersion::MacOSBigSur) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                     return hack_isLightPalette(pal) ? QRgb(0xD4D4D4) : QRgb(0x2A2A2A);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 return hack_isLightPalette(pal) ? QRgb(0xDD1D1D1) : QRgb(0x252525);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             QColor tabBarBaseInactive(const QPalette& pal)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if QT_VERSION >= QT_VERSION_CHECK(5, 12, 0)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 if (QOperatingSystemVersion::current() >= QOperatingSystemVersion::MacOSBigSur) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                     return hack_isLightPalette(pal) ? QRgb(0xF5F5F5) : QRgb(0x2D2D2D);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                 return hack_isLightPalette(pal) ? QRgb(0xF4F4F4) : QRgb(0x282828);
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+             }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/gui/osutils/macutils/AppKitImpl.orig.mm    2021-11-10 11:29:13.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/gui/osutils/macutils/AppKitImpl.mm 2021-11-10 11:28:28.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -139,6 +139,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ //
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ - (bool) isStatusBarDark
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if __clang_major__ >= 9
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     if (@available(macOS 10.17, *)) {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         // This is an ugly hack, but I couldn't find a way to access QTrayIcon's NSStatusItem.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         NSStatusItem* dummy = [[NSStatusBar systemStatusBar] statusItemWithLength:0];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -146,7 +147,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         [[NSStatusBar systemStatusBar] removeStatusItem:dummy];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+         return [appearance containsString:@"dark"];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+     return [self isDarkMode];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 
</span></pre><pre style='margin:0'>

</pre>