summaryrefslogtreecommitdiff
path: root/x11/gnome-screensaver/patches
diff options
context:
space:
mode:
authorjmmv <jmmv@pkgsrc.org>2006-04-01 21:43:59 +0000
committerjmmv <jmmv@pkgsrc.org>2006-04-01 21:43:59 +0000
commita01eb28c3220aa29e32d0ea9911341882f9ed78b (patch)
treefb0d73535456a5a3de4ef1fa09069092ba209ded /x11/gnome-screensaver/patches
parent2957f2d58fe4b7c98b42a65b5d893ac045464306 (diff)
downloadpkgsrc-a01eb28c3220aa29e32d0ea9911341882f9ed78b.tar.gz
Initial import of gnome-screensaver, version 2.14.0:
gnome-screensaver is a new screensaver that can replace xscreensaver. It is designed to integrate well with the desktop and provide a control interface that is desktop neutral. It simplifies and streamlines the experience for the user and provides more capability for the system administrator and vendor.
Diffstat (limited to 'x11/gnome-screensaver/patches')
-rw-r--r--x11/gnome-screensaver/patches/patch-aa15
-rw-r--r--x11/gnome-screensaver/patches/patch-ab13
2 files changed, 28 insertions, 0 deletions
diff --git a/x11/gnome-screensaver/patches/patch-aa b/x11/gnome-screensaver/patches/patch-aa
new file mode 100644
index 00000000000..50cf04818e4
--- /dev/null
+++ b/x11/gnome-screensaver/patches/patch-aa
@@ -0,0 +1,15 @@
+$NetBSD: patch-aa,v 1.1.1.1 2006/04/01 21:43:59 jmmv Exp $
+
+--- savers/floaters.c.orig 2006-02-17 17:59:33.000000000 +0100
++++ savers/floaters.c
+@@ -69,6 +69,10 @@
+ #define GAMMA 2.2
+ #endif
+
++#if defined(__NetBSD__)
++# define trunc(x) ((double)floor(x))
++#endif
++
+ typedef struct _Point Point;
+ typedef struct _Path Path;
+ typedef struct _Rectangle Rectangle;
diff --git a/x11/gnome-screensaver/patches/patch-ab b/x11/gnome-screensaver/patches/patch-ab
new file mode 100644
index 00000000000..e544ccff546
--- /dev/null
+++ b/x11/gnome-screensaver/patches/patch-ab
@@ -0,0 +1,13 @@
+$NetBSD: patch-ab,v 1.1.1.1 2006/04/01 21:43:59 jmmv Exp $
+
+--- data/Makefile.in.orig 2006-03-13 15:50:13.000000000 +0100
++++ data/Makefile.in
+@@ -766,7 +766,7 @@ uninstall-info: uninstall-info-recursive
+ @GCONF_SCHEMAS_INSTALL_TRUE@ fi
+ @GCONF_SCHEMAS_INSTALL_FALSE@install-data-local:
+
+-install-data-hook:
++dont-install-data-hook:
+ @system=`uname`; \
+ if test -f /usr/include/security/pam_appl.h; then \
+ if test '!' -d $(DESTDIR)$(PAM_PREFIX)/pam.d; then \