commit:     526f01217f86f1371485fd41c504d8770a7d270a
Author:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 13:07:26 2021 +0000
Commit:     Maciej Barć <xgqt <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 13:08:08 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=526f0121

dev-lang/clipsjni: change patches filenames; annotate java patch

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Maciej Barć <xgqt <AT> gentoo.org>

 dev-lang/clipsjni/clipsjni-6.40.ebuild                                | 4 ++--
 ...patch => clipsjni-library-src_makefile.lnx-remove_hardcoded.patch} | 0
 .../files/{makefile.lnx.patch => clipsjni-makefile.lnx-java.patch}    | 3 +++
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/dev-lang/clipsjni/clipsjni-6.40.ebuild 
b/dev-lang/clipsjni/clipsjni-6.40.ebuild
index b05aea0d561e..a6d8f93e099d 100644
--- a/dev-lang/clipsjni/clipsjni-6.40.ebuild
+++ b/dev-lang/clipsjni/clipsjni-6.40.ebuild
@@ -23,8 +23,8 @@ RDEPEND=">=virtual/jre-1.8:*"
 DEPEND=">=virtual/jdk-1.8:*"
 
 PATCHES=(
-       "${FILESDIR}/library-src_makefile.lnx.patch"
-       "${FILESDIR}/makefile.lnx.patch"
+       "${FILESDIR}/${PN}-library-src_makefile.lnx-remove_hardcoded.patch"
+       "${FILESDIR}/${PN}-makefile.lnx-java.patch"
 )
 
 src_prepare() {

diff --git a/dev-lang/clipsjni/files/library-src_makefile.lnx.patch 
b/dev-lang/clipsjni/files/clipsjni-library-src_makefile.lnx-remove_hardcoded.patch
similarity index 100%
rename from dev-lang/clipsjni/files/library-src_makefile.lnx.patch
rename to 
dev-lang/clipsjni/files/clipsjni-library-src_makefile.lnx-remove_hardcoded.patch

diff --git a/dev-lang/clipsjni/files/makefile.lnx.patch 
b/dev-lang/clipsjni/files/clipsjni-makefile.lnx-java.patch
similarity index 94%
rename from dev-lang/clipsjni/files/makefile.lnx.patch
rename to dev-lang/clipsjni/files/clipsjni-makefile.lnx-java.patch
index da236107dfd5..af45fce3e204 100644
--- a/dev-lang/clipsjni/files/makefile.lnx.patch
+++ b/dev-lang/clipsjni/files/clipsjni-makefile.lnx-java.patch
@@ -1,3 +1,6 @@
+New Java versions need "-Xlint:deprecation" option to compile CLIPSJNI.
+General fixes to enable make with multiple jobs.
+
 index 4100e83..c6d2f62 100644
 --- a/makefile.lnx
 +++ b/makefile.lnx

Reply via email to