summaryrefslogtreecommitdiff
path: root/libraries/gtkimageview/gtkimageview.SlackBuild
diff options
context:
space:
mode:
authorMatteo Bernardini <ponce@slackbuilds.org>2015-09-02 10:47:59 +0200
committerWilly Sudiarto Raharjo <willysr@slackbuilds.org>2016-01-17 09:40:16 +0700
commita923c9685c02431f61fb37bdf72a380f6ff4a49d (patch)
tree4527b38db32adee3b32380b51a9e6f0f02985fd3 /libraries/gtkimageview/gtkimageview.SlackBuild
parentd8de9e2123f1fafd0b4218bc98d806ee5eab5924 (diff)
downloadslackbuilds-a923c9685c02431f61fb37bdf72a380f6ff4a49d.tar.gz
libraries/gtkimageview: Avoid breaking because of depr. functions.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org> Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'libraries/gtkimageview/gtkimageview.SlackBuild')
-rw-r--r--libraries/gtkimageview/gtkimageview.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/libraries/gtkimageview/gtkimageview.SlackBuild b/libraries/gtkimageview/gtkimageview.SlackBuild
index 6650aea4da..35f1e89ac5 100644
--- a/libraries/gtkimageview/gtkimageview.SlackBuild
+++ b/libraries/gtkimageview/gtkimageview.SlackBuild
@@ -6,7 +6,7 @@
PRGNAM=gtkimageview
VERSION=${VERSION:-1.6.4}
-BUILD=${BUILD:-2}
+BUILD=${BUILD:-3}
TAG=${TAG:-_SBo}
if [ -z "$ARCH" ]; then
@@ -51,6 +51,9 @@ find -L . \
\( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \
-exec chmod 644 {} \;
+# Build breaks because functions in gdk-pixbuf are now deprecated
+patch -p1 < $CWD/disable_Werror_for_gdk_pixbuf.patch
+
CFLAGS="$SLKCFLAGS" \
CXXFLAGS="$SLKCFLAGS" \
./configure \