<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/7d5813e6ff526eb52de1db6d0300d4056ca132cc">https://github.com/macports/macports-ports/commit/7d5813e6ff526eb52de1db6d0300d4056ca132cc</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 7d5813e6ff526eb52de1db6d0300d4056ca132cc
</span>Author: ken-cunningham-webuse <ken.cunningham.webuse@gmail.com>
AuthorDate: Wed Oct 31 19:25:08 2018 -0700
<span style='display:block; white-space:pre;color:#404040;'> kitty: don't warn on deprecated-declarations
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> fixes build error with -Werror enabled
</span><span style='display:block; white-space:pre;color:#404040;'> closes: https://trac.macports.org/ticket/57483
</span>---
aqua/kitty/Portfile | 4 +++-
aqua/kitty/files/patch-kitty-no-deprecated-declarations.diff | 11 +++++++++++
2 files changed, 14 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/kitty/Portfile b/aqua/kitty/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 7686095..c2e8e06 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/aqua/kitty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/kitty/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -29,7 +29,9 @@ depends_build-append \
</span>
depends_lib-append port:harfbuzz
<span style='display:block; white-space:pre;background:#ffe0e0;'>-patchfiles patch-logo-make.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-logo-make.py.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-kitty-no-deprecated-declarations.diff
</span>
build.cmd "${python.bin} setup.py"
build.target kitty.app
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/aqua/kitty/files/patch-kitty-no-deprecated-declarations.diff b/aqua/kitty/files/patch-kitty-no-deprecated-declarations.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..77826e2
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/aqua/kitty/files/patch-kitty-no-deprecated-declarations.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;'>+--- setup.py.old 2018-10-31 19:13:17.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ setup.py 2018-10-31 19:15:01.000000000 -0700
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -189,7 +189,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cppflags = shlex.split(cppflags)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cflags = os.environ.get(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'OVERRIDE_CFLAGS', (
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- '-Wextra -Wno-missing-field-initializers -Wall -std=c99'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ '-Wextra -Wno-missing-field-initializers -Wno-deprecated-declarations -Wall -std=c99'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ' -pedantic-errors -Werror {} {} -fwrapv {} {} -pipe {} -fvisibility=hidden'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ).format(
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ optimize,
</span></pre><pre style='margin:0'>
</pre>