diff options
author | Patrick Li <pat@FreeBSD.org> | 2001-11-23 06:52:28 +0000 |
---|---|---|
committer | Patrick Li <pat@FreeBSD.org> | 2001-11-23 06:52:28 +0000 |
commit | c38c666f766edb0122349a2f9d285202d315702d (patch) | |
tree | 4601ea74fb06fe59b8c24416af2aa4c016959a43 /graphics/gliv/files | |
parent | Add missing file (diff) |
Update to 1.4.1
PR: 32186
Submitted by: maintainer
Diffstat (limited to 'graphics/gliv/files')
-rw-r--r-- | graphics/gliv/files/patch-rendering.c | 17 | ||||
-rw-r--r-- | graphics/gliv/files/patch-src::imagemagick.c | 11 |
2 files changed, 11 insertions, 17 deletions
diff --git a/graphics/gliv/files/patch-rendering.c b/graphics/gliv/files/patch-rendering.c deleted file mode 100644 index 49fa4a3155b4..000000000000 --- a/graphics/gliv/files/patch-rendering.c +++ /dev/null @@ -1,17 +0,0 @@ ---- 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 diff --git a/graphics/gliv/files/patch-src::imagemagick.c b/graphics/gliv/files/patch-src::imagemagick.c new file mode 100644 index 000000000000..203ce71f701b --- /dev/null +++ b/graphics/gliv/files/patch-src::imagemagick.c @@ -0,0 +1,11 @@ +--- src/imagemagick.c.orig Wed Nov 21 13:19:48 2001 ++++ src/imagemagick.c Thu Nov 22 06:12:10 2001 +@@ -22,7 +22,7 @@ + * Loading through ImageMagick. * + ********************************/ + +-#include <fcntl.h> /* S_IRWXU */ ++#include <sys/stat.h> /* S_IRWXU */ + #include <stdio.h> /* tmpnam() */ + #include <time.h> /* time() */ + #include <unistd.h> /* chdir(), getpid(), unlink() */ |