<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a94124342c0d49403affd195715f8b3e4352df72">https://github.com/macports/macports-ports/commit/a94124342c0d49403affd195715f8b3e4352df72</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 a94124342c0 rocksdb: Fix build in presence of older version
</span>a94124342c0 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit a94124342c0d49403affd195715f8b3e4352df72
</span>Author: Clemens Lang <cal@macports.org>
AuthorDate: Mon Jan 15 21:01:34 2024 +0100

<span style='display:block; white-space:pre;color:#404040;'>    rocksdb: Fix build in presence of older version
</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/69079
</span>---
 databases/rocksdb/Portfile | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/rocksdb/Portfile b/databases/rocksdb/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f67e8a61b71..067f2132d2a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/rocksdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/rocksdb/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +40,7 @@ patchfiles          0001-rocksdb-fixes-for-macOS-PPC.patch \
</span> compiler.cxx_standard 2017
 compiler.thread_local_storage yes
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# DCMAKE_INCLUDE_DIRECTORIES_BEFORE=ON fixes the build while an older version is installed, see #69079
</span> configure.args-append \
                     -DWITH_JEMALLOC=OFF \
                     -DWITH_LIBURING=OFF \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,7 +52,8 @@ configure.args-append \
</span>                     -DROCKSDB_BUILD_SHARED=ON \
                     -DWITH_BZ2=ON \
                     -DWITH_MD_LIBRARY=ON \
<span style='display:block; white-space:pre;background:#ffe0e0;'>-                    -DWITH_TBB=OFF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -DWITH_TBB=OFF \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+                    -DCMAKE_INCLUDE_DIRECTORIES_BEFORE=ON
</span> 
 if {[string match *gcc* ${configure.compiler}]} {
     # version_set.cc: error: 'rocksdb::{anonymous}::ManifestPicker::ManifestPicker' defined but not used
</pre><pre style='margin:0'>

</pre>