summaryrefslogtreecommitdiffstats
path: root/libreoffice/build/libreoffice51.SlackBuild
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2016-04-10 18:59:17 +0000
committer Eric Hameleers <alien@slackware.com>2016-04-10 18:59:17 +0000
commit5f7cfd7641afa2030442e890732b6eb8615c2cb9 (patch)
tree7c841cf9959c3f8f864306649501259bf3a79d57 /libreoffice/build/libreoffice51.SlackBuild
parentcdd1b99399be3f3334e4e3fa5df54bf758a7cfea (diff)
downloadasb-5f7cfd7641afa2030442e890732b6eb8615c2cb9.tar.gz
asb-5f7cfd7641afa2030442e890732b6eb8615c2cb9.tar.xz
Fix build against glibc-2.23 (error: 'isnan' was not declared in this scope)
Diffstat (limited to 'libreoffice/build/libreoffice51.SlackBuild')
-rwxr-xr-xlibreoffice/build/libreoffice51.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/libreoffice/build/libreoffice51.SlackBuild b/libreoffice/build/libreoffice51.SlackBuild
index c29d1b90..2b1d283f 100755
--- a/libreoffice/build/libreoffice51.SlackBuild
+++ b/libreoffice/build/libreoffice51.SlackBuild
@@ -1012,6 +1012,9 @@ echo Building ...
# Apply our own (or borrowed) patches.
if [ "$P1" != "--oldbuild" ]; then
touch $OUTPUT/patch-$PRGNAM.log
+ # Fix build against glibc-2.23 (error: 'isnan' was not declared in this scope)
+ cat $SRCDIR/patches/libreoffice5.isnan.patch \
+ | patch -p1 --verbose 2>&1 | tee -a $OUTPUT/patch-$PRGNAM.log
# Temporarily disable a failing unit test:
sed -i -e /CppunitTest_sw_ooxmlimport/d sw/Module_sw.mk
fi