diff options
author | kris <kris@FreeBSD.org> | 2004-07-02 17:27:07 +0800 |
---|---|---|
committer | kris <kris@FreeBSD.org> | 2004-07-02 17:27:07 +0800 |
commit | 3158e5aba9f247547306175633a5007621cf0513 (patch) | |
tree | 078483460d1123a060e126e6f0f0fb68fbb791e6 /science/vis5d+ | |
parent | 2143b3a4069dbdfc5a6f8ed9d2c6c5843bfa98d7 (diff) | |
download | freebsd-ports-gnome-3158e5aba9f247547306175633a5007621cf0513.tar.gz freebsd-ports-gnome-3158e5aba9f247547306175633a5007621cf0513.tar.zst freebsd-ports-gnome-3158e5aba9f247547306175633a5007621cf0513.zip |
Fix build on -CURRENT
Submitted by: das
Diffstat (limited to 'science/vis5d+')
-rw-r--r-- | science/vis5d+/files/patch-src::misc.h | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/science/vis5d+/files/patch-src::misc.h b/science/vis5d+/files/patch-src::misc.h new file mode 100644 index 000000000000..03ba887bb914 --- /dev/null +++ b/science/vis5d+/files/patch-src::misc.h @@ -0,0 +1,16 @@ +--- src/misc.h.orig Sat Jun 19 01:20:20 2004 ++++ src/misc.h Sat Jun 19 01:28:26 2004 +@@ -37,6 +37,13 @@ + + extern void die( char *msg ); + ++/* ++ * XXX Nasty hack to work around a namespace conflict on the round(3) ++ * function. This is legal as long as all sources that include this ++ * header as well as <math.h> include <math.h> first. ++ */ ++#undef round ++#define round myround + extern float round( float x ); + + extern int which( char *file, char *fullpath ); |