[Debian-med-packaging] Bug#821959: gdcm: FTBFS on hurd, but previously did
Mathieu Malaterre
malat at debian.org
Thu Apr 21 12:28:17 UTC 2016
On Thu, Apr 21, 2016 at 2:06 PM, Tobias Frost <tobi at coldtobi.de> wrote:
> Source: gdcm
> Followup-For: Bug #821959
>
> Hi Gert,
>
> I might need your help...
> I applied the following patch, but gdcm still insists that it requires 1.7
> Is there another place which I need to tweak?
>
> --- a/CMakeLists.txt
> +++ b/CMakeLists.txt
> @@ -524,8 +524,8 @@
> option(GDCM_USE_JPEGLS "Build GDCM with JPEG-LS support" ON)
> mark_as_advanced(GDCM_USE_JPEGLS)
> if(GDCM_WRAP_JAVA)
> - set(GDCM_JAVA_SOURCE_VERSION "1.7" CACHE STRING "javac source version")
> - set(GDCM_JAVA_TARGET_VERSION "1.7" CACHE STRING "javac target version")
> + set(GDCM_JAVA_SOURCE_VERSION "1.5" CACHE STRING "javac source version")
> + set(GDCM_JAVA_TARGET_VERSION "1.5" CACHE STRING "javac target version")
> mark_as_advanced(GDCM_JAVA_SOURCE_VERSION GDCM_JAVA_TARGET_VERSION)
> endif()
> if(GDCM_WRAP_CSHARP)
$ find . -name CMakeLists.txt -print -exec grep 1.7 {} \;
[...]
./Wrapping/Java/CMakeLists.txt
find_package(Java 1.7 REQUIRED) # javac, jar
Sorry about that.
More information about the Debian-med-packaging
mailing list