summaryrefslogtreecommitdiff
path: root/x11-toolkits/slingshot/files/patch-src-tacho.c
diff options
context:
space:
mode:
Diffstat (limited to 'x11-toolkits/slingshot/files/patch-src-tacho.c')
-rw-r--r--x11-toolkits/slingshot/files/patch-src-tacho.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/x11-toolkits/slingshot/files/patch-src-tacho.c b/x11-toolkits/slingshot/files/patch-src-tacho.c
new file mode 100644
index 000000000000..66fe77a6917f
--- /dev/null
+++ b/x11-toolkits/slingshot/files/patch-src-tacho.c
@@ -0,0 +1,15 @@
+*** src/tacho.c.orig Thu Apr 24 20:48:57 1997
+--- src/tacho.c Thu Apr 24 20:56:55 1997
+***************
+*** 19,24 ****
+--- 19,28 ----
+ #include "drawobj_impl.h"
+ #include <math.h>
+
++ #ifdef __FreeBSD__
++ #define irint(x) ((int)rint((x)))
++ #endif
++
+ Pkg_private int tacho_init();
+ Pkg_private Xv_opaque tacho_set_avlist();
+ Pkg_private Xv_opaque tacho_get_attr();