<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/6408541c53282fdc0ac9c9279b43447c3c0f12d3">https://github.com/macports/macports-ports/commit/6408541c53282fdc0ac9c9279b43447c3c0f12d3</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 6408541 python27: fix configure handling of lchmod
</span>6408541 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 6408541c53282fdc0ac9c9279b43447c3c0f12d3
</span>Author: Joshua Root <jmr@macports.org>
AuthorDate: Tue Apr 2 01:41:00 2019 +1100
<span style='display:block; white-space:pre;color:#404040;'> python27: fix configure handling of lchmod
</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/58285
</span>---
lang/python27/Portfile | 4 +++-
lang/python27/files/lchmod.patch | 31 +++++++++++++++++++++++++++++++
2 files changed, 34 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python27/Portfile b/lang/python27/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6ea06af..c158a33 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/lang/python27/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python27/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -7,6 +7,7 @@ name python27
</span> epoch 2
# Remember to keep py27-tkinter and py27-gdbm's versions sync'd with this
version 2.7.16
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span>
set major [lindex [split $version .] 0]
set branch [join [lrange [split ${version} .] 0 1] .]
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,7 +37,8 @@ patchfiles patch-Makefile.pre.in.diff \
</span> patch-Lib-ctypes-macholib-dyld.py.diff \
patch-configure.diff \
patch-libedit.diff \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- enable-loadable-sqlite-extensions.patch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ enable-loadable-sqlite-extensions.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ lchmod.patch
</span>
depends_build port:pkgconfig
depends_lib port:bzip2 \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/lang/python27/files/lchmod.patch b/lang/python27/files/lchmod.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..5d696e3
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/lang/python27/files/lchmod.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,31 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- pyconfig.h.in.orig 2019-03-03 05:17:42.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ pyconfig.h.in 2019-04-02 01:27:33.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -439,6 +439,9 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Define to 1 if you have the 'lchflags' function. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef HAVE_LCHFLAGS
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++/* Define to 1 if you have the `lchmod' function. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#undef HAVE_LCHMOD
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ /* Define to 1 if you have the `lchown' function. */
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ #undef HAVE_LCHOWN
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- configure.orig 2019-04-02 01:23:31.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ configure 2019-04-02 01:24:03.000000000 +1100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -10622,10 +10620,16 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # links. Some libc implementations have a stub lchmod implementation that always
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # returns an error.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "$MACHDEP" != linux; then
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ for ac_func in lchmod
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++do :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ac_fn_c_check_func "$LINENO" "lchmod" "ac_cv_func_lchmod"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if test "x$ac_cv_func_lchmod" = xyes; then :
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ cat >>confdefs.h <<_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++#define HAVE_LCHMOD 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++_ACEOF
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++done
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ fi
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>