summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolkmar W. Pogatzki <gentoo@pogatzki.net>2023-06-20 11:37:20 +0200
committerMiroslav Šulc <fordfrog@gentoo.org>2023-09-29 07:53:37 +0200
commit476fbf3f679937345c0b4a61410951250bc63e19 (patch)
treeb7a6765f40adf0871d2a1772c7724f53a1cac49c /dev-java/jna
parentdev-ruby/flog: add 4.8.0 (diff)
downloadgentoo-476fbf3f679937345c0b4a61410951250bc63e19.tar.gz
gentoo-476fbf3f679937345c0b4a61410951250bc63e19.tar.bz2
gentoo-476fbf3f679937345c0b4a61410951250bc63e19.zip
dev-java/jna: Ignore testStatvfs from com.sun.jna.platform.linux.LibCTest
Closes: https://bugs.gentoo.org/906053 Signed-off-by: Volkmar W. Pogatzki <gentoo@pogatzki.net> Signed-off-by: Miroslav Šulc <fordfrog@gentoo.org>
Diffstat (limited to 'dev-java/jna')
-rw-r--r--dev-java/jna/files/jna-5.13.0-LibCTest.patch12
-rw-r--r--dev-java/jna/jna-5.13.0-r1.ebuild1
2 files changed, 13 insertions, 0 deletions
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..9f97a53844f7 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() {