openbsd-ports/security/clamav/patches/patch-configure
mbalmer 2b417d5b5a Update to version 0.87.
Notes: This version fixes vulnerabilities in handling of UPX and FSG compressed
executables. Support for PE files, Zip and Cabinet archives has been improved
and other small bugfixes have been made. The new option "--on-outdated-execute"
allows freshclam to run a command when system reports a new engine version.
2005-09-22 21:14:55 +00:00

52 lines
1.4 KiB
Plaintext

--- configure.orig Fri Sep 16 01:34:05 2005
+++ configure Mon Sep 19 20:06:08 2005
@@ -10549,11 +10549,11 @@ extern "C"
#endif
/* We use char because int might match the return type of a gcc2
builtin and then its argument prototype would still apply. */
-char bzReadOpen ();
+char BZ2_bzReadOpen ();
int
main ()
{
-bzReadOpen ();
+BZ2_bzReadOpen ();
;
return 0;
}
@@ -10914,6 +10914,8 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
$ac_includes_default
+#include <sys/types.h>
+#include <netinet/in.h>
#include <resolv.h>
_ACEOF
rm -f conftest.$ac_objext
@@ -11856,13 +11858,9 @@ _ACEOF
openbsd*)
if test "$have_pthreads" = "yes"; then
LIBCLAMAV_LIBS="$LIBCLAMAV_LIBS -pthread"
- if test "$use_cr" = "no"; then
- CLAMD_LIBS="$CLAMD_LIBS -pthread"
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -pthread"
- else
- CLAMD_LIBS="$CLAMD_LIBS -pthread -lc_r"
- CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -pthread -lc_r"
- fi
+ ADDITIONAL_LIBS="-pthread"
+ CLAMD_LIBS="$CLAMD_LIBS -pthread"
+ CLAMAV_MILTER_LIBS="$CLAMAV_MILTER_LIBS -pthread"
TH_SAFE="-thread-safe"
cat >>confdefs.h <<\_ACEOF
@@ -12996,6 +12994,8 @@ cat confdefs.h >>conftest.$ac_ext
cat >>conftest.$ac_ext <<_ACEOF
/* end confdefs.h. */
+#include <sys/types.h>
+#include <sys/types.h>
#include <tcpd.h>
int allow_severity = 0;
int deny_severity = 0;