Package Details: gltron 0.70-5

Git Clone URL: https://aur.archlinux.org/gltron.git (read-only, click to copy)
Package Base: gltron
Description: A tron-like lightcycle game with a nice 3D perspective
Upstream URL: http://www.gltron.org
Licenses: GPL
Submitter: None
Maintainer: Dragonlord
Last Packager: Dragonlord
Votes: 41
Popularity: 0.000000
First Submitted: 2007-11-04 01:24 (UTC)
Last Updated: 2015-06-28 15:08 (UTC)

Latest Comments

tibequadorian commented on 2024-12-15 02:07 (UTC)

gcc -DPACKAGE=\"gltron\" -DVERSION=\"0.70\" -DHAVE_LIBGL=1 -DHAVE_LIBZ=1 -DHAVE_LIBPNG=1 -DHAVE_LIBOGG=1 -DHAVE_LIBVORBIS=1 -DHAVE_LIBVORBISFILE=1 -DHAVE_LIBMIKMOD=1 -DHAVE_UNISTD_H=1 -DHAVE_GL_GL_H=1 -DHAVE_STRSTR=1 -DHAVE_MKSTEMP=1  -I. -I.   -DDATA_DIR=\"/usr/share/gltron\" -DSNAP_DIR=\"~\" -DPREF_DIR=\"~\" -I./src/include -I./lua/include -I./nebu/include -march=x86-64 -mtune=generic -O2 -pipe -fno-plt -fexceptions         -Wp,-D_FORTIFY_SOURCE=3 -Wformat -Werror=format-security         -fstack-clash-protection -fcf-protection         -fno-omit-frame-pointer -mno-omit-leaf-frame-pointer -flto=auto -DSEPARATOR="'/'" -I/usr/include/SDL -D_GNU_SOURCE=1 -D_REENTRANT -c -o gltron.o `test -f ./src/gltron.c || echo './'`./src/gltron.c
./src/gltron.c: In function ‘main’:
./src/gltron.c:13:30: error: passing argument 2 of ‘initSubsystems’ from incompatible pointer type [-Wincompatible-pointer-types]
   13 |         initSubsystems(argc, argv);
      |                              ^~~~
      |                              |
      |                              char **
In file included from ./src/gltron.c:7:
./src/include/game/init.h:4:50: note: expected ‘const char **’ but argument is of type ‘char **’
    4 | extern void initSubsystems(int argc, const char *argv[]);
      |                                      ~~~~~~~~~~~~^~~~~~
make[1]: *** [Makefile:232: gltron.o] Error 1
make[1]: Leaving directory '$HOME/pkgs/gltron/src/gltron-0.70'
make: *** [Makefile:252: all-recursive] Error 1
==> ERROR: A failure occurred in build().
    Aborting...

<deleted-account> commented on 2015-02-14 14:26 (UTC)

Please see the forum discussion [1] and update the PKGBUILD to use a prepare function for the patches, and either add the sed line or use another mechanism to patch in the needed include line. [1] https://bbs.archlinux.org/viewtopic.php?id=193630