GrumbelsTrashbin / supertux.auto_export

Automatically exported from code.google.com/p/supertux
GNU General Public License v3.0
0 stars 0 forks source link

SuperTux build issues with new libcurl or gcc 4.6.x #8

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
SuperTux 3.3 (and probably also some earlier versions) fail to build with 
libcurl 7.21.7.
It seems that the use of curl/types.h, which has been deprecated long ago, is 
the main cause.
Several solutions can be found after searching Google for "supertux 
curl/types.h", including simply running "sed -i '/curl\/types.h/d' 
src/addon/addon_manager.cpp" (retrieved from <http://pastebin.com/YHVRempG>), 
which seems to be effective in this issue.

BTW, according to 
<http://s390.koji.fedoraproject.org/koji/buildinfo?buildID=69718> and 
<http://git.overlays.gentoo.org/gitweb/?p=dev/angelos.git;a=commitdiff;h=725163e
0>, a build issue with gcc 4.6.x can be fixed by adding "#include <cstddef>" to 
the file "src/addon/addon_manager.cpp".

Original issue reported on code.google.com by CasperVector on 9 Aug 2011 at 12:49

GoogleCodeExporter commented 9 years ago
Sorry, but the "#include <cstddef>" line should actually be added to 
"src/supertux/screen_manager.hpp".

Original comment by CasperVector on 9 Aug 2011 at 6:28

GoogleCodeExporter commented 9 years ago
I would assume this was fixed. I can find #include <cstddef> in that file. So, 
yeah, marking this fixed.

Original comment by to...@mozilla-uk.org on 10 Mar 2014 at 12:31