diff --git a/libetonyek/PKGBUILD b/libetonyek/PKGBUILD index 79f9b89806..f48433e7a1 100644 --- a/libetonyek/PKGBUILD +++ b/libetonyek/PKGBUILD @@ -5,15 +5,22 @@ pkgname=libetonyek pkgver=0.1.9 -pkgrel=2 +pkgrel=3 pkgdesc='Library and a set of tools for reading and converting Apple Keynote presentations' arch=(x86_64 powerpc64le) url="https://wiki.documentfoundation.org/DLP/Libraries/libetonyek" license=('MPL') depends=('libxml2' 'zlib' 'libwpd' 'boost-libs' 'librevenge' 'liblangtag') makedepends=('boost' 'cppunit' 'gperf' 'doxygen' 'glm' 'mdds') -source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz) -sha256sums=('e61677e8799ce6e55b25afc11aa5339113f6a49cff031f336e32fa58635b1a4a') +source=(https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz + libetonyek-c++11.patch) +sha256sums=('e61677e8799ce6e55b25afc11aa5339113f6a49cff031f336e32fa58635b1a4a' + 'b602584b40c00876a00f9f9d58917799007a946bc02e388da3e3e7e51ed1722e') + +prepare() { + cd $pkgname-$pkgver + patch -Np1 -i ${srcdir}/libetonyek-c++11.patch +} build() { cd $pkgname-$pkgver diff --git a/libetonyek/libetonyek-c++11.patch b/libetonyek/libetonyek-c++11.patch new file mode 100644 index 0000000000..69815abc30 --- /dev/null +++ b/libetonyek/libetonyek-c++11.patch @@ -0,0 +1,10 @@ +--- libetonyek-0.1.9/src/lib/NUM3Parser.cpp.orig 2020-12-14 13:00:46.803701086 +0100 ++++ libetonyek-0.1.9/src/lib/NUM3Parser.cpp 2020-12-14 13:01:03.060064354 +0100 +@@ -7,6 +7,7 @@ + * file, You can obtain one at http://mozilla.org/MPL/2.0/. + */ + ++#include + #include + + #include "NUM3Parser.h"