<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/38df2f77acdeab3bbcb24b0eabaa495482699d21">https://github.com/macports/macports-ports/commit/38df2f77acdeab3bbcb24b0eabaa495482699d21</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 38df2f77acd hiredis: fix file hierarchy violation
</span>38df2f77acd is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 38df2f77acdeab3bbcb24b0eabaa495482699d21
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Dec 12 12:13:07 2022 -0800
<span style='display:block; white-space:pre;color:#404040;'> hiredis: fix file hierarchy violation
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Patch suppresses installation of unnecessary support file for
</span><span style='display:block; white-space:pre;color:#404040;'> NuGet .NET package manager which installs outside the MacPorts file hierarchy.
</span>---
databases/hiredis/Portfile | 8 ++++++--
.../hiredis/files/patch-fix-file-hierarchy-violation.diff | 15 +++++++++++++++
2 files changed, 21 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/hiredis/Portfile b/databases/hiredis/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 34e99c65e5d..26687fec8c3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/hiredis/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/hiredis/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup github 1.0
</span> PortGroup cmake 1.1
github.setup redis hiredis 1.1.0 v
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories databases
license BSD
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -20,8 +20,12 @@ checksums rmd160 d7aa4a2b9d94e17f320a5c01b4c9906d1e2973b3 \
</span>
compiler.c_standard 1999
<span style='display:block; white-space:pre;background:#ffe0e0;'>-configure.cflags-append -std=c99
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# support file for NuGet .NET package manager
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# installs outside the MacPorts file hierarchy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# suppress installation of unnecessary file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-fix-file-hierarchy-violation.diff
</span>
<span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags-append -std=c99
</span> configure.args-append -DDISABLE_TESTS=ON
variant universal {}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/hiredis/files/patch-fix-file-hierarchy-violation.diff b/databases/hiredis/files/patch-fix-file-hierarchy-violation.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4254602f0e5
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/hiredis/files/patch-fix-file-hierarchy-violation.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,15 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- CMakeLists.txt.orig 2022-12-12 11:55:07
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ CMakeLists.txt 2022-12-12 11:57:36
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -116,8 +116,10 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif()
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # For NuGet packages
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-INSTALL(FILES hiredis.targets
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- DESTINATION build/native)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# Installs outside the MacPorts file hierarchy
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# and is only useful for the NuGet .NET package manager
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# INSTALL(FILES hiredis.targets
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++# DESTINATION build/native)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ INSTALL(FILES hiredis.h read.h sds.h async.h alloc.h sockcompat.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DESTINATION ${CMAKE_INSTALL_INCLUDEDIR}/hiredis)
</span></pre><pre style='margin:0'>
</pre>