aboutsummaryrefslogtreecommitdiff
path: root/libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild
diff options
context:
space:
mode:
authorM.Dinslage <daedra1980@gmail.com>2016-01-27 21:52:17 +0700
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-27 21:52:17 +0700
commitf037a9a09e1e15fb0b5c141c742f8c655955eadb (patch)
tree96cc082efd9485169b52b8e6c95e569214a55548 /libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild
parentfbd5bce35dd8171768675733385221d34b2cac91 (diff)
libraries/compiz-plugins-main: Fix crash with newer X.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild')
-rw-r--r--libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild6
1 files changed, 5 insertions, 1 deletions
diff --git a/libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild b/libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild
index 3c154a122e7fd..489ed9b206aac 100644
--- a/libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild
+++ b/libraries/compiz-plugins-main/compiz-plugins-main.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=compiz-plugins-main
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 crashing when animation plugin in used.
+# Thanks to the fedora project for this patch
+patch -p1 < $CWD/compiz-plugins-main_animation-plugin-x11-wm.patch
+
./autogen.sh
# Fix hardcoded checks for pango and cairo
if [ "$ARCH" = "x86_64" ]; then