Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 544536

Summary: dev-util/cmake - OpenSSL detection broken with dev-libs/openssl-1.0.1m
Product: Gentoo Linux Reporter: Jaak Ristioja <jaak>
Component: [OLD] DevelopmentAssignee: Gentoo KDE team <kde>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: All   
URL: http://www.cmake.org/gitweb?p=cmake.git;a=commit;h=c5d9a8283cfac15b4a5a07f18d5eb10c1f388505
See Also: https://bugs.gentoo.org/show_bug.cgi?id=545870
Whiteboard: Fixed in upstream since 3.1.3
Package list:
Runtime testing required: ---
Attachments: cmake_FindOpenSSL.patch

Description Jaak Ristioja 2015-03-26 11:38:43 UTC
Created attachment 399798 [details, diff]
cmake_FindOpenSSL.patch

The CMake script /usr/share/cmake/Modules/FindOpenSSL.cmake fails to parse the OpenSSL version number when FIND_PACKAGE(OpenSSL) is used in a cmake project, due to whitespace changes in /usr/include/openssl/opensslv.h.

This probably affects many projects using CMake and FIND_PACKAGE(OpenSSL), including projects built by packages in the portage tree.

I'm attaching a patch to fix /usr/share/cmake/Modules/FindOpenSSL.cmake.