summaryrefslogtreecommitdiffstats
path: root/libraries/compiz-plugins-extra
diff options
context:
space:
mode:
author M.Dinslage <daedra1980@gmail.com>2016-01-31 10:10:14 +0700
committer Willy Sudiarto Raharjo <willysr@slackbuilds.org>2016-02-05 07:02:20 +0700
commitc94b74ceec5c101c07d71ecbaa1fc68e09018b0e (patch)
tree83b5a90e4b719ffe46d3a6abd40fe10fbda329ba /libraries/compiz-plugins-extra
parent3a8ce1401be579284b266d3ae424e7b373bccc0a (diff)
downloadslackbuilds-c94b74ceec5c101c07d71ecbaa1fc68e09018b0e.tar.gz
slackbuilds-c94b74ceec5c101c07d71ecbaa1fc68e09018b0e.tar.xz
libraries/compiz-plugins-extra: Fix crash with animations add-ons.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/compiz-plugins-extra')
-rw-r--r--libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild b/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild
index 3044f30af1..a41e4d6844 100644
--- a/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild
+++ b/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=compiz-plugins-extra
VERSION=${VERSION:-0.8.10}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,6 +51,10 @@ 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 {} \;
+# Fix crash when using animations add-ons.
+# https://bugzilla.redhat.com/show_bug.cgi?id=1225358
+sed -i 's,static inline,extern inline,g' src/animationaddon/polygon.c
+
./autogen.sh
# Fix hardcoded checks for pango and cairo