[Pkg-clamav-commits] [SCM] Debian repository for ClamAV branch, debian/unstable, updated. debian/0.95+dfsg-1-167-g4319a8f

edwin edwin at 77e5149b-7576-45b1-b177-96237e5ba77b
Fri Jun 12 19:12:00 UTC 2009


The following commit has been merged in the debian/unstable branch:
commit adabe06871e9834cb50e120c60c6acded84646ff
Author: edwin <edwin at 77e5149b-7576-45b1-b177-96237e5ba77b>
Date:   Wed May 6 07:56:41 2009 +0000

    set EF_ALIGNMENT=8 for non-x86 platforms. (bb #1385)
    
    git-svn-id: http://svn.clamav.net/svn/clamav-devel/trunk@5063 77e5149b-7576-45b1-b177-96237e5ba77b

diff --git a/ChangeLog b/ChangeLog
index 8040090..57056fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+Wed May  6 10:55:25 EEST 2009 (edwin)
+-------------------------------------
+ * unit_tests/efence_tests.sh: set EF_ALIGNMENT=8 for non-x86
+ platforms.
+
 Wed May  6 10:45:55 EEST 2009 (edwin)
 -------------------------------------
  * configure, configure.in: Fix Solaris memory usage: don't link with
diff --git a/unit_tests/efence_tests.sh b/unit_tests/efence_tests.sh
index b7c3e95..a5cc9a7 100755
--- a/unit_tests/efence_tests.sh
+++ b/unit_tests/efence_tests.sh
@@ -11,6 +11,9 @@ if test -z "$LIBEFENCE"; then
 fi
 test -f "$LIBEFENCE" || { echo "*** electric-fence not found, skipping test"; exit 77;}
 
+# use the default EF_ALIGNMENT only for x86/x86_64, and set it to 8 for other
+# platforms. ia64 needs this for example.
+(../libtool --config | grep host=x86) || { EF_ALIGNMENT=8; export EF_ALIGNMENT; }
 EF_DISABLE_BANNER=1
 EF_FREE_WIPES=1
 LIBPRELOAD="$LIBEFENCE"

-- 
Debian repository for ClamAV



More information about the Pkg-clamav-commits mailing list