From 6478f28fe5de5bae097674fa3e8e3998fc561d26 Mon Sep 17 00:00:00 2001 From: CentOS Sources Date: Tue, 9 May 2023 05:24:20 +0000 Subject: [PATCH] import jna-5.6.0-8.el9 --- SOURCES/0001-Adapt-build.patch | 6 +- SOURCES/0002-Load-system-library.patch | 8 +-- SOURCES/0003-Tests-headless.patch | 10 ++-- SOURCES/0004-Fix-javadoc-build.patch | 10 ++-- .../0005-Fix-duplicate-manifest-entry.patch | 10 ++-- SOURCES/0006-Remove-Werror.patch | 6 +- .../0007-Set-explicit-compiler-release.patch | 59 +++++++++++++++++++ SPECS/jna.spec | 16 ++++- 8 files changed, 98 insertions(+), 27 deletions(-) create mode 100644 SOURCES/0007-Set-explicit-compiler-release.patch diff --git a/SOURCES/0001-Adapt-build.patch b/SOURCES/0001-Adapt-build.patch index 36ad5d1..1eb44d8 100644 --- a/SOURCES/0001-Adapt-build.patch +++ b/SOURCES/0001-Adapt-build.patch @@ -1,7 +1,7 @@ -From 52ef407584801916d6e60c4f4c5411023b5ac369 Mon Sep 17 00:00:00 2001 +From 2560a89cc5537890c3a692263715c93b97d7ea37 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Mon, 16 Jan 2017 11:29:06 +0100 -Subject: [PATCH 1/6] Adapt build +Subject: [PATCH 1/7] Adapt build --- native/Makefile | 3 +-- @@ -29,5 +29,5 @@ index 1bea2dc..cb3afed 100644 $(TESTLIB): $(BUILD)/testlib.o $(LD) $(LDFLAGS) $< $(LIBS) -- -2.20.1 +2.38.1 diff --git a/SOURCES/0002-Load-system-library.patch b/SOURCES/0002-Load-system-library.patch index b8785b0..ed5d21d 100644 --- a/SOURCES/0002-Load-system-library.patch +++ b/SOURCES/0002-Load-system-library.patch @@ -1,14 +1,14 @@ -From 3d08314de0494ff8bdc1a7bccc0ecc1730dbdd60 Mon Sep 17 00:00:00 2001 +From 28f5c64f5443a6d465663a1b737e9fc20b7364d4 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Mon, 16 Jan 2017 11:31:32 +0100 -Subject: [PATCH 2/6] Load system library +Subject: [PATCH 2/7] Load system library --- src/com/sun/jna/Native.java | 80 ++----------------------------------- 1 file changed, 4 insertions(+), 76 deletions(-) diff --git a/src/com/sun/jna/Native.java b/src/com/sun/jna/Native.java -index eae060f..11bcc5b 100644 +index 0cf39fa..603659c 100644 --- a/src/com/sun/jna/Native.java +++ b/src/com/sun/jna/Native.java @@ -912,84 +912,12 @@ public final class Native implements Version { @@ -101,5 +101,5 @@ index eae060f..11bcc5b 100644 static final String JNA_TMPLIB_PREFIX = "jna"; -- -2.20.1 +2.38.1 diff --git a/SOURCES/0003-Tests-headless.patch b/SOURCES/0003-Tests-headless.patch index 9a4645d..a53eaa8 100644 --- a/SOURCES/0003-Tests-headless.patch +++ b/SOURCES/0003-Tests-headless.patch @@ -1,17 +1,17 @@ -From c0f33e9ed0a5cfd79b58487c2a36c9b880b49947 Mon Sep 17 00:00:00 2001 +From 4b05abecb7b8a1edc0a32048ab12aba6ee1d6824 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Mon, 16 Jan 2017 11:32:32 +0100 -Subject: [PATCH 3/6] Tests headless +Subject: [PATCH 3/7] Tests headless --- build.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/build.xml b/build.xml -index d5c2bbc..835c02b 100644 +index 0153731..8dbe173 100644 --- a/build.xml +++ b/build.xml -@@ -1202,6 +1202,7 @@ cd .. +@@ -1250,6 +1250,7 @@ cd .. @@ -20,5 +20,5 @@ index d5c2bbc..835c02b 100644 -- -2.20.1 +2.38.1 diff --git a/SOURCES/0004-Fix-javadoc-build.patch b/SOURCES/0004-Fix-javadoc-build.patch index dc5ab54..c5860ba 100644 --- a/SOURCES/0004-Fix-javadoc-build.patch +++ b/SOURCES/0004-Fix-javadoc-build.patch @@ -1,17 +1,17 @@ -From ced8baacd3bccba7ebaba80785b891bf579af215 Mon Sep 17 00:00:00 2001 +From 042a878f130a855faae8706abc12a4c417607753 Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Tue, 31 Jan 2017 14:21:19 +0100 -Subject: [PATCH 4/6] Fix javadoc build +Subject: [PATCH 4/7] Fix javadoc build --- build.xml | 1 + 1 file changed, 1 insertion(+) diff --git a/build.xml b/build.xml -index 835c02b..cecafd0 100644 +index 8dbe173..741ab6e 100644 --- a/build.xml +++ b/build.xml -@@ -1307,6 +1307,7 @@ cd .. +@@ -1355,6 +1355,7 @@ cd .. @@ -20,5 +20,5 @@ index 835c02b..cecafd0 100644 -- -2.20.1 +2.38.1 diff --git a/SOURCES/0005-Fix-duplicate-manifest-entry.patch b/SOURCES/0005-Fix-duplicate-manifest-entry.patch index 01ea16c..f90fb2f 100644 --- a/SOURCES/0005-Fix-duplicate-manifest-entry.patch +++ b/SOURCES/0005-Fix-duplicate-manifest-entry.patch @@ -1,17 +1,17 @@ -From de939d7c9266f89542cea5ebef5980a95f1244a9 Mon Sep 17 00:00:00 2001 +From c86b3417e9588cdbb43d7034e16a22d4b815ce95 Mon Sep 17 00:00:00 2001 From: Mikolaj Izdebski Date: Mon, 10 Jul 2017 11:48:43 +0200 -Subject: [PATCH 5/6] Fix duplicate manifest entry +Subject: [PATCH 5/7] Fix duplicate manifest entry --- build.xml | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build.xml b/build.xml -index cecafd0..ad5794e 100644 +index 741ab6e..54e569c 100644 --- a/build.xml +++ b/build.xml -@@ -586,9 +586,9 @@ osname=macosx;processor=x86;processor=x86-64;processor=ppc +@@ -611,9 +611,9 @@ osname=macosx;processor=x86;processor=x86-64;processor=ppc includes="LICENSE,LGPL2.1,AL2.0" prefix="META-INF"/> @@ -24,5 +24,5 @@ index cecafd0..ad5794e 100644 -- -2.20.1 +2.38.1 diff --git a/SOURCES/0006-Remove-Werror.patch b/SOURCES/0006-Remove-Werror.patch index 951e600..b2519f2 100644 --- a/SOURCES/0006-Remove-Werror.patch +++ b/SOURCES/0006-Remove-Werror.patch @@ -1,7 +1,7 @@ -From 6e8784db2fa3b3b2efedaae75d15d5d5cf3ed50c Mon Sep 17 00:00:00 2001 +From 2e21a725ac8836f51f8b9a0171d5610eea81559f Mon Sep 17 00:00:00 2001 From: Michael Simacek Date: Thu, 22 Feb 2018 16:17:15 +0100 -Subject: [PATCH 6/6] Remove -Werror +Subject: [PATCH 6/7] Remove -Werror --- native/Makefile | 4 ++-- @@ -26,5 +26,5 @@ index cb3afed..028c201 100644 # Enable 64-bit builds if the arch demands it -- -2.20.1 +2.38.1 diff --git a/SOURCES/0007-Set-explicit-compiler-release.patch b/SOURCES/0007-Set-explicit-compiler-release.patch new file mode 100644 index 0000000..769b725 --- /dev/null +++ b/SOURCES/0007-Set-explicit-compiler-release.patch @@ -0,0 +1,59 @@ +From a925b1196599f48bfbd85e7f37cfc7c1e9583a3f Mon Sep 17 00:00:00 2001 +From: Mikolaj Izdebski +Date: Mon, 23 Jan 2023 14:53:34 +0100 +Subject: [PATCH 7/7] Set explicit compiler release + +--- + build.xml | 8 +++++--- + 1 file changed, 5 insertions(+), 3 deletions(-) + +diff --git a/build.xml b/build.xml +index 54e569c..f724bb0 100644 +--- a/build.xml ++++ b/build.xml +@@ -101,9 +101,7 @@ + JDK 11 is the last JDK, that supports creation of Java 6 compatible class + files. + --> +- +- +- ++ + + + +@@ -394,6 +392,7 @@ + + - 5.6.0-8 +- Set correct compat. value also to ant parameters +- Resolves: rhbz#2162040 + +* Mon Jan 23 2023 Mikolaj Izdebski - 5.6.0-7 +- Fix compatibility with Java 8 +- Resolves: rhbz#2162040 + * Wed Aug 18 2021 Carlos O'Donell - 5.6.0-6 - Rebuilt for libffi 3.4.2 SONAME transition. Related: rhbz#1891914