aboutsummaryrefslogtreecommitdiff
path: root/desktop/parcellite/parcellite.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'desktop/parcellite/parcellite.SlackBuild')
-rw-r--r--desktop/parcellite/parcellite.SlackBuild7
1 files changed, 4 insertions, 3 deletions
diff --git a/desktop/parcellite/parcellite.SlackBuild b/desktop/parcellite/parcellite.SlackBuild
index 18a3019248c1b..1f1e7e9d7d218 100644
--- a/desktop/parcellite/parcellite.SlackBuild
+++ b/desktop/parcellite/parcellite.SlackBuild
@@ -4,16 +4,14 @@
# Written by Phillip Warner <pc_warner@yahoo.com>
PRGNAM=parcellite
-VERSION=${VERSION:-1.0.2rc2}
+VERSION=${VERSION:-1.0.2rc5}
BUILD=${BUILD:-1}
TAG=${TAG:-_SBo}
-# Automatically determine the architecture we're building on:
if [ -z "$ARCH" ]; then
case "$( uname -m )" in
i?86) ARCH=i486 ;;
arm*) ARCH=arm ;;
- # Unless $ARCH is already set, use uname -m for all other archs:
*) ARCH=$( uname -m ) ;;
esac
fi
@@ -57,6 +55,9 @@ if [ "$NOICON" = "YES" ]; then
sed -i "s/PARCELLITE_ICON/GTK_STOCK_PASTE/" src/main.c
sed -i "s/#define GTK_STOCK_PASTE \"parcellite\"//" src/main.c
fi
+# Starting with glib 2.32 it is now mandatory to
+# include glib.h instead of individual headers.
+patch -p1 -i $CWD/glib-single-include.patch
CFLAGS="$SLKCFLAGS" \
CPPFLAGS="$SLKCFLAGS" \