[med-svn] [Git][med-team/orthanc-imagej][master] Fixed the build failure with Java 21 (Closes: #1053071)
Emmanuel Bourg (@ebourg)
gitlab at salsa.debian.org
Wed Nov 22 08:45:28 GMT 2023
Emmanuel Bourg pushed to branch master at Debian Med / orthanc-imagej
Commits:
5c1cf7fb by Emmanuel Bourg at 2023-11-22T09:05:03+01:00
Fixed the build failure with Java 21 (Closes: #1053071)
- - - - -
2 changed files:
- debian/changelog
- debian/patches/cmake
Changes:
=====================================
debian/changelog
=====================================
@@ -1,3 +1,10 @@
+orthanc-imagej (1.2+dfsg-4) unstable; urgency=medium
+
+ * Team upload.
+ * Fixed the build failure with Java 21 (Closes: #1053071)
+
+ -- Emmanuel Bourg <ebourg at apache.org> Wed, 22 Nov 2023 09:04:20 +0100
+
orthanc-imagej (1.2+dfsg-3) unstable; urgency=medium
* Compatibility with OpenJDK >= 12. (Closes: #981958)
=====================================
debian/patches/cmake
=====================================
@@ -1,4 +1,4 @@
-Description: Patch to link against Debian's libjson-simple-java package, compatibility with OpenJDK >= 12
+Description: Patch to link against Debian's libjson-simple-java package, compatibility with OpenJDK >= 21
Author: Sebastien Jodogne <s.jodogne at orthanc-labs.com>
---
This patch header follows DEP-3: http://dep.debian.net/deps/dep3/
@@ -12,7 +12,7 @@ Index: OrthancImageJ-1.2/CMakeLists.txt
-set(CMAKE_JAVA_COMPILE_FLAGS "-source" "1.6" "-target" "1.6")
-set(CMAKE_JAVA_INCLUDE_PATH /usr/share/java/ij.jar)
-+set(CMAKE_JAVA_COMPILE_FLAGS "-source" "1.7" "-target" "1.7")
++set(CMAKE_JAVA_COMPILE_FLAGS "-source" "8" "-target" "8")
+set(CMAKE_JAVA_INCLUDE_PATH /usr/share/java/ij.jar:/usr/share/java/json-simple.jar)
# The name of an ImageJ plugin must contain an underscore
View it on GitLab: https://salsa.debian.org/med-team/orthanc-imagej/-/commit/5c1cf7fbc844335f5f93da49796b27327285f8dc
--
View it on GitLab: https://salsa.debian.org/med-team/orthanc-imagej/-/commit/5c1cf7fbc844335f5f93da49796b27327285f8dc
You're receiving this email because of your account on salsa.debian.org.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/debian-med-commit/attachments/20231122/a5b5a095/attachment-0001.htm>
More information about the debian-med-commit
mailing list