postfix-2.1.5 w/ SPF, cyrus SASL2, PgSQL

Mark Sergeant msergeant at iexec.com.au
Thu Oct 21 05:30:52 PDT 2004


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



More information about the freebsd-ports mailing list