<pre style='margin:0'>
Perry E. Metzger (pmetzger) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/793a5e65dc82bb255fa6a9b3b233f66f023ff7b1">https://github.com/macports/macports-ports/commit/793a5e65dc82bb255fa6a9b3b233f66f023ff7b1</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 793a5e65dc8 imlib2: fix PPC build
</span>793a5e65dc8 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 793a5e65dc82bb255fa6a9b3b233f66f023ff7b1
</span>Author: Evan Miller <emmiller@gmail.com>
AuthorDate: Thu Jan 20 01:01:12 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> imlib2: fix PPC build
</span>---
graphics/imlib2/Portfile | 2 ++
graphics/imlib2/files/patch-imlib2-bigendian.diff | 14 ++++++++++++++
2 files changed, 16 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/imlib2/Portfile b/graphics/imlib2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 62aec41178e..678dcfce67b 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/imlib2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/imlib2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -45,6 +45,8 @@ depends_lib port:bzip2 \
</span> port:webp \
port:zlib
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-imlib2-bigendian.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --disable-amd64
post-destroot {
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/imlib2/files/patch-imlib2-bigendian.diff b/graphics/imlib2/files/patch-imlib2-bigendian.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..7f7d95a1406
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/imlib2/files/patch-imlib2-bigendian.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: 'nr' undeclared (first use in this function)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- src/modules/loaders/loader_ico.c.orig
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ src/modules/loaders/loader_ico.c
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -142,6 +142,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ie_t *ie;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ unsigned int size;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#ifdef WORDS_BIGENDIAN
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ unsigned int nr;
</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;'>+ ie = &ico->ie[ino];
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>