summaryrefslogtreecommitdiff
path: root/core/gpgme/PKGBUILD
diff options
context:
space:
mode:
authorAndreas Baumann <mail@andreasbaumann.cc>2022-02-12 18:35:45 +0100
committerAndreas Baumann <mail@andreasbaumann.cc>2022-02-12 18:35:45 +0100
commitca854b574817a9bd09da9d033c35de0abe798d0a (patch)
tree370a9d7dee65dbc2ec805bbb79e4c53ec04e4293 /core/gpgme/PKGBUILD
parent50a696754da024a56ead45f227ff2c6119d240a1 (diff)
downloadpackages-ca854b574817a9bd09da9d033c35de0abe798d0a.tar.xz
core/gpgme: removed test patches (fixed upstream), added _FILE_OFFSET_BITS=64 to pgpqt part
Diffstat (limited to 'core/gpgme/PKGBUILD')
-rw-r--r--core/gpgme/PKGBUILD38
1 files changed, 9 insertions, 29 deletions
diff --git a/core/gpgme/PKGBUILD b/core/gpgme/PKGBUILD
index 463f9bd5..e1b4abf1 100644
--- a/core/gpgme/PKGBUILD
+++ b/core/gpgme/PKGBUILD
@@ -23,34 +23,14 @@ eval "$(
'
)"
-# https://dev.gnupg.org/T5526: t-various which fails on 32-bit (i386)
-
-source+=(fix-qt-test-t-various-for-i386.patch)
-sha256sums+=('e64d08a6035ad4f856d36658580b909a0828c023b71589be5fb226d468de9415')
-
-eval "$(
- {
- declare -f prepare || \
- printf 'prepare() {\n}\n'
- } \
- | sed '
- $i cd "${srcdir}/${pkgbase}-${pkgver}" \
- patch -Np1 -i "$srcdir/fix-qt-test-t-various-for-i386.patch"
- '
-)"
-
-# https://dev.gnupg.org/T5509, t-edit-sign does a member access on a freed object
-
-source+=(fix-gpg-test-t-edit-sign-signed_key_uids.patch)
-sha256sums+=('f3bb1aafd99d317c18130cc475f8911c9323ae005f118d10fdafd3e11ca799a8')
-
+# qt part lost it's settings for 64-bit file offset support?
eval "$(
- {
- declare -f prepare || \
- printf 'prepare() {\n}\n'
- } \
- | sed '
- $i cd "${srcdir}/${pkgbase}-${pkgver}" \
- patch -Np1 -i "$srcdir/fix-gpg-test-t-edit-sign-signed_key_uids.patch"
- '
+ declare -f build | \
+ sed '
+ s/make/make CXXFLAGS='-D_FILE_OFFSET_BITS=64' /
+ '
+ declare -f package_qgpgme | \
+ sed '
+ s/make/make CXXFLAGS='-D_FILE_OFFSET_BITS=64' /
+ '
)"