From 40aaaa64e86ba6710bbeb31c4615a6ce80e75e11 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Wed, 28 Apr 2021 20:21:43 +0100 Subject: gentoo resync : 28.04.2021 --- .../tomcat/files/tomcat-8.5.65-build.xml.patch | 266 +++++++++++++++++++ .../files/tomcat-9.0.40-insufficient-ecj.patch | 24 -- .../tomcat/files/tomcat-9.0.45-build.xml.patch | 284 +++++++++++++++++++++ 3 files changed, 550 insertions(+), 24 deletions(-) create mode 100644 www-servers/tomcat/files/tomcat-8.5.65-build.xml.patch delete mode 100644 www-servers/tomcat/files/tomcat-9.0.40-insufficient-ecj.patch create mode 100644 www-servers/tomcat/files/tomcat-9.0.45-build.xml.patch (limited to 'www-servers/tomcat/files') diff --git a/www-servers/tomcat/files/tomcat-8.5.65-build.xml.patch b/www-servers/tomcat/files/tomcat-8.5.65-build.xml.patch new file mode 100644 index 000000000000..66411238a3d8 --- /dev/null +++ b/www-servers/tomcat/files/tomcat-8.5.65-build.xml.patch @@ -0,0 +1,266 @@ +diff --git a/build.xml b/build.xml +index 19be6ed..c1557cd 100644 +--- a/build.xml ++++ b/build.xml +@@ -772,25 +772,28 @@ + manifest="${tomcat.manifests}/annotations-api.jar.manifest" /> + + ++ + ++ + ++ + + + + +- ++ filesId="files.tomcat-dbcp" /> --> + + + +- ++ + + + +@@ -1161,7 +1164,7 @@ + + + +- ++ + + + +@@ -1204,7 +1207,7 @@ + + + +- ++ + + + + + +- ++ + + + + ++ + + + + + + ++ + + ++ + + + +@@ -2828,7 +2839,7 @@ skip.installer property in build.properties" /> + + + ++ description="Download components necessary to compile" unless="noget" > + + + +@@ -2854,7 +2865,7 @@ skip.installer property in build.properties" /> + + + ++ description="Download additional components for the tests" unless="noget"> + + + +@@ -2932,7 +2943,7 @@ skip.installer property in build.properties" /> + + + ++ description="Download additional components for a distribution" unless="noget"> + + + +@@ -2987,13 +2998,13 @@ skip.installer property in build.properties" /> + + + +- ++ + + + + +- ++ + + + +@@ -3115,7 +3126,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3132,7 +3143,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3157,7 +3168,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3173,7 +3184,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3197,7 +3208,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3212,7 +3223,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3240,7 +3251,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3251,7 +3262,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3262,7 +3273,7 @@ skip.installer property in build.properties" /> + + ++ description="Prepares the source tree to be built in Eclipse" unless="noget"> + + + diff --git a/www-servers/tomcat/files/tomcat-9.0.40-insufficient-ecj.patch b/www-servers/tomcat/files/tomcat-9.0.40-insufficient-ecj.patch deleted file mode 100644 index dd002e2ca216..000000000000 --- a/www-servers/tomcat/files/tomcat-9.0.40-insufficient-ecj.patch +++ /dev/null @@ -1,24 +0,0 @@ -diff --git a/java/org/apache/jasper/compiler/JDTCompiler.java b/java/org/apache/jasper/compiler/JDTCompiler.java -index 4722a4a..27ce287 100644 ---- a/java/org/apache/jasper/compiler/JDTCompiler.java -+++ b/java/org/apache/jasper/compiler/JDTCompiler.java -@@ -307,7 +307,7 @@ public class JDTCompiler extends org.apache.jasper.compiler.Compiler { - } else if(opt.equals("13")) { - settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_13); - } else if(opt.equals("14")) { -- settings.put(CompilerOptions.OPTION_Source, CompilerOptions.VERSION_14); -+ settings.put(CompilerOptions.OPTION_Source, "14"); - } else if(opt.equals("15")) { - // Constant not available in latest ECJ version shipped with - // Tomcat. May be supported in a snapshot build. -@@ -368,8 +368,8 @@ public class JDTCompiler extends org.apache.jasper.compiler.Compiler { - settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_13); - settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_13); - } else if(opt.equals("14")) { -- settings.put(CompilerOptions.OPTION_TargetPlatform, CompilerOptions.VERSION_14); -- settings.put(CompilerOptions.OPTION_Compliance, CompilerOptions.VERSION_14); -+ settings.put(CompilerOptions.OPTION_TargetPlatform, "14"); -+ settings.put(CompilerOptions.OPTION_Compliance, "14"); - } else if(opt.equals("15")) { - // Constant not available in latest ECJ version shipped with - // Tomcat. May be supported in a snapshot build. diff --git a/www-servers/tomcat/files/tomcat-9.0.45-build.xml.patch b/www-servers/tomcat/files/tomcat-9.0.45-build.xml.patch new file mode 100644 index 000000000000..ab5e5e098a08 --- /dev/null +++ b/www-servers/tomcat/files/tomcat-9.0.45-build.xml.patch @@ -0,0 +1,284 @@ +diff --git a/build.xml b/build.xml +index 2958ccd..3983182 100644 +--- a/build.xml ++++ b/build.xml +@@ -1025,6 +1025,7 @@ + addOSGi="true" /> + + ++ + ++ + ++ + + + + +- ++ addOSGi="true" /> --> + + + +- ++ + + + +@@ -1461,7 +1464,7 @@ + + + +- ++ + + + +@@ -1504,7 +1507,7 @@ + + + +- ++ + + + + + +- ++ + + + + ++ + + + ++ + + + Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. +@@ -2243,6 +2249,7 @@ Apache Tomcat ${version} native binaries for Win64 AMD64/EMT64 platform. + + + ++ + + + ++ + + ++ + + + +@@ -3148,7 +3160,7 @@ skip.installer property in build.properties" /> + + ++ depends="setup-bnd" unless="noget"> + + + +@@ -3192,7 +3204,7 @@ skip.installer property in build.properties" /> + + + ++ description="Download additional components for the tests" unless="noget"> + + + +@@ -3270,7 +3282,7 @@ skip.installer property in build.properties" /> + + + ++ description="Download additional components for a distribution" unless="noget"> + + + +@@ -3325,13 +3337,13 @@ skip.installer property in build.properties" /> + + + +- ++ + + + + +- ++ + + + +@@ -3453,7 +3465,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3470,7 +3482,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3495,7 +3507,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3511,7 +3523,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3535,7 +3547,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3550,7 +3562,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3578,7 +3590,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3589,7 +3601,7 @@ skip.installer property in build.properties" /> + + + +- ++ + + + +@@ -3600,7 +3612,7 @@ skip.installer property in build.properties" /> + + ++ description="Prepares the source tree to be built in Eclipse" unless="noget"> + + + +@@ -3618,7 +3630,7 @@ Read the Building page on the Apache Tomcat documentation site for details on ho + + ++ description="Creates project directory .idea for IntelliJ IDEA" unless="noget"> + + + -- cgit v1.2.3