Package: ggz-server
Version: 0.0.14.1-1.5
Severity: serious
Tags: patch
Justification: fails to build from source
User: ubuntu-de...@lists.ubuntu.com
Usertags: origin-ubuntu oneiric ubuntu-patch



*** /tmp/tmp96ZOcB
In Ubuntu, the attached patch was applied to achieve the following:

  * debian/patches/ftbfs_gcc46.diff, Fix build with GCC 4.6 (LP: #770764)

gcc4.6 cleaned up some more header files, attached is a trivial patch to fix 
the error.

Thanks for considering the patch.


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

Kernel: Linux 2.6.38-8-generic (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
=== added file 'debian/patches/ftbfs_gcc46.patch'
--- debian/patches/ftbfs_gcc46.patch	1970-01-01 00:00:00 +0000
+++ debian/patches/ftbfs_gcc46.patch	2011-04-29 19:51:55 +0000
@@ -0,0 +1,16 @@
+## Description: gcc4.6 cleans up some more headers, explicitly add those missing
+## Origin/Author: Andreas Moog <am...@ubuntu.com>
+## Bug-Ubuntu: https://bugs.launchpad.net/bugs/770764
+## Bug: https://bugs.ggzgamingzone.org/mantis/view.php?id=127
+## Bug-Debian: 
+diff -Nur -x '*.orig' -x '*~' ggz-server//game_servers/muehle/qtserv/qlist.h ggz-server.new//game_servers/muehle/qtserv/qlist.h
+--- ggz-server//game_servers/muehle/qtserv/qlist.h	2011-04-29 21:36:27.697134000 +0200
++++ ggz-server.new//game_servers/muehle/qtserv/qlist.h	2011-04-29 21:40:15.130858547 +0200
+@@ -2,6 +2,7 @@
+ #define QLIST_H
+ 
+ #include <list>
++#include <cstdlib>
+ 
+ template<class T> class QList : public std::list<T>
+ {
 

Reply via email to