<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/49e437a123133de5ebd02f40e421fbcb65ae2ce0">https://github.com/macports/macports-ports/commit/49e437a123133de5ebd02f40e421fbcb65ae2ce0</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 49e437a1231 libmemcache: macOS 11+ libtool bugfix; other fixes
</span>49e437a1231 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 49e437a123133de5ebd02f40e421fbcb65ae2ce0
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Jul 6 18:44:39 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> libmemcache: macOS 11+ libtool bugfix; other fixes
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix the macOS 11+ libtool bug. Fix implicit function declarations.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Closes: https://trac.macports.org/ticket/63222
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Honor MacPorts CFLAGS; therefore increase revision because this changes
</span><span style='display:block; white-space:pre;color:#404040;'> which optimization flags are used. It also fixes the universal variant.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Modernize checksums. Use leading 0 for octal numbers. Indicate which C
</span><span style='display:block; white-space:pre;color:#404040;'> language standard is needed.
</span>---
devel/libmemcache/Portfile | 20 +++++-
devel/libmemcache/files/CFLAGS.patch | 12 ++++
devel/libmemcache/files/dynamic_lookup-11.patch | 92 +++++++++++++++++++++++++
devel/libmemcache/files/implicit.patch | 29 ++++++++
4 files changed, 150 insertions(+), 3 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libmemcache/Portfile b/devel/libmemcache/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 8895dc751d9..2634725c80a 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libmemcache/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libmemcache/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -2,6 +2,11 @@ PortSystem 1.0
</span>
name libmemcache
version 1.4.0.rc2
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b1e55c9ed7d487e3aafb3a85ba2e3386aa2b82f3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 f496d41092c697384a7180720689da6a85d7c6ea2283eca69c8aaff2b58bebbf \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 301136
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> categories devel
license MIT BSD
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -16,11 +21,20 @@ long_description \
</span> homepage https://people.freebsd.org/~seanc/libmemcache/
master_sites ${homepage}/
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums sha1 7771a6477988cb5a8a9398839d63aaf491386130
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib port:memcached
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles CFLAGS.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ dynamic_lookup-11.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ implicit.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.c_standard 1999
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# MacPorts already sets optimization flags.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.args-append --disable-optimize
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -m 644 -W ${worksrcpath} COPYING ChangeLog \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0755 -d ${destroot}${prefix}/share/doc/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -m 0644 -W ${worksrcpath} COPYING ChangeLog \
</span> ${destroot}${prefix}/share/doc/${name}
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libmemcache/files/CFLAGS.patch b/devel/libmemcache/files/CFLAGS.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..2bc0533f217
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libmemcache/files/CFLAGS.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,12 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Preserve CFLAGS from the environment.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2006-02-21 02:03:22.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2021-07-06 18:36:00.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -20864,7 +20864,7 @@
</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;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+-CFLAGS="-Wall -pipe"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++CFLAGS="${CFLAGS} -Wall -pipe"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ DEBUG_cflags="-g -Wunused -Wshadow -Wpointer-arith -Wbad-function-cast -Wcast-qual -Wcast-align -Wwrite-strings -Wsign-compare -Waggregate-return -Wstrict-prototypes -Wmissing-prototypes -Wmissing-declarations -Wmissing-noreturn -Wformat -Wredundant-decls -Wnested-externs -Winline -pedantic"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ OPTIMIZE="-O3"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ PROFILE="-g -pg"
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libmemcache/files/dynamic_lookup-11.patch b/devel/libmemcache/files/dynamic_lookup-11.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..72848315791
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libmemcache/files/dynamic_lookup-11.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,92 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Recognize macOS 11 and later and simplify.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+https://debbugs.gnu.org/cgi/bugreport.cgi?bug=44605
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2006-02-21 02:03:22.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2021-07-06 17:51:33.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -8323,18 +8323,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag='${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *) # Darwin 1.3 on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- case ${MACOSX_DEPLOYMENT_TARGET} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.[012])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case $MACOSX_DEPLOYMENT_TARGET,$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 10.[012],*|,*powerpc*-darwin[5-8]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag='${wl}-undefined ${wl}dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ archive_cmds_need_lc=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -11302,18 +11298,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag_CXX='${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *) # Darwin 1.3 on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- case ${MACOSX_DEPLOYMENT_TARGET} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.[012])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case $MACOSX_DEPLOYMENT_TARGET,$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 10.[012],*|,*powerpc*-darwin[5-8]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag_CXX='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag_CXX='${wl}-undefined ${wl}dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ archive_cmds_need_lc_CXX=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -15369,18 +15361,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag_F77='${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *) # Darwin 1.3 on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- case ${MACOSX_DEPLOYMENT_TARGET} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.[012])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case $MACOSX_DEPLOYMENT_TARGET,$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 10.[012],*|,*powerpc*-darwin[5-8]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag_F77='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag_F77='${wl}-undefined ${wl}dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ archive_cmds_need_lc_F77=no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -17839,18 +17827,14 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag_GCJ='${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ *) # Darwin 1.3 on
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- if test -z ${MACOSX_DEPLOYMENT_TARGET} ; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- else
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- case ${MACOSX_DEPLOYMENT_TARGET} in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.[012])
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ case $MACOSX_DEPLOYMENT_TARGET,$host in
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ 10.[012],*|,*powerpc*-darwin[5-8]*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag_GCJ='${wl}-flat_namespace ${wl}-undefined ${wl}suppress'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- 10.*)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ *)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ allow_undefined_flag_GCJ='${wl}-undefined ${wl}dynamic_lookup'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ;;
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ esac
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ archive_cmds_need_lc_GCJ=no
</span><span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libmemcache/files/implicit.patch b/devel/libmemcache/files/implicit.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..4a1ac7d3ccc
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libmemcache/files/implicit.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,29 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Fix:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+error: implicitly declaring library function 'exit' with type 'void (int) __attribute__((noreturn))' [-Werror,-Wimplicit-function-declaration]
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2006-02-21 02:03:22.000000000 -0600
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2021-07-06 17:56:07.000000000 -0500
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -5252,6 +5252,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat >>conftest.$ac_ext <<_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <ctype.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #if ((' ' & 0x0FF) == 0x020)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define ISLOWER(c) ('a' <= (c) && (c) <= 'z')
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # define TOUPPER(c) (ISLOWER(c) ? 'A' + ((c) - 'a') : (c))
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27156,6 +27157,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat >>conftest.$ac_ext <<_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/socket.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/time.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -27232,6 +27234,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ cat >>conftest.$ac_ext <<_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* end confdefs.h. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#include <stdlib.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/types.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/socket.h>
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #include <sys/time.h>
</span></pre><pre style='margin:0'>
</pre>