libraries/compiz-plugins-extra: Fix crash with animations add-ons.

Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
M.Dinslage 2016-01-31 10:10:14 +07:00 committed by Willy Sudiarto Raharjo
parent 3a8ce1401b
commit c94b74ceec

View file

@ -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