From bf35116f9d203dcafce808a6c7b3dd5a0db8afbc Mon Sep 17 00:00:00 2001 From: root Date: Tue, 2 Aug 2011 04:35:55 +0000 Subject: Tue Aug 2 04:35:55 UTC 2011 --- community/wt/PKGBUILD | 14 +++++++++----- community/wt/wt-boost-1.47.patch | 11 +++++++++++ 2 files changed, 20 insertions(+), 5 deletions(-) create mode 100644 community/wt/wt-boost-1.47.patch (limited to 'community/wt') diff --git a/community/wt/PKGBUILD b/community/wt/PKGBUILD index a97a41844..d0024d3f5 100644 --- a/community/wt/PKGBUILD +++ b/community/wt/PKGBUILD @@ -1,10 +1,10 @@ -# $Id: PKGBUILD 51980 2011-07-18 20:26:38Z spupykin $ +# $Id: PKGBUILD 52510 2011-07-25 22:14:25Z spupykin $ # Maintainer: Sergej Pupykin # Contributor: Denis Martinez pkgname=wt pkgver=3.1.10 -pkgrel=2 +pkgrel=3 pkgdesc="a C++ library and application server for developing and deploying web applications" arch=('i686' 'x86_64') url="http://www.webtoolkit.eu/" @@ -23,15 +23,19 @@ optdepends=('openssl: for SSL support in built-in webserver' 'mysql++: for the hangman example' 'qt: for the Wt/Qt interopability example (wtwithqt)') backup=('etc/wt/wt_config.xml') -source=(http://downloads.sourceforge.net/witty/$pkgname-${pkgver}.tar.gz) -md5sums=('535945f48f479e74b893adf5b1a857b7') +source=(http://downloads.sourceforge.net/witty/$pkgname-${pkgver}.tar.gz + wt-boost-1.47.patch) +md5sums=('535945f48f479e74b893adf5b1a857b7' + '9374ca2e0af1e951d585872ffface805') build() { cd ${srcdir}/${pkgname}-${pkgver} - mkdir build + patch -Rp1 <$srcdir/wt-boost-1.47.patch + mkdir -p build cd build cmake -DCONNECTOR_HTTP=ON -DCMAKE_INSTALL_PREFIX=/usr \ -DWEBUSER=http -DWEBGROUP=http -DRUNDIR=/var/run/wt -DDEPLOYROOT=/var/www/wt \ + -DUSE_SYSTEM_SQLITE3=ON -DCMAKE_EXE_LINKER_FLAGS="-lboost_random" \ -DDESTDIR=${pkgdir} -DWT_CMAKE_FINDER_INSTALL_DIR="share/cmake-2.8/Modules" .. make } diff --git a/community/wt/wt-boost-1.47.patch b/community/wt/wt-boost-1.47.patch new file mode 100644 index 000000000..919e1371f --- /dev/null +++ b/community/wt/wt-boost-1.47.patch @@ -0,0 +1,11 @@ +diff -wbBur wt-3.1.10.q/src/CMakeLists.txt wt-3.1.10/src/CMakeLists.txt +--- wt-3.1.10.q/src/CMakeLists.txt 2011-07-26 00:58:19.000000000 +0400 ++++ wt-3.1.10/src/CMakeLists.txt 2011-06-24 18:51:54.000000000 +0400 +@@ -236,6 +236,7 @@ + web/TimeUtil.C + web/XSSFilter.C + web/XSSUtils.C ++web/random_device.cpp + web/base64.cpp + Plain_html.C + Boot_html.C -- cgit v1.2.3-54-g00ecf