Bug#784857: marsshooter: FTBFS with libsfml 2.3

James Cowgill james410 at cowgill.org.uk
Sat May 9 16:25:27 UTC 2015


Source: marsshooter
Version: 0.7.5-2
Severity: normal
Tags: patch upstream
Forwarded: https://github.com/thelaui/M.A.R.S./pull/17

Hi,

marsshooter fails to build with the new version of SFML. The new version
will hopefully appear in experimental soon, but if not I've uploaded it
to mentors here:
http://mentors.debian.net/debian/pool/main/libs/libsfml/libsfml_2.3+dfsg-1.dsc

The build fails because mars uses functions from GLU. In previous
versions of SFML, OpenGL.hpp included glu.h, but this header (and the
entire GLU dependency) was dropped from SFML 2.3.

Since only a few GLU functions are called in mars, I thought the best
way to replace them all with standard OpenGL calls. That's what the
attached patch does.

I also submitted the patch upstream, but looking at the age of the other
pull requests, I'm not too confident it will me merged soon.

Thanks,
James
-------------- next part --------------
A non-text attachment was scrubbed...
Name: remove-glu-dependency.patch
Type: text/x-patch
Size: 4971 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150509/f83c8c40/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 819 bytes
Desc: This is a digitally signed message part
URL: <http://lists.alioth.debian.org/pipermail/pkg-games-devel/attachments/20150509/f83c8c40/attachment.sig>


More information about the Pkg-games-devel mailing list