patching mod_dav

Timothy Luoma lists at
Sun Jan 2 03:59:51 GMT 2005

(Please excuse my ignorance, I don't know whether I should ask this in 
-apache or -ports or -questions.  If this isn't the right place, please 
let me know where would be better.  I thought this was the most 
specific match of those 3 options.)

Trying to follow the instructions at (specifically the part 
about 1/3 the way down that begins: "mod_dav quota UPDATE!") on an 
Intel FreeBSD 5.3 system

I downloaded the file 
and saved it to /usr/ports/www/mod_dav/files/patch-dav_fs_repos.c and 
then attempted to 'make'

#begin paste
$ make
Use WITH_SYMLINK_PATCH=yes to let mod_dav follow symlinks.
===>  Vulnerability check disabled, database not found
===>  Extracting for mod_dav-1.0.3_2
=> Checksum OK for mod_dav-1.0.3-1.3.6.tar.gz.
===>  Patching for mod_dav-1.0.3_2
===>  Applying FreeBSD patches for mod_dav-1.0.3_2
File to patch: 
patch: **** malformed patch at line 120: avail))/512);
=> Patch patch-dav_fs_repos.c failed to apply cleanly.
=> Patch(es) patch-dav_fs_lock.c applied cleanly.
*** Error code 1

Stop in /usr/ports/www/mod_dav.
# end of paste

I knew something was wrong when it didn't know where to find the file 
to patch.

I'm obviously fairly new at this, and wasn't sure where to go for help. 
  I'll be happy to RTM if someone can tell me where to find it, as it's 
not clear to me what I'd be looking for.

Looking at, it appears 
this patch was made back in April of 2004, so it's entirely possible 
(I'd presume) that the file has changed sufficiently that the patch 
will no longer work?

Thanks for any help


More information about the freebsd-apache mailing list