summaryrefslogtreecommitdiffstats
path: root/chromium
diff options
context:
space:
mode:
author Eric Hameleers <alien@slackware.com>2017-12-20 14:42:52 +0000
committer Eric Hameleers <alien@slackware.com>2017-12-20 14:42:52 +0000
commit27fab630d81e90fcaf77381476f193370c95a9a5 (patch)
treef511738d33f2e97ec151cec6d28874c997f01f12 /chromium
parent48b977e0586630d7032bc9cc26126f5a8dc45f7c (diff)
downloadasb-27fab630d81e90fcaf77381476f193370c95a9a5.tar.gz
asb-27fab630d81e90fcaf77381476f193370c95a9a5.tar.xz
chromium: Explicitly include math.h - required for Slackware > 14.2
Diffstat (limited to 'chromium')
-rwxr-xr-xchromium/build/chromium.SlackBuild3
1 files changed, 3 insertions, 0 deletions
diff --git a/chromium/build/chromium.SlackBuild b/chromium/build/chromium.SlackBuild
index 0ab0ca1a..48a5e5e9 100755
--- a/chromium/build/chromium.SlackBuild
+++ b/chromium/build/chromium.SlackBuild
@@ -532,6 +532,9 @@ touch $OUTPUT/patch-${PRGNAM}.log
# Fix compilation with gcc5:
cat $SRCDIR/patches/chromium_gcc5.patch | patch -p1 --verbose \
2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log
+# Explicitly include math.h (patch borrowed from Gentoo):
+cat $SRCDIR/patches/chromium_webrtc-r0.patch | patch -p1 --verbose \
+ 2>&1 | tee -a $OUTPUT/patch-${PRGNAM}.log
# When compiling google's clang on 32bit Slackware use 'i586' in the triplet.
# I am a python noob so this is clumsy, better implementation is welcome :-)
cp $SRCDIR/patches/clang.toolchains.i586.triple.diff .