summaryrefslogtreecommitdiff
path: root/graphics/fv/files/patch-common.h
diff options
context:
space:
mode:
authorJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-07 21:08:22 +0000
committerJean-Yves Lefort <jylefort@FreeBSD.org>2005-09-07 21:08:22 +0000
commit70e175ed96eb4254bd1457cda38601b72a125a0e (patch)
treeec56efa85c0d4eaf0ec38a1cc9f6317b65ac20dc /graphics/fv/files/patch-common.h
parentAdd fraqtive 0.3.1, a program for drawing Mandelbrot and Julia fractals. (diff)
Add fv.
fv is an HDRI viewer. Currently supported formats are the followings: * Greg Ward's HDR (also known as Radiance/PIC/RGBE). See http://www.graphics.cornell.edu/~bjw/rgbe.html for details. * Paul Debevec's PFM (Portable Float Map). See http://netpbm.sourceforge.net/doc/pfm.html for details. fv reads data from the standard input or files specified as arguments. In the latter case, each file may be compressed one with gzip or bzip2. The file may also change after fv is invoked, except its header part. fv checks whether the file changes and updates the display if necessary. This feature is useful for checking intermediate outputs from renderers. WWW: http://www.eaflux.com/fv/ PR: ports/85840 Submitted by: Igor Pokrovsky <ip@doom.homeunix.org>
Notes
Notes: svn path=/head/; revision=142190
Diffstat (limited to 'graphics/fv/files/patch-common.h')
-rw-r--r--graphics/fv/files/patch-common.h15
1 files changed, 15 insertions, 0 deletions
diff --git a/graphics/fv/files/patch-common.h b/graphics/fv/files/patch-common.h
new file mode 100644
index 000000000000..8dc6c8e4fe30
--- /dev/null
+++ b/graphics/fv/files/patch-common.h
@@ -0,0 +1,15 @@
+--- common.h.orig
++++ common.h
+@@ -38,7 +38,12 @@
+ #include <fcntl.h>
+ #include <map>
+ #include <pthread.h>
++#if (defined(__unix__) || defined(unix)) && !defined(USG)
++#include <sys/param.h>
++#endif
++#ifndef BSD
+ #include <stdint.h>
++#endif
+ #include <string>
+ #include <sys/stat.h>
+ #include <sys/time.h>