Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Jan 2005 22:59:43 -0500
From:      Timothy Luoma <lists@tntluoma.com>
To:        freebsd-apache@freebsd.org
Subject:   patching mod_dav
Message-ID:  <BC4E92E2-5C72-11D9-A9DC-000D93AD26C8@tntluoma.com>

next in thread | raw e-mail | index | archive | help

(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 
http://www.tnpi.biz/computing/mac/tips/idisk/ (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 http://www.carrel.org/files/dav-diskfree.patch 
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: 
/usr/ports/www/mod_dav/work/mod_dav-1.0.3-1.3.6/dav_fs_repos.c
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 http://www.carrel.org/files/dav-diskfree.patch, 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

TjL



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BC4E92E2-5C72-11D9-A9DC-000D93AD26C8>