aboutsummaryrefslogtreecommitdiffstats
path: root/www/WebMagick
diff options
context:
space:
mode:
authorache <ache@FreeBSD.org>1998-08-13 05:35:54 +0800
committerache <ache@FreeBSD.org>1998-08-13 05:35:54 +0800
commitd32dbe3320714a0a3aa81ae0b08830200a4bd1d1 (patch)
treea5907e5ba4b47c9e8ad71022e6267ec506b816ea /www/WebMagick
parent89e12767fdf68f26227a117274fa6fcaa9fcccc8 (diff)
downloadfreebsd-ports-gnome-d32dbe3320714a0a3aa81ae0b08830200a4bd1d1.tar.gz
freebsd-ports-gnome-d32dbe3320714a0a3aa81ae0b08830200a4bd1d1.tar.zst
freebsd-ports-gnome-d32dbe3320714a0a3aa81ae0b08830200a4bd1d1.zip
do not attempt to recurse in non-writeable directories
Diffstat (limited to 'www/WebMagick')
-rw-r--r--www/WebMagick/files/patch-aa19
1 files changed, 18 insertions, 1 deletions
diff --git a/www/WebMagick/files/patch-aa b/www/WebMagick/files/patch-aa
index 11224c5c830f..543b747a9942 100644
--- a/www/WebMagick/files/patch-aa
+++ b/www/WebMagick/files/patch-aa
@@ -1,5 +1,5 @@
*** webmagick.in.orig Tue Mar 24 07:45:45 1998
---- webmagick.in Fri May 22 20:44:59 1998
+--- webmagick.in Thu Aug 13 01:26:44 1998
***************
*** 130,135 ****
--- 130,136 ----
@@ -116,6 +116,23 @@
'readme=s' => \$opt_readme,
'readmevisible!' => \$opt_readmevisible,
***************
+*** 900,906 ****
+ sub wanted {
+ my($dev,$ino,$mode,$nlink,$uid,$gid);
+ ($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_);
+! if ( -d $_ && !/^\..+/ ) {
+ if( $_ ne '.' && get_rc_var('.', 'opt_prune', 0) ) {
+ $File::Find::prune=1;
+ # following funny logic is to avoid warnings about $prune
+--- 924,930 ----
+ sub wanted {
+ my($dev,$ino,$mode,$nlink,$uid,$gid);
+ ($dev,$ino,$mode,$nlink,$uid,$gid) = lstat($_);
+! if ( -d $_ && -w $_ && !/^\..+/ ) {
+ if( $_ ne '.' && get_rc_var('.', 'opt_prune', 0) ) {
+ $File::Find::prune=1;
+ # following funny logic is to avoid warnings about $prune
+***************
*** 1386,1397 ****
--- 1410,1423 ----
'dircolorlink' => $opt_dircolorlink,