From dedea6949ca1f6df88eecf3c131cc7aaa0feff9d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrgen=20Buchm=C3=BCller?= Date: Fri, 9 Oct 2015 01:20:15 +0200 Subject: [PATCH] kde-runtime: fix for gpgme >= 1.6.0 --- .../patches/gpgme_file_offset_bits.patch | 25 +++++++++++++++++++ srcpkgs/kde-runtime/template | 2 +- 2 files changed, 26 insertions(+), 1 deletion(-) create mode 100644 srcpkgs/kde-runtime/patches/gpgme_file_offset_bits.patch diff --git a/srcpkgs/kde-runtime/patches/gpgme_file_offset_bits.patch b/srcpkgs/kde-runtime/patches/gpgme_file_offset_bits.patch new file mode 100644 index 00000000000..177fda90eb8 --- /dev/null +++ b/srcpkgs/kde-runtime/patches/gpgme_file_offset_bits.patch @@ -0,0 +1,25 @@ +Our gpgme package (>= 1.6.0) expects _FILE_OFFSET_BITS = 64 +to be defined when gpgme.h is included. + +--- kwalletd/backend/backendpersisthandler.cpp 2014-10-31 00:50:20.000000000 +0100 ++++ kwalletd/backend/backendpersisthandler.cpp 2015-10-09 01:11:46.115305255 +0200 +@@ -26,6 +26,8 @@ + #include + #include + #ifdef HAVE_QGPGME ++#undef _FILE_OFFSET_BITS ++#define _FILE_OFFSET_BITS 64 + #include + #include + #include +--- kwalletd/knewwalletdialog.cpp 2014-10-31 00:50:20.000000000 +0100 ++++ kwalletd/knewwalletdialog.cpp 2015-10-09 01:17:44.690277279 +0200 +@@ -24,6 +24,8 @@ + #include + #include + #include ++#undef _FILE_OFFSET_BITS ++#define _FILE_OFFSET_BITS 64 + #include + #include + #include diff --git a/srcpkgs/kde-runtime/template b/srcpkgs/kde-runtime/template index 98e5cb6d7b8..7c5f68911a1 100644 --- a/srcpkgs/kde-runtime/template +++ b/srcpkgs/kde-runtime/template @@ -1,7 +1,7 @@ # Template file for 'kde-runtime' pkgname=kde-runtime version=4.14.3 -revision=2 +revision=3 build_style=cmake configure_args="-Wno-dev -DKDE4_BUILD_TESTS=OFF DWITH_QNtrack=OFF -DWITH_NepomukCore=OFF" # XXX OpenSLP