<pre style='margin:0'>
Aaron Madlon-Kay (amake) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fe12ab24b97231476f2b86f0b64a9e9ce4d9ef18">https://github.com/macports/macports-ports/commit/fe12ab24b97231476f2b86f0b64a9e9ce4d9ef18</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 fe12ab24b97 premake5: fix build on macOS 14
</span>fe12ab24b97 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fe12ab24b97231476f2b86f0b64a9e9ce4d9ef18
</span>Author: Aaron Madlon-Kay <amake@macports.org>
AuthorDate: Thu Oct 19 08:46:29 2023 +0900
<span style='display:block; white-space:pre;color:#404040;'> premake5: fix build on macOS 14
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fixes https://trac.macports.org/ticket/68300
</span>---
devel/premake5/Portfile | 4 ++
.../files/0001-Include-required-header.patch | 54 ++++++++++++++++++++++
2 files changed, 58 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/premake5/Portfile b/devel/premake5/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 82f26c7734d..930a6021f4f 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/premake5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/premake5/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,6 +30,10 @@ checksums sha256 4c1100f5170ae1c3bd1b4fd9458b3b02ae841aefbfc41514887b
</span> size 8867376
use_configure no
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append 0001-Include-required-header.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patch.pre_args -p1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # Premake statically links a handful of vendored libraries; don't let MacPorts
# installed libraries conflict with these
compiler.library_path
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/premake5/files/0001-Include-required-header.patch b/devel/premake5/files/0001-Include-required-header.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..e8db944e11c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/premake5/files/0001-Include-required-header.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,54 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From de6deb556c406513b2941907cd2361024c5d7fa1 Mon Sep 17 00:00:00 2001
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+From: Aaron Madlon-Kay <aaron@madlon-kay.com>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Date: Thu, 19 Oct 2023 08:36:22 +0900
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Subject: [PATCH] Include required header
</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;'>+ contrib/libzip/mkstemp.c | 2 ++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ contrib/libzip/zip_close.c | 2 --
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ contrib/libzip/zip_fdopen.c | 2 ++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 3 files changed, 4 insertions(+), 2 deletions(-)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/contrib/libzip/mkstemp.c b/contrib/libzip/mkstemp.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index aebb834c..02c6eed4 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/contrib/libzip/mkstemp.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/contrib/libzip/mkstemp.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -44,6 +44,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdio.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef O_BINARY
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #define O_BINARY 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/contrib/libzip/zip_close.c b/contrib/libzip/zip_close.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 034f2196..a4f7368a 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/contrib/libzip/zip_close.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/contrib/libzip/zip_close.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -42,9 +42,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <strings.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <errno.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#ifdef HAVE_UNISTD_H
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <unistd.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#endif
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/stat.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifdef _WIN32
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff --git a/contrib/libzip/zip_fdopen.c b/contrib/libzip/zip_fdopen.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+index 7cd137b4..a2217ab2 100644
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- a/contrib/libzip/zip_fdopen.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ b/contrib/libzip/zip_fdopen.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -35,6 +35,8 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include "zipint.h"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <unistd.h>
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ZIP_EXTERN struct zip *
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+2.42.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>