From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([2001:4830:134:3::10]:38996) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoHWj-0006zA-Ce for qemu-devel@nongnu.org; Mon, 19 Oct 2015 16:59:32 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1ZoHWH-0005WE-V5 for qemu-devel@nongnu.org; Mon, 19 Oct 2015 16:59:05 -0400 Received: from complete.lackof.org ([198.49.126.79]:56614) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1ZoHWH-0005Vi-Pz for qemu-devel@nongnu.org; Mon, 19 Oct 2015 16:59:01 -0400 From: dann frazier Date: Mon, 19 Oct 2015 14:58:51 -0600 Message-Id: <1445288331-23577-1-git-send-email-dann.frazier@canonical.com> Subject: [Qemu-devel] [PATCH] seccomp: loosen library version dependency List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org, pmoore@redhat.com, peter.maydell@linaro.org Cc: Eduardo Otubo Drop the libseccomp required version back to 2.1.0, restoring the ability to build w/ --enable-seccomp on Ubuntu 14.04. Commit 4cc47f8b3cc4f32586ba2f7fce1dc267da774a69 tightened the dependency on libseccomp from version 2.1.0 to 2.1.1. This broke building on Ubuntu 14.04, the current Ubuntu LTS release. The commit message didn't mention any specific functional need for 2.1.1, just that it was the most recent stable version at the time. I reviewed the changes between 2.1.0 and 2.1.1, but it looks like that update just contained minor fixes and cleanups - no obvious (to me) new interfaces or critical bug fixes. Signed-off-by: dann frazier --- configure | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure b/configure index 913ae4a..b6f4694 100755 --- a/configure +++ b/configure @@ -1873,13 +1873,13 @@ fi if test "$seccomp" != "no" ; then if test "$cpu" = "i386" || test "$cpu" = "x86_64" && - $pkg_config --atleast-version=2.1.1 libseccomp; then + $pkg_config --atleast-version=2.1.0 libseccomp; then libs_softmmu="$libs_softmmu `$pkg_config --libs libseccomp`" QEMU_CFLAGS="$QEMU_CFLAGS `$pkg_config --cflags libseccomp`" seccomp="yes" else if test "$seccomp" = "yes"; then - feature_not_found "libseccomp" "Install libseccomp devel >= 2.1.1" + feature_not_found "libseccomp" "Install libseccomp devel >= 2.1.0" fi seccomp="no" fi -- 2.6.1