[Debian-med-packaging] Bug#900196: dcmtk: wrongly assumes that CMAKE_SYSTEM_VERSION to be non-empty

Helmut Grohne helmut at subdivi.de
Sun May 27 14:13:55 BST 2018


Source: dcmtk
Version: 3.6.2-3
Severity: minor
Tags: patch upstream
User: helmutg at debian.org
Usertags: rebootstrap

While trying to make dcmtk cross buildable, I found a little bug in the
build system. It assumes that CMAKE_SYSTEM_VERSION is non-empty. This is
true most of the time, but CMakeDetermineSyste.cmake says:

# CMAKE_SYSTEM_VERSION - on unix this is uname -r, for windows it is empty

It also happens to break cross building as debhelper does not presently
pass this variable.

I think the best way out here would be to quote the variable to avoid
any issues. Please consider applying the attached patch.

Helmut
-------------- next part --------------
A non-text attachment was scrubbed...
Name: cmake_system_version.patch
Type: text/x-diff
Size: 1335 bytes
Desc: not available
URL: <http://alioth-lists.debian.net/pipermail/debian-med-packaging/attachments/20180527/4a415084/attachment.patch>


More information about the Debian-med-packaging mailing list