summaryrefslogtreecommitdiffstats
path: root/kde/koffice/Pkgfile
diff options
context:
space:
mode:
Diffstat (limited to 'kde/koffice/Pkgfile')
-rw-r--r--kde/koffice/Pkgfile9
1 files changed, 7 insertions, 2 deletions
diff --git a/kde/koffice/Pkgfile b/kde/koffice/Pkgfile
index e14a821a2..144c19e97 100644
--- a/kde/koffice/Pkgfile
+++ b/kde/koffice/Pkgfile
@@ -8,10 +8,15 @@ name=koffice
version=2.1.2
release=1
source=(ftp://ftp.kde.org/pub/kde/stable/$name-$version/$name-$version.tar.bz2 \
- ftp://ftp.kde.org/pub/kde/stable/$name-$version/$name-l10n/$name-l10n-fr-$version.tar.bz2)
+ ftp://ftp.kde.org/pub/kde/stable/$name-$version/$name-l10n/$name-l10n-fr-$version.tar.bz2\
+ libpng14.patch koffice-2.1.2-gcc-4.5.0-1.patch)
build() {
- mkdir build
+ cd $name-$version
+ patch -Np0 -i ../libpng14.patch
+ patch -Np1 -i ../koffice-2.1.2-gcc-4.5.0-1.patch
+ cd ..
+ mkdir build
cd build
cmake ../${name}-l10n-fr-$version \
-DCMAKE_INSTALL_PREFIX=/usr