Package: warzone2100 Version: 3.1.1-1 Severity: serious Tags: upstream fixed-upstream
Dear Maintainer,
a rebuild of the package to test compatibility with the GLEW library
version 1.12.0 shows that warzone2100 fails to build with the following
output:
- - - >8 - - -
g++ -DHAVE_CONFIG_H -I. -I../.. -I/usr/include/libpng12 -D__STDC_FORMAT_MACROS
-D__STDC_LIMIT_MACROS -DNDEBUG -DWZ_DATADIR="\"/usr/share/games/warzone2100\""
-DLOCALEDIR="\"/usr/share/locale\"" -I../.. -I/usr/include/libdrm -DQT_SHARED
-I/usr/include/qt4 -I/usr/include/qt4/QtNetwork -I/usr/include/qt4
-I/usr/include/qt4/QtScript -I/usr/include/qt4 -I/usr/include/qt4/QtCore
-D_FORTIFY_SOURCE=2 -g -Wno-enum-compare -Wall -Wextra -Wno-unused-parameter
-Wno-sign-compare -Wcast-align -Wwrite-strings -Wpointer-arith
-Wno-format-security -DQT_SHARED -I/usr/include/qt4
-I/usr/include/qt4/QtNetwork -I/usr/include/qt4 -I/usr/include/qt4/QtScript
-I/usr/include/qt4 -I/usr/include/qt4/QtCore -g -O2 -fPIE
-fstack-protector-strong -Wformat -Werror=format-security -fstack-protector -c
-o screen.o screen.cpp
screen.cpp: In function 'void screen_EnableMissingFunctions()':
screen.cpp:264:22: error: invalid conversion from 'PFNGLSHADERSOURCEARBPROC
{aka void (*)(unsigned int, int, const char**, const int*)}' to
'PFNGLSHADERSOURCEPROC {aka void (*)(unsigned int, int, const char* const*,
const int*)}' [-fpermissive]
__glewShaderSource = __glewShaderSourceARB;
^
Makefile:423: recipe for target 'screen.o' failed
- - - >8 - - -
A fix for this issue has already been made on the upstream side [1].
Thanks for considering.
Cheers.
[1] http://developer.wz2100.net/ticket/4300
-- System Information:
Debian Release: stretch/sid
APT prefers buildd-unstable
APT policy: (500, 'buildd-unstable'), (500, 'unstable'), (1,
'buildd-experimental'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 4.0.0-2-amd64 (SMP w/4 CPU cores)
Locale: LANG=en_US.utf8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
--
Matteo F. Vescovi || Debian Developer
GnuPG KeyID: 4096R/0x8062398983B2CF7A
signature.asc
Description: Digital signature

