<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/72c820b27ee817a55317ae20d8417a818a56af61">https://github.com/macports/macports-ports/commit/72c820b27ee817a55317ae20d8417a818a56af61</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 72c820b2 graphene: fix detection of SSE
</span>72c820b2 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 72c820b27ee817a55317ae20d8417a818a56af61
</span>Author: Marcus Calhoun-Lopez <mcalhoun@macports.org>
AuthorDate: Mon Jun 25 14:55:11 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> graphene: fix detection of SSE
</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/56737
</span>---
graphics/graphene/Portfile | 4 ++++
graphics/graphene/files/patch-meson.build.diff | 11 +++++++++++
2 files changed, 15 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/graphene/Portfile b/graphics/graphene/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ad91b1c..4e392ed 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/graphene/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/graphene/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,6 +7,7 @@ PortGroup meson 1.0
</span> PortGroup muniversal 1.0
github.setup ebassi graphene 1.8.2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> license Permissive
categories graphics gnome
maintainers {devans @dbevans} openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -27,6 +28,9 @@ depends_build-append \
</span> depends_lib path:lib/pkgconfig/glib-2.0.pc:glib2 \
port:gobject-introspection
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# __GNUC__ is unreliable indicator of SSE existence on macOS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-meson.build.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> compiler.blacklist-append {clang >= 703.0.29 < 800}
# attempt to fix build on 10.6 using gcc-4.2
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/graphene/files/patch-meson.build.diff b/graphics/graphene/files/patch-meson.build.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..10de52f
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/graphene/files/patch-meson.build.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,11 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- meson.build.orig 2018-06-13 09:49:45.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ meson.build 2018-06-25 14:49:23.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -246,7 +246,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sse2_cflags = []
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if get_option('sse2')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sse_prog = '''
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-#if defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#if !defined(__APPLE__) && defined(__GNUC__) && (__GNUC__ < 4 || (__GNUC__ == 4 && __GNUC_MINOR__ < 9))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # if !defined(__amd64__) && !defined(__x86_64__)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # error "Need GCC >= 4.9 for SSE2 intrinsics on x86"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # endif
</span></pre><pre style='margin:0'>
</pre>