svn commit: r555436 - in head/games/cave9: . files
Piotr Kubaj
pkubaj at FreeBSD.org
Sun Nov 15 22:18:57 UTC 2020
Author: pkubaj
Date: Sun Nov 15 22:18:56 2020
New Revision: 555436
URL: https://svnweb.freebsd.org/changeset/ports/555436
Log:
games/cave9: fix build on GCC architectures
In file included from display.c:19:
/usr/local/include/SDL/SDL_opengl.h:116:1: error: "GL_GLEXT_VERSION" redefined
In file included from /usr/local/include/GL/gl.h:2050,
from /usr/local/include/SDL/SDL_opengl.h:46,
from display.c:19:
/usr/local/include/GL/glext.h:54:1: error: this is the location of the previous definition
Modified:
head/games/cave9/Makefile
head/games/cave9/files/patch-src_GNUmakefile
Modified: head/games/cave9/Makefile
==============================================================================
--- head/games/cave9/Makefile Sun Nov 15 21:49:36 2020 (r555435)
+++ head/games/cave9/Makefile Sun Nov 15 22:18:56 2020 (r555436)
@@ -18,7 +18,7 @@ USE_GITHUB= yes
GH_ACCOUNT= bart9h
GH_TAGNAME= e6896eb
-USES= gl gmake sdl
+USES= compiler:c++11-lang gl gmake sdl
USE_SDL= sdl ttf image
USE_GL= gl glu
Modified: head/games/cave9/files/patch-src_GNUmakefile
==============================================================================
--- head/games/cave9/files/patch-src_GNUmakefile Sun Nov 15 21:49:36 2020 (r555435)
+++ head/games/cave9/files/patch-src_GNUmakefile Sun Nov 15 22:18:56 2020 (r555436)
@@ -6,7 +6,7 @@
-CFLAGS += -std=c99 -Wall -Werror -ggdb `sdl-config --cflags`
-LDFLAGS += -lSDL_ttf -lSDL_image `sdl-config --libs` -L/usr/X11/lib -lGL -lGLU -lm
-+CFLAGS += -std=c99 -Wall -Werror -isystem ${LOCALBASE}/include `sdl-config --cflags`
++CFLAGS += -std=c99 -Wall -isystem ${LOCALBASE}/include `sdl-config --cflags`
+LDFLAGS += -lSDL_ttf -lSDL_image -L${LOCALBASE}/lib `sdl-config --libs` -lGL -lGLU -lm
ifdef GLOBAL_SCORE
More information about the svn-ports-all
mailing list