summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2024-02-26 12:27:40 +0100
committerMiroslav Šulc <fordfrog@gentoo.org>2024-02-26 13:52:27 +0100
commit1c22228aa61ca1ffdf3f5306e886d09e98e54798 (patch)
treed7448c7ceaaa75fcb5cb9b47ffc75b917de51e06 /dev-java
parentmail-filter/rspamd: add 3.8.4 (diff)
downloadgentoo-1c22228aa61ca1ffdf3f5306e886d09e98e54798.tar.gz
gentoo-1c22228aa61ca1ffdf3f5306e886d09e98e54798.tar.bz2
gentoo-1c22228aa61ca1ffdf3f5306e886d09e98e54798.zip
dev-java/eclipse-ecj: remove .RSA and .SF files from META-INF
Closes: https://bugs.gentoo.org/925083 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Closes: https://github.com/gentoo/gentoo/pull/35538 Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java')
-rw-r--r--dev-java/eclipse-ecj/eclipse-ecj-4.26-r2.ebuild (renamed from dev-java/eclipse-ecj/eclipse-ecj-4.26-r1.ebuild)8
1 files changed, 8 insertions, 0 deletions
diff --git a/dev-java/eclipse-ecj/eclipse-ecj-4.26-r1.ebuild b/dev-java/eclipse-ecj/eclipse-ecj-4.26-r2.ebuild
index ed2724a7e5d4..8843146e1f91 100644
--- a/dev-java/eclipse-ecj/eclipse-ecj-4.26-r1.ebuild
+++ b/dev-java/eclipse-ecj/eclipse-ecj-4.26-r2.ebuild
@@ -46,6 +46,14 @@ src_prepare() {
| xargs cp --parent -t "${JAVA_RESOURCE_DIRS}" || die
}
+src_compile() {
+ java-pkg-simple_src_compile
+ #925083
+ # Exception in thread "main" java.lang.SecurityException: Invalid signature file digest for Manifest main attributes
+ zip -d ecj.jar "META-INF/ECLIPSE_.RSA" || die "Failed to remove ECLIPSE_.RSA"
+ zip -d ecj.jar "META-INF/ECLIPSE_.SF" || die "Failed to remove ECLIPSE_.SF"
+}
+
src_install() {
java-pkg-simple_src_install
insinto /usr/share/java-config-2/compiler