Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 544536 - dev-util/cmake - OpenSSL detection broken with dev-libs/openssl-1.0.1m
Summary: dev-util/cmake - OpenSSL detection broken with dev-libs/openssl-1.0.1m
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Development (show other bugs)
Hardware: All All
: Normal normal (vote)
Assignee: Gentoo KDE team
URL: http://www.cmake.org/gitweb?p=cmake.g...
Whiteboard: Fixed in upstream since 3.1.3
Keywords:
Depends on:
Blocks:
 
Reported: 2015-03-26 11:38 UTC by Jaak Ristioja
Modified: 2015-06-22 13:35 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
cmake_FindOpenSSL.patch (cmake_FindOpenSSL.patch,739 bytes, patch)
2015-03-26 11:38 UTC, Jaak Ristioja
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
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.