diff --git a/games/foobillard/Makefile b/games/foobillard/Makefile index b426430ecf3..9358ae3cc31 100644 --- a/games/foobillard/Makefile +++ b/games/foobillard/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.8 2014/07/11 11:20:32 ajacoutot Exp $ +# $OpenBSD: Makefile,v 1.9 2015/11/24 03:13:26 jsg Exp $ COMMENT = OpenGL billard game @@ -20,6 +20,7 @@ LIB_DEPENDS = graphics/png \ USE_GMAKE = Yes CONFIGURE_STYLE = gnu +CONFIGURE_ARGS = --enable-nvidia=no CFLAGS = -DNO_NV_BUMPREF .include diff --git a/games/foobillard/patches/patch-src_ball_c b/games/foobillard/patches/patch-src_ball_c new file mode 100644 index 00000000000..8f329453cfc --- /dev/null +++ b/games/foobillard/patches/patch-src_ball_c @@ -0,0 +1,11 @@ +$OpenBSD: patch-src_ball_c,v 1.1 2015/11/24 03:13:26 jsg Exp $ +--- 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