ports/50343: [NEW PORT] mail/bincimap: Light-weight IMAP4rev1-compliant server
Sergei Kolobov
sergei at kolobov.com
Thu Mar 27 16:00:36 UTC 2003
The following reply was made to PR ports/50343; it has been noted by GNATS.
From: Sergei Kolobov <sergei at kolobov.com>
To: FreeBSD-gnats-submit at FreeBSD.org
Cc:
Subject: Re: ports/50343: [NEW PORT] mail/bincimap: Light-weight IMAP4rev1-compliant server
Date: Thu, 27 Mar 2003 18:55:59 +0300
On 2003-03-27 at 12:56 -0000, Sergei Kolobov wrote:
> NOTE: this port was created and tested under -CURRENT.
> It does not compile under -STABLE - it looks like it is related to GCC
> version differences between -STABLE and -CURRENT. I notified the developers
> and awaiting for patches.
Thanks to the author's quick response, the port now DOES compile and
work under -STABLE (see patch below).
> Binc IMAP is under active development.
Did I say it is actively developed ;)
diff -ruN bincimap.PR/Makefile bincimap/Makefile
--- bincimap.PR/Makefile Thu Mar 27 18:43:31 2003
+++ bincimap/Makefile Thu Mar 27 18:12:29 2003
@@ -37,7 +37,7 @@
CONFIGURE_ENV+= CPPFLAGS="${CPPFLAGS}" LDFLAGS="${LDFLAGS}"
.endif
-do-patch:
+post-patch:
${REINPLACE_CMD} -e 's!<wait.h>!<sys/wait.h>!' ${WRKSRC}/src/io/io.cc
post-install:
diff -ruN bincimap.PR/files/patch-src::operators.h bincimap/files/patch-src::operators.h
--- bincimap.PR/files/patch-src::operators.h Thu Jan 1 03:00:00 1970
+++ bincimap/files/patch-src::operators.h Thu Mar 27 18:26:39 2003
@@ -0,0 +1,38 @@
+--- src/operators.h.orig Thu Mar 27 18:21:57 2003
++++ src/operators.h Thu Mar 27 18:24:36 2003
+@@ -288,6 +288,7 @@
+ protected:
+ bool expectSearchKey(BincImapParserSearchKey &s_in) const;
+
++ //------------------------------------------------------------------
+ class SearchNode {
+
+ std::string date;
+@@ -326,18 +327,20 @@
+
+ void init(const BincImapParserSearchKey &a);
+
++
++ //----------------------------------------------------------------------
++ static bool compareNodes(const SearchNode &a,
++ const SearchNode &b)
++ {
++ return a.getWeight() < b.getWeight();
++ }
++
+ SearchNode(void);
+ SearchNode(const BincImapParserSearchKey &a);
+ };
+
+- //----------------------------------------------------------------------
+- static bool compareNodes(const SearchNode &a,
+- const SearchNode &b)
+- {
+- return a.getWeight() < b.getWeight();
+- }
+-
+ public:
++
+ void process(Depot &, BincImapParserCommand &) const;
+ virtual bool parse(BincImapParserCommand &) const;
+
More information about the freebsd-ports-bugs
mailing list