[arch-commits] Commit in kdepim/trunk (PKGBUILD fix-build.patch)
Andrea Scarpino
andrea at archlinux.org
Mon Jul 30 08:14:02 UTC 2012
Date: Monday, July 30, 2012 @ 04:14:02
Author: andrea
Revision: 164316
Fix kleopatra build
Added:
kdepim/trunk/fix-build.patch
Modified:
kdepim/trunk/PKGBUILD
-----------------+
PKGBUILD | 13 +++++++++----
fix-build.patch | 11 +++++++++++
2 files changed, 20 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-07-30 08:10:34 UTC (rev 164315)
+++ PKGBUILD 2012-07-30 08:14:02 UTC (rev 164316)
@@ -27,18 +27,23 @@
groups=('kde' 'kdepim')
makedepends=('cmake' 'automoc4' 'boost' 'kdepim-runtime' 'libxss' 'pilot-link'
'kde-agent')
- source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz")
-sha1sums=('5c2f2ef3a3be118ad673ebe8b307bf7fe15bffbf')
+source=("http://download.kde.org/stable/${pkgver}/src/${pkgbase}-${pkgver}.tar.xz"
+ 'fix-build.patch')
+sha1sums=('5c2f2ef3a3be118ad673ebe8b307bf7fe15bffbf'
+ '974056ad2c3a00b33a8ac9403b369ab636000832')
build() {
- cd "${srcdir}"
+ cd ${pkgbase}-${pkgver}
+ patch -p1 -i "${srcdir}"/fix-build.patch
+ cd ..
+
mkdir build
cd build
cmake ../${pkgbase}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_SKIP_RPATH=ON \
-DCMAKE_INSTALL_PREFIX=/usr \
- -DKDEPIM_BUILD_MOBILE=OFF
+ -DKDEPIM_BUILD_MOBILE=OFF
make
}
Added: fix-build.patch
===================================================================
--- fix-build.patch (rev 0)
+++ fix-build.patch 2012-07-30 08:14:02 UTC (rev 164316)
@@ -0,0 +1,11 @@
+--- kdepim-4.9.0/kleopatra/CMakeLists.txt~ 2012-07-30 08:06:15.031181647 +0000
++++ kdepim-4.9.0/kleopatra/CMakeLists.txt 2012-07-30 08:07:13.594082584 +0000
+@@ -365,7 +365,7 @@
+ endif(KDEPIM_MOBILE_UI)
+
+ add_definitions ( -DKDE_DEFAULT_DEBUG_AREA=5151 )
+-
++add_definitions ( -DBOOST_TT_HAS_OPERATOR_HPP_INCLUDED )
+
+ kde4_add_app_icon(_kleopatra_mainwindow_SRCS "hi*-app-kleopatra.png")
+ kde4_add_executable(kleopatra_bin ${_kleopatra_SRCS} ${_kleopatra_mainwindow_SRCS} ${_kleopatra_uiserver_SRCS} ${_kleopatra_libkdepim_SRCS} )
More information about the arch-commits
mailing list