On Sun, Nov 22, 2015 at 07:10:08PM +0100, Christian Weisgerber wrote: > games/foobillard doesn't build any longer after the Mesa 11.0.6 update. > > ... > ball.o: In function `draw_balls': > ball.c:(.text+0x65f0): undefined reference to `glGenProgramsNV' > ball.c:(.text+0x6605): undefined reference to `glBindProgramNV' > ball.c:(.text+0x6636): undefined reference to `glLoadProgramNV' > ball.c:(.text+0x6fdc): undefined reference to `glTrackMatrixNV' > ball.c:(.text+0x6ffa): undefined reference to `glTrackMatrixNV' > ball.c:(.text+0x7018): undefined reference to `glTrackMatrixNV' > ball.c:(.text+0x7050): undefined reference to `glProgramParameter4fNV' > ball.c:(.text+0x7079): undefined reference to `glBindProgramNV' > ball.c:(.text+0x71c0): undefined reference to `glProgramParameter4fNV' > collect2: ld returned 1 exit status
Seems to build/run with the following: Index: Makefile =================================================================== RCS file: /cvs/ports/games/foobillard/Makefile,v retrieving revision 1.8 diff -u -p -r1.8 Makefile --- Makefile 11 Jul 2014 11:20:32 -0000 1.8 +++ Makefile 23 Nov 2015 00:52:02 -0000 @@ -20,6 +20,7 @@ LIB_DEPENDS = graphics/png \ USE_GMAKE = Yes CONFIGURE_STYLE = gnu +CONFIGURE_ARGS = --enable-nvidia=no CFLAGS = -DNO_NV_BUMPREF .include <bsd.port.mk> --- /dev/null Mon Nov 23 11:52:23 2015 +++ patches/patch-src_ball_c Mon Nov 23 11:49:39 2015 @@ -0,0 +1,11 @@ +$OpenBSD$ +--- src/ball.c.orig Mon Nov 23 11:49:01 2015 ++++ src/ball.c Mon Nov 23 11:49:30 2015 +@@ -32,6 +32,7 @@ + #include "options.h" + #include "font.h" + ++#undef GL_VERTEX_PROGRAM_NV + + #ifdef GL_VERTEX_ARRAY + #define USE_VERTEX_ARRAYS