diff options
author | vanilla <vanilla@FreeBSD.org> | 2001-11-04 18:04:08 +0800 |
---|---|---|
committer | vanilla <vanilla@FreeBSD.org> | 2001-11-04 18:04:08 +0800 |
commit | 6fddbac6a6e86d0368413ed704627c62fa2974f2 (patch) | |
tree | 6658b21825f882cda614e436c72352d2a3a8e943 /graphics/gliv/files | |
parent | e7a6c5549aaee984608d1054cc83cecd3644bfba (diff) | |
download | freebsd-ports-gnome-6fddbac6a6e86d0368413ed704627c62fa2974f2.tar.gz freebsd-ports-gnome-6fddbac6a6e86d0368413ed704627c62fa2974f2.tar.zst freebsd-ports-gnome-6fddbac6a6e86d0368413ed704627c62fa2974f2.zip |
Upgrade to 1.3.1.
PR: ports/31117
Submitted by: maintainer
Diffstat (limited to 'graphics/gliv/files')
-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 |