<pre style='margin:0'>
Rainer Müller (raimue) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/674876625d12a4da1dd1e8ba4a42696a766a1d54">https://github.com/macports/macports-ports/commit/674876625d12a4da1dd1e8ba4a42696a766a1d54</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 6748766 diffoscope: set correct locale for LC_CTYPE
</span>6748766 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 674876625d12a4da1dd1e8ba4a42696a766a1d54
</span>Author: Rainer Müller <raimue@macports.org>
AuthorDate: Tue Dec 6 21:02:38 2016 +0100
<span style='display:block; white-space:pre;color:#404040;'> diffoscope: set correct locale for LC_CTYPE
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The default setting of LC_CTYPE="C.UTF-8" is not valid on macOS,
</span><span style='display:block; white-space:pre;color:#404040;'> use LC_CTYPE="UTF-8" instead.
</span>---
sysutils/diffoscope/Portfile | 3 +++
sysutils/diffoscope/files/patch-locale.diff | 11 +++++++++++
2 files changed, 14 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/diffoscope/Portfile b/sysutils/diffoscope/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 5c20952..c590f13 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/diffoscope/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/diffoscope/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,6 +6,7 @@ PortGroup python 1.0
</span>
name diffoscope
version 63
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> platforms darwin
supported_archs noarch
license GPL-3+
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +41,8 @@ depends_run-append port:gnutar \
</span> bin:gzip:gzip \
bin:cpio:cpio
<span style='display:block; white-space:pre;background:#e0ffe0;'>+patchfiles patch-locale.diff
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> # MacPorts >= 2.4
#depends_test-append \
# port:py${python.version}-py \
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/diffoscope/files/patch-locale.diff b/sysutils/diffoscope/files/patch-locale.diff
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 0000000..8fcb005
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/diffoscope/files/patch-locale.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;'>+--- diffoscope/__init__.py 2016-12-06 20:57:20.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ diffoscope/__init__.py 2016-12-06 20:57:34.000000000 +0100
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -82,7 +82,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'LC_MESSAGES', 'LC_PAPER', 'LC_NAME', 'LC_ADDRESS',
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 'LC_TELEPHONE', 'LC_MEASUREMENT', 'LC_IDENTIFICATION']:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os.environ[var] = 'C'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- os.environ['LC_CTYPE'] = 'C.UTF-8'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ os.environ['LC_CTYPE'] = 'UTF-8'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ os.environ['TZ'] = 'UTC'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span></pre><pre style='margin:0'>
</pre>