summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--libre/kdelibs-libre/PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/libre/kdelibs-libre/PKGBUILD b/libre/kdelibs-libre/PKGBUILD
index 60f17de47..b3208d956 100644
--- a/libre/kdelibs-libre/PKGBUILD
+++ b/libre/kdelibs-libre/PKGBUILD
@@ -6,7 +6,7 @@
_pkgname=kdelibs
pkgname=kdelibs-libre
pkgver=4.13.2
-pkgrel=1
+pkgrel=2
pkgdesc="KDE Core Libraries, without nonfree plugins recommendation support"
arch=('i686' 'x86_64' 'mips64el')
url='https://projects.kde.org/projects/kde/kdelibs'
@@ -33,6 +33,8 @@ prepare() {
patch -p1 -i "${srcdir}"/kde-applications-menu.patch
# qmake refers to Qt5
patch -p1 -i "${srcdir}"/qt4.patch
+ # fix build with giflib 5.1.0
+ sed -i "/DGifCloseFile/s:file:&, NULL:g" khtml/imload/decoders/gifloader.cpp
# don't ask the user to download a plugin, it's probably nonfree.
patch -p1 -i "${srcdir}"/khtml-fsdg.diff
}