Skip site navigation (1)Skip section navigation (2)
Date:      16 Mar 2003 20:49:47 -0000
From:      Sergei Kolobov <sergei@kolobov.com>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        udo.schweigert@siemens.com
Subject:   ports/50055: [PATCH] mail/mutt-devel: add maildir cache patch
Message-ID:  <20030316204947.60632.qmail@outpost.globcon.net>

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

>Number:         50055
>Category:       ports
>Synopsis:       [PATCH] mail/mutt-devel: add maildir cache patch
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Mar 16 12:50:14 PST 2003
>Closed-Date:
>Last-Modified:
>Originator:     Sergei Kolobov
>Release:        FreeBSD 4.7-STABLE i386
>Organization:
>Environment:
System: FreeBSD outpost.globcon.net 4.7-STABLE FreeBSD 4.7-STABLE #0: Mon Oct 14 02:23:23 MSD 2002     sgk@outpost.globcon.net:/data/FreeBSD/obj/data/FreeBSD/src/sys/OUTPOST  i386
>Description:
- Add a new compile-time knob: WITH_MUTT_MAILDIR_CACHE

Tested on 4.8-RC and 5.0-CURRENT.

Port maintainer - udo.schweigert@siemens.com - has been copied.
>How-To-Repeat:
>Fix:

--- mutt-devel-1.5.3.patch begins here ---
Index: Makefile
===================================================================
RCS file: /home/ncvs/ports/mail/mutt-devel/Makefile,v
retrieving revision 1.187
diff -u -r1.187 Makefile
--- Makefile	2003/02/21 12:42:18	1.187
+++ Makefile	2003/03/16 20:47:28
@@ -65,6 +65,9 @@
 #
 # If you want to use the ifdef feature define:
 #  WITH_MUTT_IFDEF_PATCH
+#
+# If you want to use the maildir cache feature define:
+#  WITH_MUTT_MAILDIR_CACHE
 
 PORTNAME=	mutt-devel
 PORTVERSION=	1.5.3
@@ -235,6 +238,15 @@
 .endif
 .if defined(WITH_MUTT_MBOX_HOOK_PATCH)
 PATCHFILES+=	p0-patch-${PATCH_VERSION}.dw.mbox-hook.1:dw
+.endif
+.if defined(WITH_MUTT_MAILDIR_CACHE)
+PATCH_SITES+=	http://www.cs.hmc.edu/~me/mutt/:me
+PATCHFILES+=	patch-1.5.2.me.hcache.1:me
+CONFIGURE_ARGS+=	--enable-cache
+
+# This is a hack until the patch is updated for 1.5.3
+pre-patch:
+	${REINPLACE_CMD} -e 's/me@mutt.org/me@cs.hmc.edu/' ${WRKSRC}/protos.h
 .endif
 
 WRKSRC=		${WRKDIR}/${DISTNAME:S/i$//}
Index: distinfo
===================================================================
RCS file: /home/ncvs/ports/mail/mutt-devel/distinfo,v
retrieving revision 1.79
diff -u -r1.79 distinfo
--- distinfo	2003/01/24 22:17:58	1.79
+++ distinfo	2003/03/16 20:47:28
@@ -7,3 +7,4 @@
 MD5 (mutt/patch-1.5.3.cd.signatures_menu.2.1) = 6db636f0004e73ee2d9f577acd4ed380
 MD5 (mutt/patch-1.5.3.cd.ifdef.1) = 01b47e075364834b82da053cac4eb69f
 MD5 (mutt/p0-patch-1.5.3.dw.mbox-hook.1) = e7a0a57023cfdfd909f6040e632fff1f
+MD5 (mutt/patch-1.5.2.me.hcache.1) = 097b7e1af6f5130a2cd12b113b16bf4c
--- mutt-devel-1.5.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030316204947.60632.qmail>