* [gentoo-commits] gentoo-x86 commit in kde-misc/polkit-kde-kcmodules/files: polkit-kde-kcmodules-version-check.patch
@ 2011-12-16 14:46 Johannes Huber (johu)
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Huber (johu) @ 2011-12-16 14:46 UTC (permalink / raw
To: gentoo-commits
johu 11/12/16 14:46:08
Added: polkit-kde-kcmodules-version-check.patch
Log:
Add build fix. Thanks Alphat-PC <AlphatPC@gmail.com> for patch. bug #394921
(Portage version: 2.2.0_alpha81/cvs/Linux x86_64)
Revision Changes Path
1.1 kde-misc/polkit-kde-kcmodules/files/polkit-kde-kcmodules-version-check.patch
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/polkit-kde-kcmodules/files/polkit-kde-kcmodules-version-check.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/kde-misc/polkit-kde-kcmodules/files/polkit-kde-kcmodules-version-check.patch?rev=1.1&content-type=text/plain
Index: polkit-kde-kcmodules-version-check.patch
===================================================================
cmake/modules/FindPolkitQt-1.cmake | 6 ++++--
1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/cmake/modules/FindPolkitQt-1.cmake b/cmake/modules/FindPolkitQt-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)
if(POLKITQT-1_VERSION_MATCH)
string(REGEX REPLACE "POLKITQT1_VERSION_STRING \"(.*)\"\n" "\\1" POLKITQT-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} was found, but it is too old. Please install ${POLKITQT-1_MIN_VERSION} or newer.")
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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [gentoo-commits] gentoo-x86 commit in kde-misc/polkit-kde-kcmodules/files: polkit-kde-kcmodules-version-check.patch
@ 2012-11-16 17:25 Johannes Huber (johu)
0 siblings, 0 replies; 2+ messages in thread
From: Johannes Huber (johu) @ 2012-11-16 17:25 UTC (permalink / raw
To: gentoo-commits
johu 12/11/16 17:25:34
Removed: polkit-kde-kcmodules-version-check.patch
Log:
Remove old.
(Portage version: 2.2.0_alpha142/cvs/Linux x86_64, signed Manifest commit with key F3CFD2BD)
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-11-16 17:25 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-11-16 17:25 [gentoo-commits] gentoo-x86 commit in kde-misc/polkit-kde-kcmodules/files: polkit-kde-kcmodules-version-check.patch Johannes Huber (johu)
-- strict thread matches above, loose matches on Subject: below --
2011-12-16 14:46 Johannes Huber (johu)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox