Package: cyphesis-cpp
Version: 0.5.21-1.1
Severity: normal
Tags: patch
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu natty ubuntu-patch



*** /tmp/tmphVbBuo
In Ubuntu, the attached patch fixes the FTBFS.

We thought you might be interested in doing the same. 


-- System Information:
Debian Release: squeeze/sid
  APT prefers maverick-updates
  APT policy: (500, 'maverick-updates'), (500, 'maverick-security'), (500, 
'maverick-proposed'), (500, 'maverick')
Architecture: amd64 (x86_64)

Kernel: Linux 2.6.35-24-generic (SMP w/2 CPU cores)
Locale: LANG=es_ES.UTF-8, LC_CTYPE=es_ES.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
--- cyphesis-cpp-0.5.21.orig/debian/patches/gcc4.5.patch
+++ cyphesis-cpp-0.5.21/debian/patches/gcc4.5.patch
@@ -0,0 +1,28 @@
+Description: Fix FTBFS with gcc 4.5 because of incomplete type definition. This
+ is fixed by including the missing header or changing the inclusion order.
+Author: Fabrice Coutadeur <fabric...@ubuntu.com>
+--- cyphesis-cpp-0.5.21.orig/common/Property_impl.h
++++ cyphesis-cpp-0.5.21/common/Property_impl.h
+@@ -22,6 +22,7 @@
+ 
+ #include "Property.h"
+ 
++#include <Atlas/Objects/RootOperation.h>
+ #include <Atlas/Objects/RootEntity.h>
+ 
+ /// \brief Constructor for immutable Propertys
+--- cyphesis-cpp-0.5.21.orig/physics/Collision.cpp
++++ cyphesis-cpp-0.5.21/physics/Collision.cpp
+@@ -17,10 +17,10 @@
+ 
+ // $Id$
+ 
+-#include "Collision.h"
+-
+ #include "modules/Location.h"
+ 
++#include "Collision.h"
++
+ #include "common/debug.h"
+ #include "common/log.h"
+ 

Reply via email to