cat $CWD/koffice-xpdf-CVE-2007-3387.diff | patch -p0 --verbose || exit 1
cat $CWD/koffice-1.6.3-xpdf2-CVE-2007-4352-5392-5393.diff | patch -p0 --verbose || exit 1
cat $CWD/KWDocument.cpp.diff | patch -p0 --verbose || exit 1
cat $CWD/koffice-krita.gcc43.diff | patch -p1 --verbose || exit 1
cat $CWD/koffice-kword.gcc43.diff | patch -p1 --verbose || exit 1