diff options
author | Tim Biermann <tbier@posteo.de> | 2020-10-16 21:21:00 +0000 |
---|---|---|
committer | Tim Biermann <tbier@posteo.de> | 2020-10-16 21:21:00 +0000 |
commit | b5b3c4c8216dc0a04cfa2cd1cf4aa3a4f4812e2d (patch) | |
tree | f2682729e870892f4d7fd8b6a5dacef49a88caf4 /libmspub | |
parent | ca6661f2e8b30814cfebd14a1a37cfb7610076dc (diff) | |
download | contrib-b5b3c4c8216dc0a04cfa2cd1cf4aa3a4f4812e2d.tar.gz contrib-b5b3c4c8216dc0a04cfa2cd1cf4aa3a4f4812e2d.tar.xz |
libmspub: fixed build against gcc 10, fixed dependencies
Diffstat (limited to 'libmspub')
-rw-r--r-- | libmspub/.signature | 5 | ||||
-rw-r--r-- | libmspub/Pkgfile | 6 | ||||
-rw-r--r-- | libmspub/missing_include.patch | 25 |
3 files changed, 32 insertions, 4 deletions
diff --git a/libmspub/.signature b/libmspub/.signature index 871ee0e85..c41ef8c7c 100644 --- a/libmspub/.signature +++ b/libmspub/.signature @@ -1,5 +1,6 @@ untrusted comment: verify with /etc/ports/contrib.pub -RWSagIOpLGJF38eJ+PDt/cR0c2xXrycBu0hegE/56gkGbqPsMEkmBNhoUCjgDoSPBh4UzP6aVoZCueimvJr2vndZaanfJiUchAI= -SHA256 (Pkgfile) = 7f136c6aacd2a1ef528acc8bebe8c950fad345349459a3ee06acff211ed7ae13 +RWSagIOpLGJF3zRerLxiD3FFLD2jtuE5NALN6BvQJTHWqOOzi/PuyPgNszyl2uSGfOwdlKXQd5S2LdF9gvr0wc6p3EzGKPYZZww= +SHA256 (Pkgfile) = c2ffd1ac75b63ea6068f23129493d34991d621b6e41bf74f623040838a62855b SHA256 (.footprint) = c8c4c6a874318cd6b040da6b4a816e690a7aa8b0c2631a40a5643face3b2cbb7 SHA256 (libmspub-0.1.4.tar.xz) = ef36c1a1aabb2ba3b0bedaaafe717bf4480be2ba8de6f3894be5fd3702b013ba +SHA256 (missing_include.patch) = 7fcc8f5a2cdfc91b7c8d4fdc2e30c7be5dacc7c450eab2b083d1539970d04e6e diff --git a/libmspub/Pkgfile b/libmspub/Pkgfile index e96f8e897..896baf8a3 100644 --- a/libmspub/Pkgfile +++ b/libmspub/Pkgfile @@ -1,15 +1,17 @@ # Description: Microsoft Publisher file format parser library # URL: https://wiki.documentfoundation.org/DLP/Libraries/libmspub # Maintainer: Tim Biermann, tbier at posteo dot de -# Depends on: icu librevenge zlib +# Depends on: icu libwpd name=libmspub version=0.1.4 release=1 -source=(https://dev-www.libreoffice.org/src/libmspub/$name-$version.tar.xz) +source=(https://dev-www.libreoffice.org/src/libmspub/$name-$version.tar.xz + missing_include.patch) build() { cd $name-$version + patch -Np1 -i $SRC/missing_include.patch ./configure --prefix=/usr make make DESTDIR=$PKG install diff --git a/libmspub/missing_include.patch b/libmspub/missing_include.patch new file mode 100644 index 000000000..180fc7ec1 --- /dev/null +++ b/libmspub/missing_include.patch @@ -0,0 +1,25 @@ +From 698bed839c9129fa7a90ca1b5a33bf777bc028d1 Mon Sep 17 00:00:00 2001 +From: Stephan Bergmann <sbergman@redhat.com> +Date: Tue, 11 Jun 2019 12:15:28 +0200 +Subject: [PATCH] missing include + +Change-Id: I3c5c085f55223688cdc7b972f7c7981411881263 +Reviewed-on: https://gerrit.libreoffice.org/73814 +Reviewed-by: Michael Stahl <Michael.Stahl@cib.de> +Tested-by: Michael Stahl <Michael.Stahl@cib.de> +--- + src/lib/MSPUBMetaData.h | 1 + + 1 file changed, 1 insertion(+) + +diff --git a/src/lib/MSPUBMetaData.h b/src/lib/MSPUBMetaData.h +index 9167f4f..27bdd4f 100644 +--- a/src/lib/MSPUBMetaData.h ++++ b/src/lib/MSPUBMetaData.h +@@ -13,6 +13,7 @@ + #include <map> + #include <utility> + #include <vector> ++#include <stdint.h> + + #include <librevenge/librevenge.h> + |