summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'x11-misc/xscreensaver/files/xscreensaver-5.05-posix-head.patch')
-rw-r--r--x11-misc/xscreensaver/files/xscreensaver-5.05-posix-head.patch12
1 files changed, 12 insertions, 0 deletions
diff --git a/x11-misc/xscreensaver/files/xscreensaver-5.05-posix-head.patch b/x11-misc/xscreensaver/files/xscreensaver-5.05-posix-head.patch
new file mode 100644
index 000000000000..d282e78e2e44
--- /dev/null
+++ b/x11-misc/xscreensaver/files/xscreensaver-5.05-posix-head.patch
@@ -0,0 +1,12 @@
+diff -ur xscreensaver-5.05.orig/Makefile.in xscreensaver-5.05/Makefile.in
+--- xscreensaver-5.05.orig/Makefile.in 2008-03-01 06:32:52.000000000 +0200
++++ xscreensaver-5.05/Makefile.in 2008-03-02 16:27:25.000000000 +0200
+@@ -326,7 +326,7 @@
+ diff -U0 download.html $$TMP ; \
+ echo '' ; \
+ \
+- OLDEST=`ls xscreensaver*.tar.gz | head -1` ; \
++ OLDEST=`ls xscreensaver*.tar.gz | head -n 1` ; \
+ /bin/echo -n "Delete $$DEST/$$OLDEST? "; \
+ read line; \
+ if [ "x$$line" = "xyes" -o "x$$line" = "xy" ]; then \