From 938162ed30a3768e7080c9ec22fd3cab4057e17b Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Fri, 2 Jul 2004 09:27:07 +0000 Subject: Fix build on -CURRENT Submitted by: das --- science/vis5d+/files/patch-src::misc.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 science/vis5d+/files/patch-src::misc.h (limited to 'science/vis5d+') 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 include first. ++ */ ++#undef round ++#define round myround + extern float round( float x ); + + extern int which( char *file, char *fullpath ); -- cgit v1.2.3