summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
author Matteo Bernardini2024-01-21 18:51:42 +0100
committer Matteo Bernardini2024-04-27 10:30:44 +0200
commit735bc2894ec7335d0673f5f6e7d5ee8bd6575938 (patch)
treea4c4bc528d316eee8f9433cc6c780170823f763d
parent68ac93024440c1dcb61e579018ce241a1ab44180 (diff)
downloadslackbuilds-abiword.tar.gz
office/abiword: Fix for libxml2 >= 2.12.x.abiword
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
-rw-r--r--office/abiword/abiword.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/office/abiword/abiword.SlackBuild b/office/abiword/abiword.SlackBuild
index 11707f4c3a..de522d319c 100644
--- a/office/abiword/abiword.SlackBuild
+++ b/office/abiword/abiword.SlackBuild
@@ -92,6 +92,10 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \+
+# https://www.linuxfromscratch.org/blfs/view/svn/xsoft/AbiWord.html
+sed -e '/libxml/a #include <libxml/xmlmemory.h>' \
+ -i src/af/util/xp/ut_stringbuf.cpp
+
patch -p1 < $CWD/enchant-2.1.patch
# 20200622 bkw: don't let abiword create /root/.config/abiword/profile