summaryrefslogtreecommitdiff
path: root/vendor
diff options
context:
space:
mode:
authorValentin Rothberg <rothberg@redhat.com>2020-02-05 09:56:25 +0100
committerValentin Rothberg <rothberg@redhat.com>2020-02-05 09:56:25 +0100
commitbaec9f3b10faa4f319b92549ea460aba0af91a4d (patch)
treea389729bea940a98dc53aa5e7410ee8309b67c36 /vendor
parent801977b40d8500ff68cf5a6facd82f035735076a (diff)
downloadpodman-baec9f3b10faa4f319b92549ea460aba0af91a4d.tar.gz
podman-baec9f3b10faa4f319b92549ea460aba0af91a4d.tar.bz2
podman-baec9f3b10faa4f319b92549ea460aba0af91a4d.zip
vendor github.com/mtrmac/gpgme@v0.1.2
Fixes a build regression on CentOS 7 and RHEL 7 with older gpgme versions. Signed-off-by: Valentin Rothberg <rothberg@redhat.com>
Diffstat (limited to 'vendor')
-rw-r--r--vendor/github.com/mtrmac/gpgme/go_gpgme.h5
-rw-r--r--vendor/modules.txt2
2 files changed, 6 insertions, 1 deletions
diff --git a/vendor/github.com/mtrmac/gpgme/go_gpgme.h b/vendor/github.com/mtrmac/gpgme/go_gpgme.h
index eb3a4ba88..d4826ab36 100644
--- a/vendor/github.com/mtrmac/gpgme/go_gpgme.h
+++ b/vendor/github.com/mtrmac/gpgme/go_gpgme.h
@@ -6,6 +6,11 @@
#include <gpgme.h>
+/* GPGME_VERSION_NUMBER was introduced in 1.4.0 */
+#if !defined(GPGME_VERSION_NUMBER) || GPGME_VERSION_NUMBER < 0x010402
+typedef off_t gpgme_off_t; /* Introduced in 1.4.2 */
+#endif
+
extern ssize_t gogpgme_readfunc(void *handle, void *buffer, size_t size);
extern ssize_t gogpgme_writefunc(void *handle, void *buffer, size_t size);
extern off_t gogpgme_seekfunc(void *handle, off_t offset, int whence);
diff --git a/vendor/modules.txt b/vendor/modules.txt
index d845a9ba0..688a60a68 100644
--- a/vendor/modules.txt
+++ b/vendor/modules.txt
@@ -340,7 +340,7 @@ github.com/modern-go/reflect2
github.com/morikuni/aec
# github.com/mrunalp/fileutils v0.0.0-20171103030105-7d4729fb3618
github.com/mrunalp/fileutils
-# github.com/mtrmac/gpgme v0.1.1
+# github.com/mtrmac/gpgme v0.1.2
github.com/mtrmac/gpgme
# github.com/onsi/ginkgo v1.11.0
github.com/onsi/ginkgo