diff options
Diffstat (limited to 'graphics/gliv/files/patch-rendering.c')
-rw-r--r-- | graphics/gliv/files/patch-rendering.c | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/graphics/gliv/files/patch-rendering.c b/graphics/gliv/files/patch-rendering.c new file mode 100644 index 000000000000..49fa4a3155b4 --- /dev/null +++ b/graphics/gliv/files/patch-rendering.c @@ -0,0 +1,17 @@ +--- rendering.c.orig Thu Sep 13 12:55:36 2001 ++++ rendering.c Sun Sep 30 20:47:40 2001 +@@ -27,9 +27,14 @@ + #include <GL/glu.h> + #include "gliv.h" + ++/* FreeBSD has no fminf/fmin, so fake it */ ++#if 0 + #ifndef HAVE_FMINF + #define fminf fmin + #endif ++#endif ++ ++#define fminf(A, B) ((A) < (B) ? (A) : (B)) + + #ifndef HAVE_FABSF + #define fabsf fabs |