<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/175d12d1e54d68bed4c93855dfeb3b0099e12797">https://github.com/macports/macports-ports/commit/175d12d1e54d68bed4c93855dfeb3b0099e12797</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 175d12d1e54d68bed4c93855dfeb3b0099e12797
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sat Dec 24 04:46:58 2016 -0800
<span style='display:block; white-space:pre;color:#404040;'> gpgme: update to version 1.8.0
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> Fix C, C++ build issues. Qt bindings to be handled in a separate port.
</span><span style='display:block; white-space:pre;color:#404040;'> Remove outdated Id tag line.
</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/53122
</span>---
devel/gpgme/Portfile | 21 ++++++++++++++-------
devel/gpgme/files/patch-configure.ac.diff | 2 +-
2 files changed, 15 insertions(+), 8 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gpgme/Portfile b/devel/gpgme/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index ba8878a..b5b67d9 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gpgme/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gpgme/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,10 +1,9 @@
</span> # -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# $Id$
</span>
PortSystem 1.0
name gpgme
<span style='display:block; white-space:pre;background:#ffe0e0;'>-version 1.7.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.8.0
</span> categories devel security crypto
license {LGPL-2.1+ GPL-3+}
maintainers schenkel.net:leonardo devans openmaintainer
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -22,8 +21,8 @@ homepage http://www.gnupg.org/related_software/gpgme/
</span> master_sites gnupg
use_bzip2 yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3159142bd912fe482566a78f48d19fe6a4d3221e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 71f55fed0f2b3eaf7a606e59772aa645ce3ffff322d361ce359951b3f755cc48
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 b21a322ddbaf160538267cf201aeec207b8287f6 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 596097257c2ce22e747741f8ff3d7e24f6e26231fa198a41b2a072e62d1e5d33
</span>
# either gnupg2 (the default) or gnupg21 is needed for running the unit tests
# and at runtime but does not link directly with gpgme
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -36,8 +35,6 @@ depends_lib port:pth \
</span>
depends_run path:bin/gpg2:gnupg2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_parallel_build no
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span> patchfiles patch-configure.ac.diff \
patch-tests-gpg-Makefile.am.diff
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -51,15 +48,25 @@ use_autoreconf yes
</span> autoreconf.args -fvi
# enable cl cpp language bindings for now to avoid opportunistic failures (#52341)
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# TODO: add bindings for python and qt
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# TODO: add bindings for python
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Due to the requirement to support multiple Qt versions,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# gpgme Qt5 bindings will be handled in separate port
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see https://trac.macports.org/ticket/53122
</span>
lappend languages cl
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# quiet various implicit function declaration warnings
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see /usr/include/sys/cdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+configure.cflags-append -D_POSIX_C_SOURCE=200112L
</span>
# cpp bindings require libc++
platform darwin {
if {${configure.cxx_stdlib} eq "libc++"} {
lappend languages cpp
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# fix C++ bindings build failure in 1.8.0+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# keygenerationresult.cpp:43:23: error: use of undeclared identifier 'strdup'
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# see /usr/include/sys/cdefs.h
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ configure.cxxflags-append -D_POSIX_C_SOURCE=200112L
</span> }
}
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/gpgme/files/patch-configure.ac.diff b/devel/gpgme/files/patch-configure.ac.diff
</span><span style='display:block; white-space:pre;color:#808080;'>index 57b3957..ffa97ce 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/gpgme/files/patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/gpgme/files/patch-configure.ac.diff
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -1,6 +1,6 @@
</span> --- configure.ac.orig 2015-11-27 13:06:16.000000000 -0800
+++ configure.ac 2015-11-27 13:06:37.000000000 -0800
<span style='display:block; white-space:pre;background:#ffe0e0;'>-@@ -515,7 +515,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -516,7 +516,7 @@
</span>
# Checks for header files.
</pre><pre style='margin:0'>
</pre>