index : packages | |
Archlinux32 package modifications | gitolite user |
summaryrefslogtreecommitdiff |
author | Andreas Baumann <mail@andreasbaumann.cc> | 2019-02-14 08:00:18 +0100 |
---|---|---|
committer | Andreas Baumann <mail@andreasbaumann.cc> | 2019-02-14 08:00:18 +0100 |
commit | 4816dd87d0bf349eda4191bbaf592275ca41cc89 (patch) | |
tree | aef87275f3d9a104ebe4174bbc562da64ae271b3 | |
parent | 71c92ea4af174d3248fe82271214fffd500249b1 (diff) |
-rw-r--r-- | core/gpgme/0004-Avoid-Y2038-problem-on-32-bit-architectures.patch | 12 | ||||
-rw-r--r-- | core/gpgme/PKGBUILD | 10 |
diff --git a/core/gpgme/0004-Avoid-Y2038-problem-on-32-bit-architectures.patch b/core/gpgme/0004-Avoid-Y2038-problem-on-32-bit-architectures.patch new file mode 100644 index 00000000..3c562696 --- /dev/null +++ b/core/gpgme/0004-Avoid-Y2038-problem-on-32-bit-architectures.patch @@ -0,0 +1,12 @@ +diff --git a/lang/python/tests/t-callbacks.py b/lang/python/tests/t-callbacks.py +index 25a1c23..c2f9481 100755 +--- a/lang/python/tests/t-callbacks.py ++++ b/lang/python/tests/t-callbacks.py +@@ -95,7 +95,7 @@ Name-Real: Joe Tester + Name-Comment: with stupid passphrase + Name-Email: joe+gpg@example.org + Passphrase: Crypt0R0cks +-Expire-Date: 2099-12-31 ++Expire-Date: 2037-12-31 + </GnupgKeyParms> + """ 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" +} |