diff options
| author | Renato Botelho <garga@FreeBSD.org> | 2014-05-15 22:33:08 +0000 |
|---|---|---|
| committer | Renato Botelho <garga@FreeBSD.org> | 2014-05-15 22:33:08 +0000 |
| commit | 8a175e5f22ebbba579c95106c0e12de48a94aaa8 (patch) | |
| tree | 303489bcd571cdd4605927166735b69c0374eb6e /security/clamav/files/patch-configure | |
| parent | Fix MOVED (diff) | |
Fix major version number calculation
Submitted by: Shawn Webb <lattera@gmail.com>
Obtained from: https://github.com/vrtadmin/clamav-devel/commit/d17ee49f75e23b43fadf745c27dc4dd16ee372e5
Diffstat (limited to 'security/clamav/files/patch-configure')
| -rw-r--r-- | security/clamav/files/patch-configure | 19 |
1 files changed, 14 insertions, 5 deletions
diff --git a/security/clamav/files/patch-configure b/security/clamav/files/patch-configure index fc85efdcc7b6..9f3eccdaaaf2 100644 --- a/security/clamav/files/patch-configure +++ b/security/clamav/files/patch-configure @@ -1,15 +1,24 @@ ---- configure.orig 2008-10-15 07:41:31.000000000 -0300 -+++ configure 2008-10-15 08:55:58.000000000 -0300 -@@ -17909,7 +17909,7 @@ +--- configure.orig 2014-05-06 15:59:41.000000000 -0300 ++++ configure 2014-05-15 13:28:43.000000000 -0300 +@@ -3450,6 +3450,8 @@ + LIBCLAMAV_VERSION="$LC_CURRENT":"$LC_REVISION":"$LC_AGE" + + ++major=`expr $LC_CURRENT - $LC_AGE` ++ + + cat >>confdefs.h <<_ACEOF + #define LIBCLAMAV_FULLVER "$major.$LC_AGE.$LC_REVISION" +@@ -18564,7 +18566,7 @@ ;; freebsd*) if test "$have_pthreads" = "yes"; then - THREAD_LIBS="-lthr" + THREAD_LIBS="%%PTHREAD_LIBS%%" TH_SAFE="-thread-safe" + fi - cat >>confdefs.h <<\_ACEOF -@@ -18269,7 +18269,7 @@ +@@ -18740,7 +18742,7 @@ if test "$have_milter" = "yes"; then save_LIBS="$LIBS" |
