ports/70135: [patch] Update securiy/clamav-devel to 20040807
Volker Stolz
vs at freebsd.org
Wed Aug 11 12:10:30 UTC 2004
The following reply was made to PR ports/70135; it has been noted by GNATS.
From: "Volker Stolz" <vs at freebsd.org>
To: freebsd-gnats-submit at freebsd.org, marcus at corp.grupos.com.br,
rob at debank.tv
Cc:
Subject: Re: ports/70135: [patch] Update securiy/clamav-devel to 20040807
Date: Wed, 11 Aug 2004 14:07:41 +0200
Explicitely links with -lc_r: doesn't build on 4.10:
cc -DSENDMAIL_BIN=\"/usr/sbin/sendmail\" -O -pipe -g -I/usr/local/include
-o .libs/clamav-milter cfgparser.o getopt.o memory.o clamav-milter.o
-L/usr/local/lib ../libclamav/.libs/libclamav.so -lcipher -lz -lbz2 -lgmp
-lmilter -lc_r -lwrap -Wl,--rpath -Wl,/usr/local/lib
/usr/lib/libc.so: warning: this program uses gets(), which is unsafe.
/usr/lib/libc.so: warning: mktemp() possibly used unsafely; consider using
mkstemp()
/usr/lib/libc.so: warning: tmpnam() possibly used unsafely; consider using
mkstemp()
/usr/lib/libc.so: warning: this program uses f_prealloc(), which is not
recommended.
/usr/lib/libc.so: warning: tempnam() possibly used unsafely; consider
using mkstemp()
clamav-milter.o: In function `clamfi_gethostbyname':
/usr/ports/security/clamav-devel/work/clamav-devel-20040807/clamav-milter/clamav-milter.c:3251:
undefined reference to `gethostbyname_r'
You must use PTHREAD_CFLAGS/LIBS unstead of -lc_r. But what's worse, 4.X
doesn't have
gethostbyname_r() at all!
Volker
More information about the freebsd-ports-bugs
mailing list