1
0
mirror of https://github.com/libretro/Lakka-LibreELEC.git synced 2024-11-24 06:46:19 +00:00
Lakka-LibreELEC/packages/multimedia/libbluray/patches/libbluray-03-set-headless-false.patch
Matthias Reichl 05c7d58424 libbluray: update to 1.3.0
Add libudfread dependency and drop ancient nevcariel and mvc patches.

Signed-off-by: Matthias Reichl <hias@horus.com>
2022-02-12 15:49:08 +01:00

24 lines
1.1 KiB
Diff

From 29be28f8062baca2856742a8f7ad2594981cf128 Mon Sep 17 00:00:00 2001
From: Peter Vicman <peter.vicman@gmail.com>
Date: Mon, 27 Sep 2021 19:59:20 +0200
Subject: [PATCH] disable X11 check because it will not run in headless mode
https://github.com/fandangos/libbluray/commit/47726b99922899bb9c4ea688356199f2068d156a
https://github.com/PojavLauncherTeam/PojavLauncher/issues/713#issuecomment-769816262
---
src/libbluray/bdj/bdj.c | 2 ++
1 file changed, 2 insertions(+)
--- a/src/libbluray/bdj/bdj.c
+++ b/src/libbluray/bdj/bdj.c
@@ -903,6 +903,8 @@ static int _create_jvm(void *jvm_lib, co
option[n++].optionString = str_dup ("-Xms256M");
option[n++].optionString = str_dup ("-Xmx256M");
option[n++].optionString = str_dup ("-Xss2048k");
+ option[n++].optionString = str_dup ("-Djava.awt.headless=false");
+ BD_DEBUG(DBG_CRIT | DBG_BDJ, "Disable X11 check\n");
#ifdef HAVE_BDJ_J2ME
option[n++].optionString = str_printf("-Djava.home=%s", java_home);
option[n++].optionString = str_printf("-Xbootclasspath/a:%s/lib/xmlparser.jar", java_home);