Date: Thursday, December 22, 2011 @ 02:58:15 Author: andrea Revision: 145356
KDE 4.8RC1 Modified: kdebindings-smokegen/trunk/PKGBUILD Deleted: kdebindings-smokegen/trunk/fix-crash.patch -----------------+ PKGBUILD | 11 +++-------- fix-crash.patch | 13 ------------- 2 files changed, 3 insertions(+), 21 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2011-12-22 07:58:11 UTC (rev 145355) +++ PKGBUILD 2011-12-22 07:58:15 UTC (rev 145356) @@ -2,7 +2,7 @@ # Maintainer: Andrea Scarpino <[email protected]> pkgname=kdebindings-smokegen -pkgver=4.7.90 +pkgver=4.7.95 pkgrel=1 pkgdesc="A general purpose C++ parser with a plugin infrastructure" url="http://kde.org/" @@ -11,15 +11,10 @@ depends=('kdebase-runtime') makedepends=('cmake' 'automoc4') conflicts=('kdebindings-smoke') -source=("http://download.kde.org/unstable/${pkgver}/src/smokegen-${pkgver}.tar.bz2" - 'fix-crash.patch') -sha1sums=('c852cf97a7b2d7516a4995d19ad3be6035aa0c17' - 'b209b2b7017622fea3406c5a9636e2334566af01') +source=("http://download.kde.org/unstable/${pkgver}/src/smokegen-${pkgver}.tar.bz2") +sha1sums=('12878b6a35c7a0027d74abc5611e6b0c628d467c') build() { - cd "${srcdir}"/smokegen-${pkgver} - patch -p1 -i "${srcdir}"/fix-crash.patch - cd "${srcdir}" mkdir build cd build Deleted: fix-crash.patch =================================================================== --- fix-crash.patch 2011-12-22 07:58:11 UTC (rev 145355) +++ fix-crash.patch 2011-12-22 07:58:15 UTC (rev 145356) @@ -1,13 +0,0 @@ -diff -up smokegen-4.7.0/parser/type_compiler.cpp.orig smokegen-4.7.0/parser/type_compiler.cpp -diff -up smokegen-4.7.0/type_compiler.cpp.orig smokegen-4.7.0/type_compiler.cpp ---- smokegen-4.7.0/type_compiler.cpp.orig 2011-08-02 14:34:08.000000000 +0200 -+++ smokegen-4.7.0/type_compiler.cpp 2011-08-02 14:34:34.000000000 +0200 -@@ -191,6 +191,8 @@ void TypeCompiler::visitParameterDeclara - - void TypeCompiler::visitPtrOperator(PtrOperatorAST* node) - { -+ if ( ! m_session->token_stream ) return; -+ if ( ! token_text(m_session->token_stream->kind(node->op)) ) return; - if (token_text(m_session->token_stream->kind(node->op))[0] == '*') { - QPair<bool, bool> cv = m_visitor->parseCv(node->cv); - pointerDepth.append(cv.first);
