summaryrefslogtreecommitdiff
path: root/source/kde/koffice/koffice.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/koffice/koffice.SlackBuild')
-rwxr-xr-xsource/kde/koffice/koffice.SlackBuild4
1 files changed, 4 insertions, 0 deletions
diff --git a/source/kde/koffice/koffice.SlackBuild b/source/kde/koffice/koffice.SlackBuild
index 1945b990..d7332bf5 100755
--- a/source/kde/koffice/koffice.SlackBuild
+++ b/source/kde/koffice/koffice.SlackBuild
@@ -46,6 +46,9 @@ cd $TMP
echo "Building koffice-$VERSION..."
tar xvf $CWD/../src/koffice-$VERSION.tar.?z* || exit 1
cd koffice-$VERSION
+
+zcat $CWD/koffice.krita.png14.diff.gz | patch -p1 --verbose || exit 1
+
chown -R root:root .
find . \
\( -perm 777 -o -perm 775 -o -perm 711 -o -perm 555 -o -perm 511 \) \
@@ -56,6 +59,7 @@ find . \
mkdir -p build
cd build
cmake \
+ $KDE_OPT_ARGS \
-DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \
-DCMAKE_BUILD_TYPE=Release \