<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f00776f4510ea73bdc3a5e47ceba24ff776a432c">https://github.com/macports/macports-ports/commit/f00776f4510ea73bdc3a5e47ceba24ff776a432c</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit f00776f4510ea73bdc3a5e47ceba24ff776a432c
</span>Author: barracuda156 <vital.had@gmail.com>
AuthorDate: Sat Apr 15 18:42:39 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> libtomcrypt: unbreak build on <10.7
</span>---
security/libtomcrypt/Portfile | 3 +++
security/libtomcrypt/files/patch-unbreak-10.6.diff | 21 +++++++++++++++++++++
2 files changed, 24 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/libtomcrypt/Portfile b/security/libtomcrypt/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 502d23d08df..c07326df176 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/libtomcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/libtomcrypt/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,6 +29,9 @@ checksums rmd160 484fa6695e84448270d45851123249276d8add8d \
</span>
depends_build port:libtommath
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://github.com/libtom/libtomcrypt/issues/614
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-unbreak-10.6.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> worksrcdir ${name}-${version}
use_configure no
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/libtomcrypt/files/patch-unbreak-10.6.diff b/security/libtomcrypt/files/patch-unbreak-10.6.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2f40bbed3bc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/libtomcrypt/files/patch-unbreak-10.6.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,21 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- makefile_include.mk.orig 2023-04-15 18:26:17.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ makefile_include.mk 2023-04-15 18:26:46.000000000 +0800
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -92,7 +92,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LTC_CFLAGS += -Wwrite-strings
</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;'>++ifneq ($(findstring clang,$(CC)),)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LTC_CFLAGS += -Wno-type-limits
</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;'>+ ifdef LTC_DEBUG
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ $(info Debug build)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -128,7 +130,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ifneq ($(findstring mingw,$(CC)),)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LTC_CFLAGS += -Wno-shadow -Wno-attributes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-ifeq ($(PLATFORM), Darwin)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ifneq ($(findstring clang,$(CC)),)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ LTC_CFLAGS += -Wno-nullability-completeness
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>