<pre style='margin:0'>
Ryan Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6eb973ca5a39cf485542f272bbcc194f327fd0d5">https://github.com/macports/macports-ports/commit/6eb973ca5a39cf485542f272bbcc194f327fd0d5</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 6eb973ca5a3 zvbi: Fix universal build on some OS versions
</span>6eb973ca5a3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6eb973ca5a39cf485542f272bbcc194f327fd0d5
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Wed Aug 16 12:56:21 2023 -0500
<span style='display:block; white-space:pre;color:#404040;'> zvbi: Fix universal build on some OS versions
</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/64759
</span>---
multimedia/zvbi/Portfile | 8 ++++++--
multimedia/zvbi/files/endian.patch | 19 +++++++++++++++++++
2 files changed, 25 insertions(+), 2 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/zvbi/Portfile b/multimedia/zvbi/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e14c3deb3ff..258208db2c6 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/multimedia/zvbi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/zvbi/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,6 @@ name zvbi
</span> version 0.2.35
revision 3
categories multimedia
<span style='display:block; white-space:pre;background:#ffe0e0;'>-platforms darwin
</span> maintainers nomaintainer
license GPL-2+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -30,8 +29,13 @@ checksums rmd160 36749d9f11994e0ff726ac3e9d11c790c7494455 \
</span> size 1047761
patchfiles-append \
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ endian.patch \
</span> patch-i386.diff
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# We are patching configure.in.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+autoreconf.args -fvi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_build-append \
port:gettext
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -49,4 +53,4 @@ if { ${os.platform} eq "darwin" && ${os.major} <= 9 } {
</span>
livecheck.url http://sourceforge.net/projects/zapping/files/${name}
livecheck.type regex
<span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex ${name}-(\[0-9.\]+).tar.bz2
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex ${name}-(\[0-9.\]+)[quotemeta ${extract.suffix}]
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/multimedia/zvbi/files/endian.patch b/multimedia/zvbi/files/endian.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..0f8adbebe8b
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/multimedia/zvbi/files/endian.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,19 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Ensure that Z_BYTE_ORDER is defined when building universal.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Dispense with AC_C_BIGENDIAN and just use existing preprocessor defines.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.in.orig 2013-08-28 08:52:48.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure.in 2023-08-16 12:43:20.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -104,11 +104,9 @@
</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;'>+ dnl __BYTE_ORDER is not portable.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AC_DEFINE(Z_LITTLE_ENDIAN, 1234, [naidne elttiL])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AC_DEFINE(Z_BIG_ENDIAN, 4321, [Big endian])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-AC_C_BIGENDIAN(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- AC_DEFINE(Z_BYTE_ORDER, 4321, [Byte order]),
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- AC_DEFINE(Z_BYTE_ORDER, 1234, [Byte order]))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFINE(Z_LITTLE_ENDIAN, __ORDER_LITTLE_ENDIAN__, [naidne elttiL])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFINE(Z_BIG_ENDIAN, __ORDER_BIG_ENDIAN__, [Big endian])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++AC_DEFINE(Z_BYTE_ORDER, __BYTE_ORDER__, [Byte order])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ AC_PROG_LIBTOOL
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>