Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/core/gpgme/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2019-02-14 08:00:18 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2019-02-14 08:00:18 +0100
commit4816dd87d0bf349eda4191bbaf592275ca41cc89 (patch)
treeaef87275f3d9a104ebe4174bbc562da64ae271b3 /core/gpgme/PKGBUILD
parent71c92ea4af174d3248fe82271214fffd500249b1 (diff)
core/gpgme: fix for Python 32-bit tests failing due to tes cases requiring 64-bit time_t
Diffstat (limited to 'core/gpgme/PKGBUILD')
-rw-r--r--core/gpgme/PKGBUILD10
1 files changed, 10 insertions, 0 deletions
diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD
new file mode 100644
index 00000000..ac1ede8f
--- /dev/null
+++ b/core/gpgme/PKGBUILD
@@ -0,0 +1,10 @@
+# https://dev.gnupg.org/T4191
+# patch from Debian, see: https://salsa.debian.org/debian/gpgme/blob/debian/master/debian/patches/0004-Avoid-Y2038-problem-on-32-bit-architectures.patch
+
+source+=(0004-Avoid-Y2038-problem-on-32-bit-architectures.patch)
+sha256sums+=('0c788590e0bb7cc9da04457f94360ceef9cb9fc0525e6bfbf9fbb8d72801ae8f')
+
+prepare() {
+ cd ${pkgbase}-${pkgver}
+ patch -Np1 -i "$srcdir/0004-Avoid-Y2038-problem-on-32-bit-architectures.patch"
+}