File: enable-native-access.patch

package info (click to toggle)
smiles-scripts 0.4.0%2Bdfsg-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 4,308 kB
  • sloc: perl: 2,333; java: 1,231; sh: 1,154; makefile: 253
file content (16 lines) | stat: -rw-r--r-- 564 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
Description: add --enable-native-access to disable java warning
 Java 25 adds native access warnings. Suppress command line
 warnings.
Author: Vladimir Petko <vladimir.petko@canonical.com>
Bug-Debian: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1128174
Forwarded: no
Last-Update: 2026-02-17

--- a/bin/cdkcif2smiles
+++ b/bin/cdkcif2smiles
@@ -22,4 +22,4 @@
 ${JARPATH:+:${JARPATH}}\
 ${CLASSPATH:+:${CLASSPATH}}
 
-exec java -ea -cp ${CLASSPATH} ${BASENAME} ${1+"$@"}
+exec java --enable-native-access=ALL-UNNAMED -ea -cp ${CLASSPATH} ${BASENAME} ${1+"$@"}