summaryrefslogtreecommitdiff
path: root/source/kde/kdenetwork/kdenetwork.SlackBuild
diff options
context:
space:
mode:
Diffstat (limited to 'source/kde/kdenetwork/kdenetwork.SlackBuild')
-rwxr-xr-xsource/kde/kdenetwork/kdenetwork.SlackBuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/source/kde/kdenetwork/kdenetwork.SlackBuild b/source/kde/kdenetwork/kdenetwork.SlackBuild
index 6939ad4c..9ff64fb9 100755
--- a/source/kde/kdenetwork/kdenetwork.SlackBuild
+++ b/source/kde/kdenetwork/kdenetwork.SlackBuild
@@ -47,7 +47,8 @@ echo "Building kdenetwork-$VERSION..."
tar xvf $CWD/../src/kdenetwork-$VERSION.tar.?z* || exit 1
cd kdenetwork-$VERSION
-zcat $CWD/kopete-r986796.diff.gz | patch -p4 --verbose || exit 1
+# CVE-2010-1000 and CVE-2010-1511:
+zcat $CWD/kget.kde44.CVE-2010-1000-1511.diff.gz | patch -p0 --verbose || exit 1
chown -R root:root .
find . \
@@ -59,6 +60,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 \
@@ -66,6 +68,7 @@ cd build
-DMAN_INSTALL_DIR=/usr/man \
-DSYSCONF_INSTALL_DIR=/etc/kde \
-DLIB_SUFFIX=${LIBDIRSUFFIX} \
+ -DWITH_irc=ON \
..
make $NUMJOBS || exit 1
make install DESTDIR=$PKG || exit 1