summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild5
-rw-r--r--libraries/compiz-plugins-extra/libnotify.patch14
2 files changed, 18 insertions, 1 deletions
diff --git a/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild b/libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild
index 25bc6fa415..8429270a0c 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.8}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-2}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -56,6 +56,9 @@ if [ "$ARCH" = "x86_64" ]; then
sed -i 's,/lib/pkgconfig,/lib64/pkgconfig,g' configure
fi
+# Fix for libnotify 0.7.x
+patch -p1 -i $CWD/libnotify.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
LDFLAGS="$SLKLDFLAGS" \
diff --git a/libraries/compiz-plugins-extra/libnotify.patch b/libraries/compiz-plugins-extra/libnotify.patch
new file mode 100644
index 0000000000..39bc56bb80
--- /dev/null
+++ b/libraries/compiz-plugins-extra/libnotify.patch
@@ -0,0 +1,14 @@
+Index: compiz-plugins-extra-0.8.8/src/notification/notification.c
+===================================================================
+--- compiz-plugins-extra-0.8.8.orig/src/notification/notification.c
++++ compiz-plugins-extra-0.8.8/src/notification/notification.c
+@@ -104,9 +104,6 @@ notifyLogMessage (const char *componen
+ n = notify_notification_new (logLevel,
+ message,
+ iconUri
+-#if !defined (HAVE_LIBNOTIFY_0_6_1)
+- , NULL
+-#endif
+ );
+
+ notify_notification_set_timeout (n, nd->timeout);