From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1RbZ3C-00054Q-48 for garchives@archives.gentoo.org; Fri, 16 Dec 2011 14:46:20 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4ED1721C1E7; Fri, 16 Dec 2011 14:46:11 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 247AE21C1E7 for ; Fri, 16 Dec 2011 14:46:11 +0000 (UTC) Received: from flycatcher.gentoo.org (flycatcher.gentoo.org [81.93.255.6]) (using TLSv1 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 873101B40E8 for ; Fri, 16 Dec 2011 14:46:10 +0000 (UTC) Received: by flycatcher.gentoo.org (Postfix, from userid 2313) id 993C62004B; Fri, 16 Dec 2011 14:46:08 +0000 (UTC) From: "Johannes Huber (johu)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, johu@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in kde-misc/polkit-kde-kcmodules/files: polkit-kde-kcmodules-version-check.patch X-VCS-Repository: gentoo-x86 X-VCS-Files: polkit-kde-kcmodules-version-check.patch X-VCS-Directories: kde-misc/polkit-kde-kcmodules/files X-VCS-Committer: johu X-VCS-Committer-Name: Johannes Huber Content-Type: text/plain; charset=utf8 Message-Id: <20111216144608.993C62004B@flycatcher.gentoo.org> Date: Fri, 16 Dec 2011 14:46:08 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 8652360e-9162-457c-8ab9-40dfda585868 X-Archives-Hash: b669cf5c9b2e62e62c2575715b2d95f9 johu 11/12/16 14:46:08 Added: polkit-kde-kcmodules-version-check.patch Log: Add build fix. Thanks Alphat-PC for patch. bug #39= 4921 =20 (Portage version: 2.2.0_alpha81/cvs/Linux x86_64) Revision Changes Path 1.1 kde-misc/polkit-kde-kcmodules/files/polkit-kde-kcmod= ules-version-check.patch file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/polkit-kd= e-kcmodules/files/polkit-kde-kcmodules-version-check.patch?rev=3D1.1&view= =3Dmarkup plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/polkit-kd= e-kcmodules/files/polkit-kde-kcmodules-version-check.patch?rev=3D1.1&cont= ent-type=3Dtext/plain Index: polkit-kde-kcmodules-version-check.patch =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D cmake/modules/FindPolkitQt-1.cmake | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-) diff --git a/cmake/modules/FindPolkitQt-1.cmake b/cmake/modules/FindPolki= tQt-1.cmake index 0bc86d5..5f51535 100644 --- a/cmake/modules/FindPolkitQt-1.cmake +++ b/cmake/modules/FindPolkitQt-1.cmake @@ -47,14 +47,16 @@ if(POLKITQT-1_VERSION_FILE) =20 if(POLKITQT-1_VERSION_MATCH) string(REGEX REPLACE "POLKITQT1_VERSION_STRING \"(.*)\"\n" "\\1" POL= KITQT-1_VERSION ${POLKITQT-1_VERSION_MATCH}) - if(POLKITQT-1_VERSION STRLESS "${POLKITQT-1_MIN_VERSION}") + if(POLKITQT-1_VERSION VERSION_LESS "${POLKITQT-1_MIN_VERSION}") set(POLKITQT-1_VERSION_OK FALSE) if(PolkitQt-1_FIND_REQUIRED) message(FATAL_ERROR "PolkitQt-1 version ${POLKITQT-1_VERSION} wa= s found, but it is too old. Please install ${POLKITQT-1_MIN_VERSION} or n= ewer.") else(PolkitQt-1_FIND_REQUIRED) message(STATUS "PolkitQt-1 version ${POLKITQT-1_VERSION} is too = old. Please install ${POLKITQT-1_MIN_VERSION} or newer.") endif(PolkitQt-1_FIND_REQUIRED) - endif(POLKITQT-1_VERSION STRLESS "${POLKITQT-1_MIN_VERSION}") + else(POLKITQT-1_VERSION VERSION_LESS "${POLKITQT-1_MIN_VERSION}") + message(STATUS "Found PolkitQt-1: version ${POLKITQT-1_VERSION}") + endif(POLKITQT-1_VERSION VERSION_LESS "${POLKITQT-1_MIN_VERSION}") endif(POLKITQT-1_VERSION_MATCH) elseif(POLKITQT-1_INCLUDE_DIR) # The version is so old that it does not even have the file