1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-19 19:59:43 +00:00

This patch is no longer needed for 4.16

This commit is contained in:
Doug Barton 2004-06-01 08:46:25 +00:00
parent fa7fb11fda
commit 4eb6375764
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=110587

View File

@ -1,20 +0,0 @@
--- driver/xscreensaver-getimage-file.orig Sat Jun 28 19:01:43 2003
+++ driver/xscreensaver-getimage-file Fri Aug 15 02:46:20 2003
@@ -43,7 +43,7 @@
# So we do it like this instead:
#
BEGIN {
- if (! defined(&S_ISLNK)) { # perhaps defined by "POSIX"?
+ if ((! defined(&S_ISLNK)) and ($] > 5.6)) { # perhaps defined by "POSIX"?
require Fcntl;
import Fcntl ':mode'; # if not, look for it in "Fcntl".
}
@@ -149,7 +149,7 @@
push @dirs, $file;
$dir_count++;
print STDERR "$progname: found dir $file\n" if ($verbose > 2);
- } elsif (S_ISREG($mode) || S_ISLNK($mode)) {
+ } elsif (S_ISREG($mode) || (-l "$file")) {
if ($file =~ m/[~%\#]$/ || # backup file, or
! ($file =~ m/$good_file_re/io)) { # no image extension