forked from ports/contrib
libmspub: fixed build against gcc 10, fixed dependencies
This commit is contained in:
parent
ca6661f2e8
commit
b5b3c4c821
@ -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
|
||||
|
@ -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
|
||||
|
25
libmspub/missing_include.patch
Normal file
25
libmspub/missing_include.patch
Normal file
@ -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>
|
||||
|
Loading…
x
Reference in New Issue
Block a user