Hello community,

here is the log from the commit of package kdebindings-smokegen for 
openSUSE:Factory checked in at 2011-12-01 12:24:12
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/kdebindings-smokegen (Old)
 and      /work/SRC/openSUSE:Factory/.kdebindings-smokegen.new (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "kdebindings-smokegen", Maintainer is ""

Changes:
--------
--- 
/work/SRC/openSUSE:Factory/kdebindings-smokegen/kdebindings-smokegen.changes    
    2011-11-16 17:18:44.000000000 +0100
+++ 
/work/SRC/openSUSE:Factory/.kdebindings-smokegen.new/kdebindings-smokegen.changes
   2011-12-01 12:24:13.000000000 +0100
@@ -1,0 +2,5 @@
+Wed Nov 30 00:45:20 CET 2011 - [email protected]
+
+- work around segfault when building kdebindings-smokekde 
+
+-------------------------------------------------------------------

New:
----
  smokegen-segfault.patch

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ kdebindings-smokegen.spec ++++++
--- /var/tmp/diff_new_pack.AlCcQl/_old  2011-12-01 12:24:14.000000000 +0100
+++ /var/tmp/diff_new_pack.AlCcQl/_new  2011-12-01 12:24:14.000000000 +0100
@@ -26,6 +26,7 @@
 Group:          Development/Libraries/KDE
 Source0:        smokegen-%{version}.tar.bz2
 Patch0:         correct_naming.patch
+Patch1:         smokegen-segfault.patch
 BuildRequires:  cmake
 BuildRequires:  kde4-filesystem
 BuildRequires:  libQtWebKit-devel
@@ -57,6 +58,7 @@
 %prep
 %setup -q -n smokegen-%{version}
 %patch0 -p0
+%patch1
 
 %build
   %cmake_kde4 -d build

++++++ smokegen-segfault.patch ++++++
--- type_compiler.cpp
+++ type_compiler.cpp
@@ -191,12 +191,14 @@
 
 void TypeCompiler::visitPtrOperator(PtrOperatorAST* node)
 {
+    if (token_text(m_session->token_stream->kind(node->op))) {
     if (token_text(m_session->token_stream->kind(node->op))[0] == '*') {
         QPair<bool, bool> cv = m_visitor->parseCv(node->cv);
         pointerDepth.append(cv.first);
     } else if (token_text(m_session->token_stream->kind(node->op))[0] == '&') {
         isRef = true;
     }
+    }
 }
 
 void TypeCompiler::visitSimpleTypeSpecifier(SimpleTypeSpecifierAST *node)
-- 
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to