> Am 22.05.2016 um 02:12 schrieb Richard <rich...@aaazen.com>: > >> On Sat, 21 May 2016, j...@poolp.org wrote: >> >> A new opensmtpd-extras snapshot is available at: >> >> http://www.opensmtpd.org/archives/opensmtpd-extras-201605212201.tar.gz >> >> Checksum: >> >> SHA256 (opensmtpd-extras-201605212201.tar.gz) = >> 2e065fb58b6d55e05d26c28fe98a417b6db0396d214e3f2f2885aa2f6179dd6c >> >> A summary of the content of this snapshot is available below. >> >> Please test and let us know if it breaks something! >> >> If this snapshot doesn't work, please also test with a previous one, >> to help us spot where the issue is coming from. You can access all >> previous snapshots here: >> >> http://www.opensmtpd.org/archives/ >> >> The OpenSMTPD team ;-) >> >> >> Summary of changes since last snapshot (opensmtpd-extras-201605182041): >> ---------------------------------------------------------------------- >> >> - add -c and -C chroot option to filter-dkim-signer as well >> - dkim-filter: initialize PRNG before chroot >> - use SIZE_MAX instead of SIZE_T_MAX should fix build on ArchLinux and >> Slackware noticed by parchd and Richard >> - sync flag names with opensmtpd-portable, noted by parchd >> > > The build now works without fatal error. But I now get an "implicit > function declaration of 'strtonum'" warning when building filter-spamassassin: > > make[5]: Entering directory > '/tmp/SBo/opensmtpd-extras-201605212201/extras/wip/filters/filter-spamassassin' > gcc -DHAVE_CONFIG_H -I. -I../../../.. -I../../../../api > -I../../../../openbsd-compat -I../../../../contrib/lib/libc/asr > -DSMTPD_CONFDIR=\"/etc/opensmtpd\" -DPATH_CHROOT=\"/var/empty\" > -DPATH_LIBEXEC=\"/usr/libexec/opensmtpd\" -I/usr/include > -O2 -fPIC -fstack-protector -fPIC -DPIC -Wall -Wpointer-arith > -Wuninitialized -Wsign-compare -Wformat-security -Wsizeo > f-pointer-memaccess -Wno-pointer-sign -Wno-unused-result > -fno-strict-aliasing -fno-builtin-memset -D_BSD_SOURCE -fPIE -c > -o filter_spamassassin.o filter_spamassassin.c > In file included from /usr/include/sys/types.h:25:0, > from filter_spamassassin.c:17: > /usr/include/features.h:148:3: warning: #warning "_BSD_SOURCE and > _SVID_SOURCE are deprecated, use _DEFAULT_SOURCE" [-Wcp > p] > # warning "_BSD_SOURCE and _SVID_SOURCE are deprecated, use > _DEFAULT_SOURCE" > ^ > filter_spamassassin.c: In function 'main': > filter_spamassassin.c:373:24: warning: implicit declaration of function > 'strtonum' [-Wimplicit-function-declaration] > spamassassin_limit = strtonum(l, 1, SIZE_MAX, &errstr); > > > I still like the idea of #include "includes.h" to remove the warning.
Yes, seems to be required. I will take care, thanks for testing and reporting. > -- > Richard Narron > > -- > You received this mail because you are subscribed to misc@opensmtpd.org > To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org > -- You received this mail because you are subscribed to misc@opensmtpd.org To unsubscribe, send a mail to: misc+unsubscr...@opensmtpd.org