diff options
author | dsomero <xgizzmo@slackbuilds.org> | 2012-09-24 18:57:11 -0400 |
---|---|---|
committer | dsomero <xgizzmo@slackbuilds.org> | 2012-09-25 00:12:59 -0400 |
commit | 8a905fad57b3a5279dd07411469db5bac83d743e (patch) | |
tree | 2ea444a769d500c0411b38b2500cfec28b2386aa /libraries/compiz-plugins-extra | |
parent | 820c53b266e1c7f48590440501820a99720f9aa7 (diff) |
libraries/compiz-plugins-extra: Patched for libnotify 0.7.x
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'libraries/compiz-plugins-extra')
-rw-r--r-- | libraries/compiz-plugins-extra/compiz-plugins-extra.SlackBuild | 5 | ||||
-rw-r--r-- | libraries/compiz-plugins-extra/libnotify.patch | 14 |
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 25bc6fa4156b..8429270a0c0f 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 000000000000..39bc56bb801f --- /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); |