Add patch

This commit is contained in:
Manuel 2012-06-10 22:38:04 +00:00
parent c285b735f3
commit 3560543b6d

View File

@ -55,11 +55,8 @@ md5sums=(`grep ${pkgbase}-$_kdever.tar.xz ../kde-sc.md5 | cut -d" " -f1`)
build() {
cd ${srcdir}/${pkgbase}-${pkgver}
# Fixme: why this?
export CFLAGS="-fPIC ${CFLAGS[@]}"
export CXXFLAGS="-fPIC ${CXXFLAGS[@]}"
patch -p0 -i ${startdir}/fixdoc.patch
patch -p0 -i ${startdir}/fixbuild.patch
msg "starting build ..."
cmake . -DCMAKE_BUILD_TYPE=${_build_type} \