From df8371081d73455061fbfb3e09d0bddd033f66f5 Mon Sep 17 00:00:00 2001 From: espie Date: Sun, 30 Apr 2017 08:25:28 +0000 Subject: [PATCH] you have to define static members along with declaring them --- games/dangerdeep/patches/patch-src_model_cpp | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 games/dangerdeep/patches/patch-src_model_cpp diff --git a/games/dangerdeep/patches/patch-src_model_cpp b/games/dangerdeep/patches/patch-src_model_cpp new file mode 100644 index 00000000000..1026f767dd7 --- /dev/null +++ b/games/dangerdeep/patches/patch-src_model_cpp @@ -0,0 +1,11 @@ +$OpenBSD: patch-src_model_cpp,v 1.1 2017/04/30 08:25:28 espie Exp $ +--- src/model.cpp.orig ++++ src/model.cpp +@@ -49,6 +49,7 @@ using namespace std; + texture::mapping_mode model::mapping = texture::LINEAR_MIPMAP_LINEAR;//texture::NEAREST; + + unsigned model::init_count = 0; ++const unsigned model::mesh::no_adjacency; + + /* + fixme: possible cleanup/simplification of rendering EVERYWHERE: