summaryrefslogtreecommitdiff
path: root/security/clamav-devel/files/patch-configure.in
diff options
context:
space:
mode:
authorAlex Dupre <ale@FreeBSD.org>2004-12-03 09:52:20 +0000
committerAlex Dupre <ale@FreeBSD.org>2004-12-03 09:52:20 +0000
commit5ee273c1fd0cba6ad199b2b64c36e236ef75ca09 (patch)
treeac0f59ee63434590b1ee4ddc26aaa4af25e53c54 /security/clamav-devel/files/patch-configure.in
parentFix build on 4.x (diff)
Update to 20041201 snapshot.
Approved by: maintainer
Notes
Notes: svn path=/head/; revision=123032
Diffstat (limited to '')
-rw-r--r--security/clamav-devel/files/patch-configure.in28
1 files changed, 24 insertions, 4 deletions
diff --git a/security/clamav-devel/files/patch-configure.in b/security/clamav-devel/files/patch-configure.in
index ada5449f5d18..344e68eb4c16 100644
--- a/security/clamav-devel/files/patch-configure.in
+++ b/security/clamav-devel/files/patch-configure.in
@@ -1,6 +1,26 @@
---- configure.in.orig Sun Aug 22 19:08:25 2004
-+++ configure.in Thu Sep 2 13:36:30 2004
-@@ -284,9 +284,6 @@
+--- configure.in.orig Tue Nov 30 16:56:25 2004
++++ configure.in Fri Dec 3 09:47:19 2004
+@@ -97,6 +97,10 @@
+ then
+ AC_MSG_ERROR(Please install zlib and zlib-devel packages)
+ else
++ case "$target_os" in
++ freebsd*)
++ ;;
++ *)
+ vuln=`grep "ZLIB_VERSION \"1.2.0" $ZLIB_HOME/include/zlib.h`
+ if test -z "$vuln"; then
+ vuln=`grep "ZLIB_VERSION \"1.2.1" $ZLIB_HOME/include/zlib.h`
+@@ -105,6 +109,8 @@
+ if test -n "$vuln"; then
+ AC_MSG_ERROR(Installed zlib version contains a security bug. Please install version 1.2.2 or later.)
+ fi
++ ;;
++ esac
+
+ if test "$ZLIB_HOME" != "/usr"; then
+ LDFLAGS="$LDFLAGS -L$ZLIB_HOME/lib"
+@@ -343,9 +349,6 @@
;;
freebsd*)
if test "$have_pthreads" = "yes"; then
@@ -9,4 +29,4 @@
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -pthread -lc_r"
TH_SAFE="-thread-safe"
AC_DEFINE(CL_THREAD_SAFE,1,[thread safe])
- AC_DEFINE(_REENTRANT,1,[thread safe]) \ No newline at end of file
+ AC_DEFINE(_REENTRANT,1,[thread safe])