diff options
-rw-r--r-- | network/dwb/dwb.SlackBuild | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/network/dwb/dwb.SlackBuild b/network/dwb/dwb.SlackBuild index fc108f8da98cb..4050f7e4e4d53 100644 --- a/network/dwb/dwb.SlackBuild +++ b/network/dwb/dwb.SlackBuild @@ -72,6 +72,12 @@ find -L . \ \( -perm 666 -o -perm 664 -o -perm 640 -o -perm 600 -o -perm 444 \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; +# Fixup for glibc-2.23 and/or gcc-5.3.0 +# https://bitbucket.org/portix/dwb/pull-requests/26/fix-building-on-newer-gcc-where-isnan-type/diff +sed -i \ + -e 's/int id = JSValueToNumber/double id = JSValueToNumber/' \ + src/scripts/cl_gobject.c + # fix the location of man pages sed -i '/^MANDIR/s/DATAROOTDIR/PREFIX/' config.mk |