diff --git a/www/mod_watch/Makefile b/www/mod_watch/Makefile index 8ede7d7a152c..9e689a1c7695 100644 --- a/www/mod_watch/Makefile +++ b/www/mod_watch/Makefile @@ -7,6 +7,7 @@ PORTNAME= mod_watch PORTVERSION= 3.12 +PORTREVISION= 1 CATEGORIES= www MASTER_SITES= http://www.snert.com/Software/mod_watch/ \ ftp://ftp.nuug.no/pub/anders/distfiles/ @@ -32,12 +33,6 @@ DOCS= apache2mrtg.html index.shtml mailto.js mod_watch.html style.css DOCS_HTMLIMAGES= apache-header-476-62.png mrpixel.gif mrtg-bar.png \ sun-logo.jpg wave1.jpg -.include - -.if ${OSVERSION} >= 501000 -BROKEN= "Does not compile" -.endif - post-patch: ${PERL} -pi -e "s@^APXS.*@@" ${WRKSRC}/Makefile @@ -60,4 +55,4 @@ do-install: @${SH} ${PKGINSTALL} ${PKGNAME} POST-INSTALL @${CAT} ${PKGMESSAGE} -.include +.include diff --git a/www/mod_watch/files/patch-mod_watch.c b/www/mod_watch/files/patch-mod_watch.c index c2aa9a14c0f5..bdb000dd65fe 100644 --- a/www/mod_watch/files/patch-mod_watch.c +++ b/www/mod_watch/files/patch-mod_watch.c @@ -1,5 +1,5 @@ ---- mod_watch.c.orig Thu Mar 14 12:44:07 2002 -+++ mod_watch.c Mon Oct 28 00:48:48 2002 +--- mod_watch.c.orig Thu Mar 14 03:44:07 2002 ++++ mod_watch.c Wed Oct 15 22:37:21 2003 @@ -41,6 +41,10 @@ * ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. */ @@ -11,3 +11,42 @@ #ifndef SPOOLDIR #define SPOOLDIR "/var/spool/mod_watch/" #endif +@@ -1037,22 +1041,22 @@ + if (shLock(shtable) && MutexLock(mutex)) + goto error0; + +- ap_rprintf(r, " +- +- +- ++ ap_rprintf(r, "\n\ ++\n\ ++\n\ ++\n\ + " + ); +