diff options
Diffstat (limited to 'x11/xscreensaver/patches/patch-ae')
-rw-r--r-- | x11/xscreensaver/patches/patch-ae | 55 |
1 files changed, 0 insertions, 55 deletions
diff --git a/x11/xscreensaver/patches/patch-ae b/x11/xscreensaver/patches/patch-ae deleted file mode 100644 index 6bc92c40440..00000000000 --- a/x11/xscreensaver/patches/patch-ae +++ /dev/null @@ -1,55 +0,0 @@ -$NetBSD: patch-ae,v 1.4 2002/03/19 15:34:32 wiz Exp $ - ---- driver/xscreensaver.kss.orig Thu Feb 1 02:06:02 2001 -+++ driver/xscreensaver.kss -@@ -1,4 +1,4 @@ --#!/bin/bash - -+#!/bin/sh - - - # script - "xscreensaver.kss" - # -@@ -40,15 +40,15 @@ - # 2) Hack xscreensaver to accept alternate setup files, and create one on - # the fly here. - shift -- /usr/X11R6/lib/xscreensaver/xflame -delay 1 -window-id $1 & # Start new preview -+ @PREFIX@/libexec/xscreensaver/xflame -delay 1 -window-id $1 & # Start new preview - echo "$!" > $HOME/.kss-preview$1.pid.`hostname` # Write PID - wait $! # Wait for it to get killed - exit - ;; - - -setup) -- /usr/X11R6/bin/xscreensaver -no-splash & # daemon must be started -- /usr/X11R6/bin/xscreensaver-demo # or the setup will produce -+ @PREFIX@/bin/xscreensaver -no-splash & # daemon must be started -+ @PREFIX@/bin/xscreensaver-demo # or the setup will produce - kill $! # a warning. - exit - ;; -@@ -57,8 +57,8 @@ - # I was unable to grep stdout because xscreensaver nabs it. But I was able - # to output it to a file, and grep the file. - TEMP_FILE=/tmp/xsc.$RANDOM -- /usr/X11R6/bin/xscreensaver -no-splash -verbose -no-capture-stderr 2> $TEMP_FILE & -- /usr/X11R6/bin/xscreensaver-command -activate -+ @PREFIX@/bin/xscreensaver -no-splash -verbose -no-capture-stderr 2> $TEMP_FILE & -+ @PREFIX@/bin/xscreensaver-command -activate - while true; do - ExitNow=$(grep -E -c unblanking\|already $TEMP_FILE) - if [ $ExitNow != 0 ]; then -@@ -109,12 +109,12 @@ - kill `cat $PID_FILE` # Kill old screensaver - fi - echo "$$" > $PID_FILE # Write PID of this script -- /usr/X11R6/bin/xscreensaver -no-splash $timeout $lockmode $Nice & # Start XScreenSaver daemon -+ @PREFIX@/xscreensaver -no-splash $timeout $lockmode $Nice & # Start XScreenSaver daemon - trap "kill $!" SIGTERM # Set these to kill the daemon - trap "kill $!" SIGKILL - - # KDE sends SIGUSER1 to indicate the user has hit the "lock" button. -- trap "/usr/X11R6/bin/xscreensaver-command -lock" SIGUSR1 -+ trap "@PREFIX@/bin/xscreensaver-command -lock" SIGUSR1 - - wait $! # Do not exit, just wait for signals. - |