ports/79207: Update port: mail/postfix fix VDA with old gcc
Marcus Grando
marcus at corp.grupos.com.br
Thu Mar 24 17:10:04 UTC 2005
>Number: 79207
>Category: ports
>Synopsis: Update port: mail/postfix fix VDA with old gcc
>Confidential: no
>Severity: non-critical
>Priority: high
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: update
>Submitter-Id: current-users
>Arrival-Date: Thu Mar 24 17:10:02 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator: Marcus Grando
>Release: FreeBSD 4.11-STABLE i386
>Organization:
Grupos Internet S/A
>Environment:
System: FreeBSD corp.grupos.com.br 4.11-STABLE FreeBSD 4.11-STABLE #43: Sun Mar 13 23:23:17 BRT 2005 root at corp.grupos.com.br:/usr/obj/usr/src/sys/CORP i386
>Description:
Update port: mail/postfix fix VDA with old gcc
- Fix VDA patch with old gcc
Note: If need, change PORTREVISION.
>How-To-Repeat:
>Fix:
--- postfix.patch begins here ---
diff -ruN postfix.orig/files/vda_old_gcc.patch postfix/files/vda_old_gcc.patch
--- postfix.orig/files/vda_old_gcc.patch Wed Dec 31 21:00:00 1969
+++ postfix/files/vda_old_gcc.patch Thu Mar 24 13:54:11 2005
@@ -0,0 +1,18 @@
+--- src/virtual/maildir.c.orig Thu Mar 24 13:51:25 2005
++++ src/virtual/maildir.c Thu Mar 24 13:53:15 2005
+@@ -225,7 +225,6 @@
+ int copy_flags;
+ struct stat st;
+ struct timeval starttime;
+- GETTIMEOFDAY(&starttime);
+
+ /* Maildir Quota */
+ const char *limit_res; /* Limit from map */
+@@ -239,6 +238,7 @@
+ struct stat sizefile_stat; /* To check the size of the maildirsize file (cannot be larger than 5k) */
+ time_t tm;
+
++ GETTIMEOFDAY(&starttime);
+
+ /*
+ * Make verbose logging easier to understand.
diff -ruN postfix.orig/scripts/configure.postfix postfix/scripts/configure.postfix
--- postfix.orig/scripts/configure.postfix Sat Mar 19 20:17:54 2005
+++ postfix/scripts/configure.postfix Thu Mar 24 14:02:41 2005
@@ -212,6 +212,7 @@
VDA)
/bin/echo "PATCH_SITES+= http://web.onda.com.br/nadal/postfix/VDA/"
/bin/echo "PATCHFILES+= postfix-2.2.0-vda.patch.gz"
+ /bin/echo "EXTRA_PATCHES+= ${FILESDIR}/vda_old_gcc.patch"
/bin/echo "PATCH_DIST_STRIP= -p1"
;;
Test)
--- postfix.patch ends here ---
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list