summaryrefslogtreecommitdiffstats
path: root/source/l/notify-python/notify-python.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/l/notify-python/notify-python.SlackBuild')
-rwxr-xr-xsource/l/notify-python/notify-python.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/l/notify-python/notify-python.SlackBuild b/source/l/notify-python/notify-python.SlackBuild
index 97ce72183..9227d8d08 100755
--- a/source/l/notify-python/notify-python.SlackBuild
+++ b/source/l/notify-python/notify-python.SlackBuild
@@ -25,7 +25,7 @@
PKGNAM=notify-python
VERSION=${VERSION:-$(echo $PKGNAM-*.tar.?z* | rev | cut -f 3- -d . | cut -f 1 -d - | rev)}
-BUILD=${BUILD:-1}
+BUILD=${BUILD:-3}
# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
@@ -67,6 +67,9 @@ chmod -R u+w,go+r-w,a-s .
# Fix http://trac.galago-project.org/ticket/121
rm -f src/pynotify.c
+# Fix build with libnotify-0.7 (thanks, Fedora)
+zcat $CWD/libnotify07.patch.gz | patch -p1 || exit 1
+
CFLAGS="$SLKCFLAGS" \
./configure \
--prefix=/usr \