17 lines
473 B
Text
17 lines
473 B
Text
$NetBSD: patch-aa,v 1.4 2009/05/19 23:55:14 wiz Exp $
|
|
|
|
http://bugzilla.gnome.org/show_bug.cgi?id=583285
|
|
|
|
--- savers/floaters.c.orig 2007-09-17 23:15:12.000000000 +0200
|
|
+++ savers/floaters.c
|
|
@@ -72,6 +72,10 @@
|
|
#define GAMMA 2.2
|
|
#endif
|
|
|
|
+#if defined(__NetBSD__) || defined(__DragonFly__)
|
|
+# define trunc(x) ((double)floor(x))
|
|
+#endif
|
|
+
|
|
static gboolean should_show_paths = FALSE;
|
|
static gboolean should_do_rotations = FALSE;
|
|
static gboolean should_print_stats = FALSE;
|