[arch-commits] Commit in kdebindings-smokegen/repos (6 files)

Andrea Scarpino andrea at archlinux.org
Thu Dec 8 10:24:17 UTC 2011


    Date: Thursday, December 8, 2011 @ 05:24:16
  Author: andrea
Revision: 144759

archrelease: copy trunk to kde-unstable-i686, kde-unstable-x86_64

Added:
  kdebindings-smokegen/repos/kde-unstable-i686/PKGBUILD
    (from rev 144758, kdebindings-smokegen/trunk/PKGBUILD)
  kdebindings-smokegen/repos/kde-unstable-i686/fix-crash.patch
    (from rev 144758, kdebindings-smokegen/trunk/fix-crash.patch)
  kdebindings-smokegen/repos/kde-unstable-x86_64/PKGBUILD
    (from rev 144758, kdebindings-smokegen/trunk/PKGBUILD)
  kdebindings-smokegen/repos/kde-unstable-x86_64/fix-crash.patch
    (from rev 144758, kdebindings-smokegen/trunk/fix-crash.patch)
Deleted:
  kdebindings-smokegen/repos/kde-unstable-i686/PKGBUILD
  kdebindings-smokegen/repos/kde-unstable-x86_64/PKGBUILD

-------------------------------------+
 kde-unstable-i686/PKGBUILD          |   65 ++++++++++++++++++----------------
 kde-unstable-i686/fix-crash.patch   |   13 ++++++
 kde-unstable-x86_64/PKGBUILD        |   65 ++++++++++++++++++----------------
 kde-unstable-x86_64/fix-crash.patch |   13 ++++++
 4 files changed, 96 insertions(+), 60 deletions(-)

Deleted: kde-unstable-i686/PKGBUILD
===================================================================
--- kde-unstable-i686/PKGBUILD	2011-12-08 10:23:45 UTC (rev 144758)
+++ kde-unstable-i686/PKGBUILD	2011-12-08 10:24:16 UTC (rev 144759)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdebindings-smokegen
-pkgver=4.7.80
-pkgrel=1
-pkgdesc="A general purpose C++ parser with a plugin infrastructure"
-url="http://kde.org/"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-depends=('kdebase-runtime')
-makedepends=('cmake' 'automoc4')
-conflicts=('kdebindings-smoke')
-source=("http://download.kde.org/unstable/${pkgver}/src/smokegen-${pkgver}.tar.bz2")
-sha1sums=('da6dd73b0650c0f6e749435c3ae822c236224b00')
-
-build() {
-  cd "${srcdir}"
-  mkdir build
-  cd build
-  cmake ../smokegen-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
-}

Copied: kdebindings-smokegen/repos/kde-unstable-i686/PKGBUILD (from rev 144758, kdebindings-smokegen/trunk/PKGBUILD)
===================================================================
--- kde-unstable-i686/PKGBUILD	                        (rev 0)
+++ kde-unstable-i686/PKGBUILD	2011-12-08 10:24:16 UTC (rev 144759)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdebindings-smokegen
+pkgver=4.7.90
+pkgrel=1
+pkgdesc="A general purpose C++ parser with a plugin infrastructure"
+url="http://kde.org/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+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')
+
+build() {
+  cd "${srcdir}"/smokegen-${pkgver}
+  patch -p1 -i "${srcdir}"/fix-crash.patch
+
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../smokegen-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdebindings-smokegen/repos/kde-unstable-i686/fix-crash.patch (from rev 144758, kdebindings-smokegen/trunk/fix-crash.patch)
===================================================================
--- kde-unstable-i686/fix-crash.patch	                        (rev 0)
+++ kde-unstable-i686/fix-crash.patch	2011-12-08 10:24:16 UTC (rev 144759)
@@ -0,0 +1,13 @@
+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);

Deleted: kde-unstable-x86_64/PKGBUILD
===================================================================
--- kde-unstable-x86_64/PKGBUILD	2011-12-08 10:23:45 UTC (rev 144758)
+++ kde-unstable-x86_64/PKGBUILD	2011-12-08 10:24:16 UTC (rev 144759)
@@ -1,30 +0,0 @@
-# $Id$
-# Maintainer: Andrea Scarpino <andrea at archlinux.org>
-
-pkgname=kdebindings-smokegen
-pkgver=4.7.80
-pkgrel=1
-pkgdesc="A general purpose C++ parser with a plugin infrastructure"
-url="http://kde.org/"
-arch=('i686' 'x86_64')
-license=('GPL' 'LGPL' 'FDL')
-depends=('kdebase-runtime')
-makedepends=('cmake' 'automoc4')
-conflicts=('kdebindings-smoke')
-source=("http://download.kde.org/unstable/${pkgver}/src/smokegen-${pkgver}.tar.bz2")
-sha1sums=('da6dd73b0650c0f6e749435c3ae822c236224b00')
-
-build() {
-  cd "${srcdir}"
-  mkdir build
-  cd build
-  cmake ../smokegen-${pkgver} \
-    -DCMAKE_BUILD_TYPE=Release \
-    -DCMAKE_INSTALL_PREFIX=/usr
-  make
-}
-
-package() {
-  cd "${srcdir}"/build
-  make DESTDIR="${pkgdir}" install
-}

Copied: kdebindings-smokegen/repos/kde-unstable-x86_64/PKGBUILD (from rev 144758, kdebindings-smokegen/trunk/PKGBUILD)
===================================================================
--- kde-unstable-x86_64/PKGBUILD	                        (rev 0)
+++ kde-unstable-x86_64/PKGBUILD	2011-12-08 10:24:16 UTC (rev 144759)
@@ -0,0 +1,35 @@
+# $Id$
+# Maintainer: Andrea Scarpino <andrea at archlinux.org>
+
+pkgname=kdebindings-smokegen
+pkgver=4.7.90
+pkgrel=1
+pkgdesc="A general purpose C++ parser with a plugin infrastructure"
+url="http://kde.org/"
+arch=('i686' 'x86_64')
+license=('GPL' 'LGPL' 'FDL')
+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')
+
+build() {
+  cd "${srcdir}"/smokegen-${pkgver}
+  patch -p1 -i "${srcdir}"/fix-crash.patch
+
+  cd "${srcdir}"
+  mkdir build
+  cd build
+  cmake ../smokegen-${pkgver} \
+    -DCMAKE_BUILD_TYPE=Release \
+    -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd "${srcdir}"/build
+  make DESTDIR="${pkgdir}" install
+}

Copied: kdebindings-smokegen/repos/kde-unstable-x86_64/fix-crash.patch (from rev 144758, kdebindings-smokegen/trunk/fix-crash.patch)
===================================================================
--- kde-unstable-x86_64/fix-crash.patch	                        (rev 0)
+++ kde-unstable-x86_64/fix-crash.patch	2011-12-08 10:24:16 UTC (rev 144759)
@@ -0,0 +1,13 @@
+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);




More information about the arch-commits mailing list