Compare commits

...

No commits in common. "c8s" and "a8" have entirely different histories.
c8s ... a8

2 changed files with 37 additions and 1 deletions

View File

@ -0,0 +1,30 @@
From 8f26777b1ce124ff761f80ef52d6be10bcea323e Mon Sep 17 00:00:00 2001
From: Fridrich Strba <fstrba@suse.com>
Date: Mon, 25 Apr 2022 14:28:58 +0300
Subject: [PATCH] Fix build failure after Oracle Java CPU for April 2022
---
src/libbluray/bdj/java/java/io/BDFileSystem.java | 11 +++++++++++
1 file changed, 11 insertions(+)
diff -aruN libbluray-1.0.2/src/libbluray/bdj/java/java/io/BDFileSystem.java libbluray-1.0.2.alma/src/libbluray/bdj/java/java/io/BDFileSystem.java
--- libbluray-1.0.2/src/libbluray/bdj/java/java/io/BDFileSystem.java 2017-12-03 18:25:55.000000000 +0300
+++ libbluray-1.0.2.alma/src/libbluray/bdj/java/java/io/BDFileSystem.java 2022-08-09 16:22:57.000000000 +0300
@@ -167,6 +167,17 @@
return fs.isAbsolute(f);
}
+ public boolean isInvalid(File f) {
+ try {
+ Method m = fs.getClass().getDeclaredMethod("isInvalid", new Class[] { File.class });
+ Object[] args = new Object[] {(Object)f};
+ Boolean result = (Boolean)m.invoke(fs, args);
+ return result.booleanValue();
+ } finally {
+ return false;
+ }
+ }
+
public String resolve(File f) {
if (!f.isAbsolute()) {
logger.info("resolve relative file " + f.getPath());

View File

@ -2,7 +2,7 @@
Name: libbluray
Version: 1.0.2
Release: 3%{?dist}
Release: 3%{?dist}.alma
Summary: Library to access Blu-Ray disks for video playback
License: LGPLv2+
URL: http://www.videolan.org/developers/libbluray.html
@ -10,6 +10,8 @@ URL: http://www.videolan.org/developers/libbluray.html
Source0: ftp://ftp.videolan.org/pub/videolan/%{name}/%{version}/%{name}-%{version}.tar.bz2
Patch0: libbluray-0.8.0-no_doxygen_timestamp.patch
Patch10000: 0025-contrib-libbluray-Fix-build-with-recent-JDK-version.patch
BuildRequires: ant
BuildRequires: autoconf
BuildRequires: automake
@ -58,6 +60,7 @@ developing applications that use %{name}.
%prep
%setup -q
%patch0 -p1 -b .no_timestamp
%patch10000 -p1 -b .fix-build
%build
@ -115,6 +118,9 @@ install -Dp -m755 .libs/bdj_test %{buildroot}%{_bindir}/bdj_test;
%{_libdir}/pkgconfig/%{name}.pc
%changelog
* Tue Aug 09 2022 Eduard Abdullin <eabdullin@almalinux.org> - 1.0.2-3.alma
- Apply patch to fix build error
* Wed Feb 07 2018 Fedora Release Engineering <releng@fedoraproject.org> - 1.0.2-3
- Rebuilt for https://fedoraproject.org/wiki/Fedora_28_Mass_Rebuild