summaryrefslogtreecommitdiffstats
path: root/x11/gnome-screensaver/files/patch-src_gs-job.c
blob: ffa2520cb40821ab5c95c736b56d0c03e994975a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
--- src/gs-job.c.orig   Wed Sep  7 09:23:59 2005
+++ src/gs-job.c    Mon Sep 12 13:24:11 2005
@@ -29,7 +29,8 @@
 #include <sys/wait.h>
 #include <errno.h>
 
-#if defined(HAVE_SETPRIORITY) && defined(PRIO_PROCESS)
+#if defined(HAVE_SETPRIORITY)
+#include <sys/time.h>
 #include <sys/resource.h>
 #endif
 
@@ -655,9 +659,11 @@ gs_job_set_widget  (GSJob     *job,
 static const char *known_locations [] = {
         SAVERDIR,
         LIBEXECDIR "/xscreensaver",
-        "/usr/X11R6/lib/xscreensaver",
+        "%%X11BASE%%/lib/xscreensaver",
         "/usr/libexec/xscreensaver",
         "/usr/lib/xscreensaver",
+        "%%X11BASE%%/bin/xscreensaver-hacks",
+        "%%X11BASE%%/bin",
         NULL
 };