summaryrefslogtreecommitdiffstats
path: root/office/abiword/abiword.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'office/abiword/abiword.SlackBuild')
-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