pkgsrc/x11/gnome-screensaver/patches/patch-aa
drochner 64d2f57a50 update to 2.20.0
This switches to the new gnome-2.20 branch.
2007-11-05 19:40:41 +00:00

15 lines
428 B
Text

$NetBSD: patch-aa,v 1.3 2007/11/05 19:45:50 drochner Exp $
--- 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;