diff options
author | Volkmar W. Pogatzki <gentoo@pogatzki.net> | 2023-05-21 10:06:54 +0200 |
---|---|---|
committer | Miroslav Šulc <fordfrog@gentoo.org> | 2024-03-17 09:46:16 +0100 |
commit | c70f09ff2482b0914c55241eb553d750c8e910ea (patch) | |
tree | fca92b9c79cd09213eba85edaccad7adf25a0174 /dev-java/bnd/files/bnd-7.0.0-aQute.bnd.main.bnd.patch | |
parent | dev-java/javaparser-core: new package, add 3.13.10 (diff) | |
download | gentoo-c70f09ff2482b0914c55241eb553d750c8e910ea.tar.gz gentoo-c70f09ff2482b0914c55241eb553d750c8e910ea.tar.bz2 gentoo-c70f09ff2482b0914c55241eb553d750c8e910ea.zip |
dev-java/bnd: new package, add 7.0.0
Unlike upstream this package does not bundle bndlib
Closes: https://bugs.gentoo.org/203080
Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net>
Closes: https://github.com/gentoo/gentoo/pull/35320/commits/51c6da26e1a72c39443c3d4c4994b9fb96cf8b91
Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/bnd/files/bnd-7.0.0-aQute.bnd.main.bnd.patch')
-rw-r--r-- | dev-java/bnd/files/bnd-7.0.0-aQute.bnd.main.bnd.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/dev-java/bnd/files/bnd-7.0.0-aQute.bnd.main.bnd.patch b/dev-java/bnd/files/bnd-7.0.0-aQute.bnd.main.bnd.patch new file mode 100644 index 000000000000..6d37cbc9f7d6 --- /dev/null +++ b/dev-java/bnd/files/bnd-7.0.0-aQute.bnd.main.bnd.patch @@ -0,0 +1,21 @@ +Upstream uses an older version of slf4j-simple +--- a/biz.aQute.bnd/src/aQute/bnd/main/bnd.java ++++ b/biz.aQute.bnd/src/aQute/bnd/main/bnd.java +@@ -486,14 +486,14 @@ public class bnd extends Processor { + System.setProperty(DEFAULT_LOG_LEVEL_KEY, "warn"); + level = org.slf4j.spi.LocationAwareLogger.WARN_INT; + } +- Field field = org.slf4j.impl.SimpleLogger.class.getDeclaredField("CONFIG_PARAMS"); ++ Field field = org.slf4j.simple.SimpleLogger.class.getDeclaredField("CONFIG_PARAMS"); + field.setAccessible(true); + Object CONFIG_PARAMS = field.get(null); +- field = org.slf4j.impl.SimpleLoggerConfiguration.class.getDeclaredField("defaultLogLevel"); ++ field = org.slf4j.simple.SimpleLoggerConfiguration.class.getDeclaredField("defaultLogLevel"); + field.setAccessible(true); + field.set(CONFIG_PARAMS, level); + +- field = org.slf4j.impl.SimpleLogger.class.getDeclaredField("currentLogLevel"); ++ field = org.slf4j.simple.SimpleLogger.class.getDeclaredField("currentLogLevel"); + field.setAccessible(true); + field.set(logger, level); + } catch (Exception e) { |