summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2020-12-08 17:36:17 +0100
committer Matteo Bernardini2021-03-06 10:03:54 +0100
commit68d229540268e1fe680b687a9bb362a3b2db5f84 (patch)
tree48a0a5a8a02bcec2fee5e99e8ffafc69e14e8dba
parent3c59cb22425adf5d8a0d1a79baf00e6d9334c620 (diff)
downloadslackbuilds-libmspub.tar.gz
libraries/libmspub: Fix missing include.libmspub
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--libraries/libmspub/libmspub.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libraries/libmspub/libmspub.SlackBuild b/libraries/libmspub/libmspub.SlackBuild
index 378f667fbb..4775da530c 100644
--- a/libraries/libmspub/libmspub.SlackBuild
+++ b/libraries/libmspub/libmspub.SlackBuild
@@ -74,6 +74,9 @@ case "${DOC:-0}" in
*) doc='--with-docs' ;;
esac
+# https://github.com/LibreOffice/libmspub/commit/698bed8
+sed -i '/^#include <vector>$/a #include <stdint.h>' src/lib/MSPUBMetaData.h
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \