Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 21 Oct 2004 22:30:47 +1000
From:      Mark Sergeant <msergeant@iexec.com.au>
To:        ports@freebsd.org
Cc:        Vivek Khera <vivek@khera.org>
Subject:   postfix-2.1.5 w/ SPF, cyrus SASL2, PgSQL
Message-ID:  <0919F7AF-235D-11D9-9982-000A95AB7DDE@iexec.com.au>

next in thread | raw e-mail | index | archive | help
I'm experiencing the following difficulty when compiling this port on 
FreeBSD-5.3-STABLE ...

/usr/local/include  -O -pipe -I. -I../../include -DFREEBSD5 -c 
smtpd_check.c
smtpd_check.c: In function `reject_spf_ill_sender':
smtpd_check.c:1559: error: label at end of compound statement
*** Error code 1

Stop in /usr/ports/mail/postfix/work/postfix-2.1.5/src/smtpd.
*** Error code 1

Seems its missing a break; in the default section.

Patch as follows...

--- smtpd_check.c       Thu Oct 21 22:26:30 2004
+++ work/postfix-2.1.5/src/smtpd/smtpd_check.c  Thu Oct 21 22:26:45 2004
@@ -1556,7 +1556,6 @@
                 reply_name, reply_class);
         break;
      default:
-       break;
      }

      /*



### End of Patch

Cheers,

Mark



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?0919F7AF-235D-11D9-9982-000A95AB7DDE>