ports/55294: Update security/clamav-devel and fix fetching
Yen-Ming Lee
leeym at FreeBSD.org
Thu Aug 7 06:50:18 UTC 2003
The following reply was made to PR ports/55294; it has been noted by GNATS.
From: Yen-Ming Lee <leeym at FreeBSD.org>
To: freebsd-gnats-submit at FreeBSD.org, rob at debank.tv
Cc:
Subject: Re: ports/55294: Update security/clamav-devel and fix fetching
Date: Thu, 7 Aug 2003 14:48:37 +0800
--ZfOjI3PrQbgiZnxM
Content-Type: multipart/mixed; boundary="EeQfGwPcQSOJBaQU"
Content-Disposition: inline
--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=big5
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable
I met some problem when building this port on 5.x.
cc -DPACKAGE_NAME=3D\"\" -DPACKAGE_TARNAME=3D\"\" -DPACKAGE_VERSION=3D\"\" =
-DPACKAGE_STRING=3D\"\" -DPACKAGE_BUGREPORT=3D\"\" -DPACKAGE=3D\"clamav\" -=
DVERSION=3D\"cvs\" -DSTDC_HEADERS=3D1 -DHAVE_SYS_TYPES_H=3D1 -DHAVE_SYS_STA=
T_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRING_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_=
STRINGS_H=3D1 -DHAVE_INTTYPES_H=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1=
-DHAVE_DLFCN_H=3D1 -DBUFFSIZE=3D131072 -DFBUFFSIZE=3D16384 -DSTDC_HEADERS=
=3D1 -DHAVE_STDINT_H=3D1 -DHAVE_UNISTD_H=3D1 -DHAVE_DLFCN_H=3D1 -DHAVE_INTT=
YPES_H=3D1 -DHAVE_MEMORY_H=3D1 -DHAVE_STDLIB_H=3D1 -DHAVE_STRINGS_H=3D1 -DH=
AVE_STRING_H=3D1 -DHAVE_SYS_MMAN_H=3D1 -DHAVE_SYS_PARAM_H=3D1 -DHAVE_SYS_ST=
AT_H=3D1 -DHAVE_SYS_TYPES_H=3D1 -DSIZEOF_SHORT=3D2 -DSIZEOF_INT=3D4 -DSIZEO=
F_LONG=3D4 -DHAVE_ZLIB_H=3D1 -DHAVE_BZLIB_H=3D1 -DCLAMD_USE_SYSLOG=3D1 -DCL=
AMAVUSER=3D\"clamav\" -DCLAMAVGROUP=3D\"clamav\" -DC_BIGSTACK=3D1 -DDB1NAME=
=3D\"viruses.db\" -DDB2NAME=3D\"viruses.db2\" -DDATADIR=3D\"/usr/local/shar=
e/clamav\" -DCONFDIR=3D\"/usr/local/etc\" -DC_URANDOM=3D1 -DCL_THREAD_SAFE=
=3D1 -DC_BSD=3D1 -DWORDS_LITTLEENDIAN=3D1 -I. -I. -I.. -Izziplib -march=3Di=
686 -O -pipe -s -mcpu=3Dpentiumpro -c zziplib/zzip-dir.c -MT zzip-dir.lo -M=
D -MP -MF .deps/zzip-dir.TPlo -fPIC -DPIC -o .libs/zzip-dir.lo
In file included from zziplib/zzip.h:21,
from zziplib/zzip-dir.c:13:
zziplib/zziplib.h:83: syntax error before "zzip_ssize_t"
zziplib/zziplib.h:83: warning: data definition has no type or storage class
zziplib/zziplib.h:185: syntax error before "zzip_file_read"
zziplib/zziplib.h:185: warning: data definition has no type or storage class
zziplib/zziplib.h:192: syntax error before "zzip_read"
zziplib/zziplib.h:192: warning: data definition has no type or storage class
gmake[1]: *** [zzip-dir.lo] Error 1
gmake[1]: Leaving directory `/home/leeym/cvs/ports/security/clamav-devel/wo=
rk/clamav-devel-20030805/libclamav'
gmake: *** [all-recursive] Error 1
*** Error code 2
I add files/patch-libclamav::zziplib::zzip-conf.h, and then it can be built=
smoothly.
--=20
Yen-Ming Lee [=A7=F5=AB=DB=A9=FA] KeyID: 0x5EB52E51 : www.leeym.com : Taipe=
i, Taiwan
--EeQfGwPcQSOJBaQU
Content-Type: text/plain; charset=big5
Content-Disposition: attachment; filename="patch-libclamav::zziplib::zzip-conf.h"
--- libclamav/zziplib/zzip-conf.h.orig Mon Aug 4 06:25:30 2003
+++ libclamav/zziplib/zzip-conf.h Thu Aug 7 03:48:35 2003
@@ -29,6 +29,10 @@
# endif
#endif
+# ifdef ZZIP_HAVE_SYS_TYPES_H
+# include <sys/types.h>
+# endif
+
/* especially win32 platforms do not declare off_t so far - see zzip-msvc.h */
#ifndef _zzip_off_t
#ifdef ZZIP_off_t
--EeQfGwPcQSOJBaQU--
--ZfOjI3PrQbgiZnxM
Content-Type: application/pgp-signature
Content-Disposition: inline
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.2 (FreeBSD)
iQCVAwUBPzH2RcnMx0NetS5RAQH7PwP9GgttKzO3IWKnK5I1Pf94ivh4UiKmrJIu
ywH9OR1Uiq4f8xLIPRlbhQSH4MtOjL0ry5/41MaJB+Jkmlj32eL6twc1iTGd/ETZ
mf2mMlIgTSLsL9MOe0GUtSq4XUrIO69RtRoeMTjV5aRYKTJ3zXiskoF8s3euxEqB
8qIaTYVKGe4=
=+PUl
-----END PGP SIGNATURE-----
--ZfOjI3PrQbgiZnxM--
More information about the freebsd-ports-bugs
mailing list