<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/55a05141f0cf63fec1f71765b00a77adaa00f7b5">https://github.com/macports/macports-ports/commit/55a05141f0cf63fec1f71765b00a77adaa00f7b5</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 55a0514 gdk-pixbuf2: build fix for older platforms
</span>55a0514 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 55a05141f0cf63fec1f71765b00a77adaa00f7b5
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Mon Mar 30 18:55:32 2020 -0700
<span style='display:block; white-space:pre;color:#404040;'> gdk-pixbuf2: build fix for older platforms
</span>---
graphics/gdk-pixbuf2/Portfile | 2 ++
.../files/override-math-function-tests.patch | 23 ++++++++++++++++++++++
2 files changed, 25 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/gdk-pixbuf2/Portfile b/graphics/gdk-pixbuf2/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 32b1c38..5f4b490 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/gdk-pixbuf2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/gdk-pixbuf2/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -43,6 +43,8 @@ depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
</span>
license_noconflict gobject-introspection
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles override-math-function-tests.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.c_standard 1999
configure.ldflags-append -lintl
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/gdk-pixbuf2/files/override-math-function-tests.patch b/graphics/gdk-pixbuf2/files/override-math-function-tests.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..3ec5f89
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/gdk-pixbuf2/files/override-math-function-tests.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,23 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- gdk-pixbuf/fallback-c89.c.orig 2019-10-08 03:44:10.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ gdk-pixbuf/fallback-c89.c 2020-03-30 18:48:56.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -18,6 +18,13 @@
</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;'>+ #include <math.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* override results of math lib tests
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++** we have these functions but not in mlib
</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;'>++#define HAVE_ROUND 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define HAVE_LRINT 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Workaround for round() for non-GCC/non-C99 compilers */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #ifndef HAVE_ROUND
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -46,4 +53,4 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ return x >= 0 ? floor (x + 0.5) : ceil (x - 0.5);
</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;'>+\ No newline at end of file
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#endif
</span></pre><pre style='margin:0'>
</pre>