<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/3e54140ebdb9a7abe940b61c4c11a4461a8a9677">https://github.com/macports/macports-ports/commit/3e54140ebdb9a7abe940b61c4c11a4461a8a9677</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 3e54140ebdb9a7abe940b61c4c11a4461a8a9677
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Sat Apr 23 01:07:37 2022 -0500
<span style='display:block; white-space:pre;color:#404040;'> memcached-devel: Don't use -Werror
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Add patch from memcached port to avoid using -Werror since it can cause
</span><span style='display:block; white-space:pre;color:#404040;'> builds to fail when using compilers different from the ones the
</span><span style='display:block; white-space:pre;color:#404040;'> developers tested with.
</span>---
sysutils/memcached-devel/Portfile | 2 ++
sysutils/memcached-devel/files/patch-configure.diff | 12 ++++++++++++
2 files changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/memcached-devel/Portfile b/sysutils/memcached-devel/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 9fa8bb97032..d48086c12fb 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/memcached-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/memcached-devel/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -35,6 +35,8 @@ configure.args --with-libevent=${prefix}
</span>
depends_lib port:libevent
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles-append patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> startupitem.create yes
startupitem.executable ${prefix}/bin/memcached -u nobody -m 64 -c 10240 -p 11211
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/memcached-devel/files/patch-configure.diff b/sysutils/memcached-devel/files/patch-configure.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..bab89ea77bd
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/memcached-devel/files/patch-configure.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Do not use -Werror.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2022-03-29 23:33:02.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2022-04-23 00:50:10.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -7328,7 +7328,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ elif test "$GCC" = "yes"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ GCC_VERSION=`$CC -dumpversion`
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- CFLAGS="$CFLAGS -Wall -Werror -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ CFLAGS="$CFLAGS -Wall -pedantic -Wmissing-prototypes -Wmissing-declarations -Wredundant-decls"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$enable_asan" = "xyes"; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ CFLAGS="$CFLAGS -fsanitize=address"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span></pre><pre style='margin:0'>
</pre>