<pre style='margin:0'>
Marius Schamschula (Schamschula) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/37010e8773604b56a21db038e3e3c7978e743868">https://github.com/macports/macports-ports/commit/37010e8773604b56a21db038e3e3c7978e743868</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 37010e8773604b56a21db038e3e3c7978e743868
</span>Author: Marius Schamschula <mschamschula@gmail.com>
AuthorDate: Mon Mar 13 16:02:36 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> octave-database: patch for octave 8.1.0, add postgresql15 variant
</span>---
math/octave-database/Portfile | 7 +++++--
math/octave-database/files/patch-octave8.diff | 22 ++++++++++++++++++++++
2 files changed, 27 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-database/Portfile b/math/octave-database/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2fa3fff52bf..a36bee24637 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/math/octave-database/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave-database/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,7 +4,7 @@ PortSystem 1.0
</span> PortGroup octave 1.0
octave.setup database 2.4.4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 3
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 4
</span> platforms darwin
license GPL-3+
maintainers {mps @Schamschula} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,8 +22,11 @@ depends_lib-append port:octave-struct \
</span> # compensate for Octave 5 changes
patchfiles-append patch-octave5.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# compensate for Octave 8 changes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-octave8.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # set postgresql variants
<span style='display:block; white-space:pre;background:#ffe0e0;'>-set postgresql_suffixes {83 84 90 91 92 93 94 95 96 10 11 12 13 14}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+set postgresql_suffixes {83 84 90 91 92 93 94 95 96 10 11 12 13 14 15}
</span> set default_postgresql_suffix 14
set postgresql_ports {}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/math/octave-database/files/patch-octave8.diff b/math/octave-database/files/patch-octave8.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..330ab92571b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/math/octave-database/files/patch-octave8.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# HG changeset patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# User Markus Mützel <markus.muetzel@gmx.de>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Date 1637944272 -3600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Fri Nov 26 17:31:12 2021 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Node ID cf50442de36069a599dfdd96505aff08eb23baf6
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Parent 8ce48d0bb822adcbf40aa5ff6b759c3a898a7934
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix compilation with Octave 8 (bug #61567).
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+* src/error-helpers.h: Use wrapper function.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+diff -r 8ce48d0bb822 -r cf50442de360 src/error-helpers.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/error-helpers.h Thu Mar 25 10:59:09 2021 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/error-helpers.h Fri Nov 26 17:31:12 2021 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -64,7 +64,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ catch (OCTAVE__EXECUTION_EXCEPTION& e) \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ { \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- verror (e, __VA_ARGS__); \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ c_verror (e, __VA_ARGS__); \
</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;'>+
</span></pre><pre style='margin:0'>
</pre>