summaryrefslogtreecommitdiff
path: root/dev-java/jna
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-09-29 11:37:12 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-09-29 11:37:12 +0100
commit172f211c978ad5a44d673a147d1db4bb4677d60d (patch)
treecde065724da573c89090c0ed58f2713d25f352e9 /dev-java/jna
parent3766a8b91c5aed719a5fd49a417fd9f5ae810766 (diff)
gentoo auto-resync : 29:09:2023 - 11:37:12
Diffstat (limited to 'dev-java/jna')
-rw-r--r--dev-java/jna/Manifest3
-rw-r--r--dev-java/jna/files/jna-5.13.0-LibCTest.patch12
-rw-r--r--dev-java/jna/jna-5.13.0-r1.ebuild9
3 files changed, 21 insertions, 3 deletions
diff --git a/dev-java/jna/Manifest b/dev-java/jna/Manifest
index 40a70ed41344..51c7b5c2561c 100644
--- a/dev-java/jna/Manifest
+++ b/dev-java/jna/Manifest
@@ -1,6 +1,7 @@
AUX 5.11.0-makefile-flags.patch 1183 BLAKE2B 81c465ed4929586787bfa68016a8fe61cf082a8a5e59f5905b3bfae4900f68246cf3ad9c023ba7390c4bed4e38b109d4664e6a4f9759c8247714a65c72a0b357 SHA512 cb71b1af9af8b34d2ec8253ee7543614474527b0bc69ce9ee70e89a8738d423e45928f477de659bf141aad8b0401067fbbc58b50b580077afca40b32e0aa8db4
AUX jna-5.11.0-no-Werror.patch 723 BLAKE2B a5fabcb532861432f9cd76d429c6ac5c0ce54f8dfd8631da2135e2188d19ead69bcf7756972a1a72802b28c976adc6cdcc4528775c321cc74eb476436c842dc6 SHA512 86e356ddc860252c6d743ac71db031e109cff6270c13f4495d3ab7ecd723a6b7a7ca86b37dd2260b6424842dca1a5e2dd7b4792d17bc8b392e78da28e10b70c7
+AUX jna-5.13.0-LibCTest.patch 456 BLAKE2B 51dc724df52af7dbc8700dd7adae2d9db32c159e1ef2f54333c1defb639088c5feeb0b2f3ec24da1cb296dcd1926bcafc5c06d9b68bae49eb482b85deedf094f SHA512 a1a6f4e36bc487efefb376d9747f770523666d3c0f6e4e23ae2129616da25f6732c9fe9c4d7e5ca1928292e56ef2924a5155dedc2751d86eadcd670a97c05ebc
AUX jna-5.13.0-testpath.patch 5567 BLAKE2B 0c76e603af9ae2a1f3cacde220ec4451d5973f9dab805e20fc5e9bf852928a0489ca742df8277a9c5a47d10064897ea50860d587b21288d605c476d3e7d122ae SHA512 c8c40a6f5ec049641eb3cca2a9b74fd851ebf6264d5a5cc1db10190d645e4bf219f45d5bb68094ce843b32f7079a8ae0ccb1a804f2cc0d066052acf841c96145
DIST jna-5.13.0.tar.gz 116027625 BLAKE2B 1f2bc7ab28adefa0bbad122957ed2c6ef55ab88e79b30c05f0d2d88e0e05152f7bb5e28097906a7e24f78304dfa2b225587adb0ada205ca3c2ceac1cdbab3f04 SHA512 aefd0becc03bb7fd753e8c5cdcbcb20f6d590125a5fb03048bef0024e826ab0254b750e22a8bb26bea38cc89262ad45e5030b666cb2c857b01b15a6a55379a0f
-EBUILD jna-5.13.0-r1.ebuild 5204 BLAKE2B cbe2fa105745977b4e5ce740b1c21f30cd0be6ec373b3361a452eaa573c8d2f8fc0f27873e367e764ff26852d1eaa2da899624764e08f15aa1e35402c49bfcd5 SHA512 7c164c5864bf63ee3fdb3e287ca8ae0f207506391b7a10478ce5c8b0e4c138423d1a6850357b929ed8fe2aaf5583c81ef805b9b28f22092e45555b65a1125bbf
+EBUILD jna-5.13.0-r1.ebuild 5371 BLAKE2B e602540182d854b542666e8cc2dcf396203487542a82a405e7f06699bcad5d7273b3a77d8f4e10cc971a85d9e51f1995e0f50eec76d5d1b17be715d852a9afdc SHA512 9514edf58980dd4c2d237020f50c86d55686e987fed5721f35bc19976a48470a05737587770038b4100e8f0a1a6081902319bbc6b801865bfc1da83c8d24f2e0
MISC metadata.xml 334 BLAKE2B 9e55710ddf27995f7f0ea6480a4b2ff6ed38424e5a8de87614715defa4ae9f788932d270df48e78fdadb27851f06f2651d94c0b043816151aea55c08f083c4ee SHA512 b8b0cc53cc447f2811b3e94638de0799efaf99a05f29a0341d3a261b1f0f996ca308a007221f165031e56e60339d8d616ca366f25eda7f7f5d55acfc60a9d695
diff --git a/dev-java/jna/files/jna-5.13.0-LibCTest.patch b/dev-java/jna/files/jna-5.13.0-LibCTest.patch
new file mode 100644
index 000000000000..8cc9da563ed3
--- /dev/null
+++ b/dev-java/jna/files/jna-5.13.0-LibCTest.patch
@@ -0,0 +1,12 @@
+Bug #906053
+--- a/contrib/platform/test/com/sun/jna/platform/linux/LibCTest.java
++++ b/contrib/platform/test/com/sun/jna/platform/linux/LibCTest.java
+@@ -71,7 +71,7 @@ public class LibCTest extends TestCase {
+ }
+
+ @Test
+- public void testStatvfs() throws IOException, InterruptedException {
++ public void noTestStatvfs() throws IOException, InterruptedException {
+ Statvfs vfs = new Statvfs();
+
+ String testDirectory = "/";
diff --git a/dev-java/jna/jna-5.13.0-r1.ebuild b/dev-java/jna/jna-5.13.0-r1.ebuild
index 4a2c7b7ff1e4..a09e852950df 100644
--- a/dev-java/jna/jna-5.13.0-r1.ebuild
+++ b/dev-java/jna/jna-5.13.0-r1.ebuild
@@ -48,6 +48,7 @@ PATCHES=(
"${FILESDIR}/5.11.0-makefile-flags.patch"
"${FILESDIR}/jna-5.11.0-no-Werror.patch"
"${FILESDIR}/jna-5.13.0-testpath.patch"
+ "${FILESDIR}/jna-5.13.0-LibCTest.patch"
)
src_prepare() {
@@ -149,14 +150,15 @@ src_test() {
# java.lang.UnsatisfiedLinkError: Unable to load library '/libtestlib-jar.so':
# /libtestlib-jar.so: cannot open shared object file: No such file or directory
jar cvf build/jna-test.jar \
- -C build/native libtestlib-jar.so || die
+ -C build/native libtestlib-jar.so \
+ -C test com/sun/jna/data || die
JAVA_GENTOO_CLASSPATH_EXTRA+=":build/jna-test.jar"
JAVA_TEST_EXCLUDES=(
com.sun.jna.CallbacksTest # Needs to run separately
com.sun.jna.DirectTest # Needs to run separately
- com.sun.jna.ELFAnalyserTest # NPE
com.sun.jna.NativeTest # Needs to run separately
+ com.sun.jna.TypeMapperTest # Needs to run separately
com.sun.jna.UnionTest # Needs to run separately
com.sun.jna.VMCrashProtectionTest # Needs to run separately
)
@@ -174,6 +176,9 @@ src_test() {
JAVA_TEST_RUN_ONLY=( com.sun.jna.VMCrashProtectionTest )
java-pkg-simple_src_test
+
+ JAVA_TEST_RUN_ONLY=( com.sun.jna.TypeMapperTest )
+ java-pkg-simple_src_test
}
src_install() {